ORY12703 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*127) ;SEP 17,2002 at 13:48
;;3.0;ORDER ENTRY/RESULTS REPORTING;**127**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^ORY127ES
;
;
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("OCXRULE",$J,$O(^TMP("OCXRULE",$J,"A"),-1)+1)=TEXT
;
G ^ORY12704
;
Q
;
DATA ;
;
;;D^DRUG CLASS
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^DUP OPIOIDS
;;R^"863.4:",.01,"E"
;;D^DUP OPIOIDS
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^DUP OPIOIDS TEXT
;;R^"863.4:",.01,"E"
;;D^DUP OPIOIDS TEXT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^FILLER
;;R^"863.4:",.01,"E"
;;D^FILLER
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^HL7 FILLER
;;R^"863.4:",.01,"E"
;;D^HL7 FILLER
;;R^"863.4:",.02,"E"
;;D^HL7FILLR
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^IEN
;;R^"863.4:",.01,"E"
;;D^IEN
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^NATIONAL ID
;;R^"863.4:",.01,"E"
;;D^NATIONAL ID
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^ORDER MODE
;;R^"863.4:",.01,"E"
;;D^ORDER MODE
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^ORDER PATIENT
;;R^"863.4:",.01,"E"
;;D^ORDER PATIENT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;EOF^OCXS(863.4)^1
;;SOF^863.2 OCX MDD SUBJECT
;;KEY^863.2:^PATIENT
;;R^"863.2:",.01,"E"
;;D^PATIENT
;;R^"863.2:","863.21:1",.01,"E"
;;D^FILE
;;R^"863.2:","863.21:1",1,"E"
;;D^2
;;EOR^
;;EOF^OCXS(863.2)^1
;;SOF^863.3 OCX MDD LINK
;;KEY^863.3:^PATIENT.DRUG_CLASS
;;R^"863.3:",.01,"E"
;;D^PATIENT.DRUG_CLASS
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^DRUG CLASS
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;R^"863.3:","863.32:1",1,"E"
;;D^ENVAC^PSJORUT2(|OI NATIONAL ID|)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^2
;;EOR^
;;KEY^863.3:^PATIENT.DUP OPIOID MEDS
;;R^"863.3:",.01,"E"
;;D^PATIENT.DUP OPIOID MEDS
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^DUP OPIOIDS
;;R^"863.3:",.06,"E"
;;D^3455
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;R^"863.3:","863.32:1",1,"E"
;;D^OPIOID(|PATIENT IEN|)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^1
;;EOR^
;;KEY^863.3:^PATIENT.DUP OPIOID MEDS TEXT
;;R^"863.3:",.01,"E"
;;D^PATIENT.DUP OPIOID MEDS TEXT
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^DUP OPIOIDS TEXT
;;R^"863.3:",.06,"E"
;;D^5679
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;R^"863.3:","863.32:1",1,"E"
;;D^OPIOID(|PATIENT IEN|)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^2
;;EOR^
;;KEY^863.3:^PATIENT.HL7_FILLER
;;R^"863.3:",.01,"E"
;;D^PATIENT.HL7_FILLER
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^HL7
;;R^"863.3:",.05,"E"
;;D^HL7 FILLER
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^2
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:3",1,"E"
;;D^OCXODATA("ORC",3)
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;R^"863.3:","863.32:5",1,"E"
;;D^HL7
;;R^"863.3:","863.32:6",.01,"E"
;;D^OCXO FILE POINTER
;;EOR^
;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
;;R^"863.3:",.01,"E"
;;D^PATIENT.HL7_PATIENT_ID
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^HL7
;;R^"863.3:",.05,"E"
;;D^IEN
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:3",1,"E"
;;D^OCXODATA("PID",3)
;;EOR^
;;KEY^863.3:^PATIENT.IEN
;;R^"863.3:",.01,"E"
;;D^PATIENT.IEN
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^IEN
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^DFN
;;EOR^
;;KEY^863.3:^PATIENT.OERR_ORDER_PATIENT
;;R^"863.3:",.01,"E"
;;D^PATIENT.OERR_ORDER_PATIENT
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^ORDER PATIENT
;;R^"863.3:",.06,"E"
;;D^5567
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXORD
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^1
;;EOR^
;;KEY^863.3:^PATIENT.OPS_FILLER
;;R^"863.3:",.01,"E"
;;D^PATIENT.OPS_FILLER
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^OPS
;;R^"863.3:",.05,"E"
;;D^FILLER
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXPSD
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^1
;;EOR^
;;KEY^863.3:^PATIENT.OPS_NAT_ID
;;R^"863.3:",.01,"E"
;;D^PATIENT.OPS_NAT_ID
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^OPS
;;R^"863.3:",.05,"E"
;;D^NATIONAL ID
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXPSD
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^2
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^1
;;EOR^
;;KEY^863.3:^PATIENT.OPS_ORD_MODE
;;R^"863.3:",.01,"E"
;;D^PATIENT.OPS_ORD_MODE
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^OPS
;;R^"863.3:",.05,"E"
;;D^ORDER MODE
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXPSM
;;EOR^
;;EOF^OCXS(863.3)^1
;;SOF^860.9 ORDER CHECK NATIONAL TERM
;;KEY^860.9:^ANGIOGRAM (PERIPHERAL)
;;R^"860.9:",.01,"E"
;;D^ANGIOGRAM (PERIPHERAL)
;;R^"860.9:",.02,"E"
;;D^101.43
;;EOR^
;;KEY^860.9:^BLOOD SPECIMEN
;;R^"860.9:",.01,"E"
;;D^BLOOD SPECIMEN
;;R^"860.9:",.02,"E"
;;D^61
;;EOR^
;;KEY^860.9:^DANGEROUS MEDS FOR PTS > 64
;;R^"860.9:",.01,"E"
;;D^DANGEROUS MEDS FOR PTS > 64
;;R^"860.9:",.02,"E"
;;D^101.43
;;R^"860.9:",2,"E"
;;D^I $P($G(^ORD(100.98,$P($G(^ORD(101.43,+Y,0)),U,5),0)),U)="PHARMACY"
;;EOR^
;;KEY^860.9:^DNR
;;R^"860.9:",.01,"E"
;;D^DNR
;;R^"860.9:",.02,"E"
;;D^101.43
;;EOR^
;;KEY^860.9:^FOOD-DRUG INTERACTION MED
;;R^"860.9:",.01,"E"
;;D^FOOD-DRUG INTERACTION MED
;;R^"860.9:",.02,"E"
;;D^101.43
;;R^"860.9:",2,"E"
;;D^I $P($G(^ORD(100.98,$P($G(^ORD(101.43,+Y,0)),U,5),0)),U)="PHARMACY"
;;EOR^
;;KEY^860.9:^NPO
;;R^"860.9:",.01,"E"
;;D^NPO
;;R^"860.9:",.02,"E"
;;D^101.43
;;EOR^
;;KEY^860.9:^ONE TIME MED
;;R^"860.9:",.01,"E"
;;D^ONE TIME MED
;;R^"860.9:",.02,"E"
;;D^51.1
;;R^"860.9:",2,"E"
;;D^I $E($P(^(0),U,4),1,2)="PS"
;;EOR^
;;KEY^860.9:^PARTIAL THROMBOPLASTIN TIME
;;R^"860.9:",.01,"E"
;;D^PARTIAL THROMBOPLASTIN TIME
;;R^"860.9:",.02,"E"
;;D^101.43
;1;
;
ORY12703 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*127) ;SEP 17,2002 at 13:48
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**127**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^ORY127ES
+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("OCXRULE",$JOB,$ORDER(^TMP("OCXRULE",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
IF QUIT
QUIT
+8 ;
+9 GOTO ^ORY12704
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^DRUG CLASS
+3 ;;R^"863.4:","863.41:1",.01,"E"
+4 ;;D^DATA TYPE
+5 ;;R^"863.4:","863.41:1",1,"E"
+6 ;;D^FREE TEXT
+7 ;;EOR^
+8 ;;KEY^863.4:^DUP OPIOIDS
+9 ;;R^"863.4:",.01,"E"
+10 ;;D^DUP OPIOIDS
+11 ;;R^"863.4:","863.41:1",.01,"E"
+12 ;;D^DATA TYPE
+13 ;;R^"863.4:","863.41:1",1,"E"
+14 ;;D^BOOLEAN
+15 ;;EOR^
+16 ;;KEY^863.4:^DUP OPIOIDS TEXT
+17 ;;R^"863.4:",.01,"E"
+18 ;;D^DUP OPIOIDS TEXT
+19 ;;R^"863.4:","863.41:1",.01,"E"
+20 ;;D^DATA TYPE
+21 ;;R^"863.4:","863.41:1",1,"E"
+22 ;;D^FREE TEXT
+23 ;;EOR^
+24 ;;KEY^863.4:^FILLER
+25 ;;R^"863.4:",.01,"E"
+26 ;;D^FILLER
+27 ;;R^"863.4:","863.41:1",.01,"E"
+28 ;;D^DATA TYPE
+29 ;;R^"863.4:","863.41:1",1,"E"
+30 ;;D^FREE TEXT
+31 ;;EOR^
+32 ;;KEY^863.4:^HL7 FILLER
+33 ;;R^"863.4:",.01,"E"
+34 ;;D^HL7 FILLER
+35 ;;R^"863.4:",.02,"E"
+36 ;;D^HL7FILLR
+37 ;;R^"863.4:","863.41:1",.01,"E"
+38 ;;D^DATA TYPE
+39 ;;R^"863.4:","863.41:1",1,"E"
+40 ;;D^FREE TEXT
+41 ;;EOR^
+42 ;;KEY^863.4:^IEN
+43 ;;R^"863.4:",.01,"E"
+44 ;;D^IEN
+45 ;;R^"863.4:","863.41:1",.01,"E"
+46 ;;D^DATA TYPE
+47 ;;R^"863.4:","863.41:1",1,"E"
+48 ;;D^NUMERIC
+49 ;;EOR^
+50 ;;KEY^863.4:^NATIONAL ID
+51 ;;R^"863.4:",.01,"E"
+52 ;;D^NATIONAL ID
+53 ;;R^"863.4:","863.41:1",.01,"E"
+54 ;;D^DATA TYPE
+55 ;;R^"863.4:","863.41:1",1,"E"
+56 ;;D^FREE TEXT
+57 ;;EOR^
+58 ;;KEY^863.4:^ORDER MODE
+59 ;;R^"863.4:",.01,"E"
+60 ;;D^ORDER MODE
+61 ;;R^"863.4:","863.41:1",.01,"E"
+62 ;;D^DATA TYPE
+63 ;;R^"863.4:","863.41:1",1,"E"
+64 ;;D^FREE TEXT
+65 ;;EOR^
+66 ;;KEY^863.4:^ORDER PATIENT
+67 ;;R^"863.4:",.01,"E"
+68 ;;D^ORDER PATIENT
+69 ;;R^"863.4:","863.41:1",.01,"E"
+70 ;;D^DATA TYPE
+71 ;;R^"863.4:","863.41:1",1,"E"
+72 ;;D^NUMERIC
+73 ;;EOR^
+74 ;;EOF^OCXS(863.4)^1
+75 ;;SOF^863.2 OCX MDD SUBJECT
+76 ;;KEY^863.2:^PATIENT
+77 ;;R^"863.2:",.01,"E"
+78 ;;D^PATIENT
+79 ;;R^"863.2:","863.21:1",.01,"E"
+80 ;;D^FILE
+81 ;;R^"863.2:","863.21:1",1,"E"
+82 ;;D^2
+83 ;;EOR^
+84 ;;EOF^OCXS(863.2)^1
+85 ;;SOF^863.3 OCX MDD LINK
+86 ;;KEY^863.3:^PATIENT.DRUG_CLASS
+87 ;;R^"863.3:",.01,"E"
+88 ;;D^PATIENT.DRUG_CLASS
+89 ;;R^"863.3:",.02,"E"
+90 ;;D^PATIENT
+91 ;;R^"863.3:",.05,"E"
+92 ;;D^DRUG CLASS
+93 ;;R^"863.3:",.06,"E"
+94 ;;D^99
+95 ;;R^"863.3:","863.32:1",.01,"E"
+96 ;;D^OCXO EXTERNAL FUNCTION CALL
+97 ;;R^"863.3:","863.32:1",1,"E"
+98 ;;D^ENVAC^PSJORUT2(|OI NATIONAL ID|)
+99 ;;R^"863.3:","863.32:2",.01,"E"
+100 ;;D^OCXO UP-ARROW PIECE NUMBER
+101 ;;R^"863.3:","863.32:2",1,"E"
+102 ;;D^2
+103 ;;EOR^
+104 ;;KEY^863.3:^PATIENT.DUP OPIOID MEDS
+105 ;;R^"863.3:",.01,"E"
+106 ;;D^PATIENT.DUP OPIOID MEDS
+107 ;;R^"863.3:",.02,"E"
+108 ;;D^PATIENT
+109 ;;R^"863.3:",.05,"E"
+110 ;;D^DUP OPIOIDS
+111 ;;R^"863.3:",.06,"E"
+112 ;;D^3455
+113 ;;R^"863.3:","863.32:1",.01,"E"
+114 ;;D^OCXO EXTERNAL FUNCTION CALL
+115 ;;R^"863.3:","863.32:1",1,"E"
+116 ;;D^OPIOID(|PATIENT IEN|)
+117 ;;R^"863.3:","863.32:2",.01,"E"
+118 ;;D^OCXO UP-ARROW PIECE NUMBER
+119 ;;R^"863.3:","863.32:2",1,"E"
+120 ;;D^1
+121 ;;EOR^
+122 ;;KEY^863.3:^PATIENT.DUP OPIOID MEDS TEXT
+123 ;;R^"863.3:",.01,"E"
+124 ;;D^PATIENT.DUP OPIOID MEDS TEXT
+125 ;;R^"863.3:",.02,"E"
+126 ;;D^PATIENT
+127 ;;R^"863.3:",.05,"E"
+128 ;;D^DUP OPIOIDS TEXT
+129 ;;R^"863.3:",.06,"E"
+130 ;;D^5679
+131 ;;R^"863.3:","863.32:1",.01,"E"
+132 ;;D^OCXO EXTERNAL FUNCTION CALL
+133 ;;R^"863.3:","863.32:1",1,"E"
+134 ;;D^OPIOID(|PATIENT IEN|)
+135 ;;R^"863.3:","863.32:2",.01,"E"
+136 ;;D^OCXO UP-ARROW PIECE NUMBER
+137 ;;R^"863.3:","863.32:2",1,"E"
+138 ;;D^2
+139 ;;EOR^
+140 ;;KEY^863.3:^PATIENT.HL7_FILLER
+141 ;;R^"863.3:",.01,"E"
+142 ;;D^PATIENT.HL7_FILLER
+143 ;;R^"863.3:",.02,"E"
+144 ;;D^PATIENT
+145 ;;R^"863.3:",.04,"E"
+146 ;;D^HL7
+147 ;;R^"863.3:",.05,"E"
+148 ;;D^HL7 FILLER
+149 ;;R^"863.3:","863.32:1",.01,"E"
+150 ;;D^OCXO VT-BAR PIECE NUMBER
+151 ;;R^"863.3:","863.32:2",.01,"E"
+152 ;;D^OCXO UP-ARROW PIECE NUMBER
+153 ;;R^"863.3:","863.32:2",1,"E"
+154 ;;D^2
+155 ;;R^"863.3:","863.32:3",.01,"E"
+156 ;;D^OCXO VARIABLE NAME
+157 ;;R^"863.3:","863.32:3",1,"E"
+158 ;;D^OCXODATA("ORC",3)
+159 ;;R^"863.3:","863.32:4",.01,"E"
+160 ;;D^OCXO HL7 SEGMENT ID
+161 ;;R^"863.3:","863.32:5",.01,"E"
+162 ;;D^OCXO DATA DRIVE SOURCE
+163 ;;R^"863.3:","863.32:5",1,"E"
+164 ;;D^HL7
+165 ;;R^"863.3:","863.32:6",.01,"E"
+166 ;;D^OCXO FILE POINTER
+167 ;;EOR^
+168 ;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
+169 ;;R^"863.3:",.01,"E"
+170 ;;D^PATIENT.HL7_PATIENT_ID
+171 ;;R^"863.3:",.02,"E"
+172 ;;D^PATIENT
+173 ;;R^"863.3:",.04,"E"
+174 ;;D^HL7
+175 ;;R^"863.3:",.05,"E"
+176 ;;D^IEN
+177 ;;R^"863.3:",.06,"E"
+178 ;;D^99
+179 ;;R^"863.3:","863.32:1",.01,"E"
+180 ;;D^OCXO HL7 SEGMENT ID
+181 ;;R^"863.3:","863.32:2",.01,"E"
+182 ;;D^OCXO VT-BAR PIECE NUMBER
+183 ;;R^"863.3:","863.32:3",.01,"E"
+184 ;;D^OCXO VARIABLE NAME
+185 ;;R^"863.3:","863.32:3",1,"E"
+186 ;;D^OCXODATA("PID",3)
+187 ;;EOR^
+188 ;;KEY^863.3:^PATIENT.IEN
+189 ;;R^"863.3:",.01,"E"
+190 ;;D^PATIENT.IEN
+191 ;;R^"863.3:",.02,"E"
+192 ;;D^PATIENT
+193 ;;R^"863.3:",.05,"E"
+194 ;;D^IEN
+195 ;;R^"863.3:",.06,"E"
+196 ;;D^99
+197 ;;R^"863.3:","863.32:1",.01,"E"
+198 ;;D^OCXO VARIABLE NAME
+199 ;;R^"863.3:","863.32:1",1,"E"
+200 ;;D^DFN
+201 ;;EOR^
+202 ;;KEY^863.3:^PATIENT.OERR_ORDER_PATIENT
+203 ;;R^"863.3:",.01,"E"
+204 ;;D^PATIENT.OERR_ORDER_PATIENT
+205 ;;R^"863.3:",.02,"E"
+206 ;;D^PATIENT
+207 ;;R^"863.3:",.05,"E"
+208 ;;D^ORDER PATIENT
+209 ;;R^"863.3:",.06,"E"
+210 ;;D^5567
+211 ;;R^"863.3:","863.32:1",.01,"E"
+212 ;;D^OCXO VARIABLE NAME
+213 ;;R^"863.3:","863.32:1",1,"E"
+214 ;;D^OCXORD
+215 ;;R^"863.3:","863.32:2",.01,"E"
+216 ;;D^OCXO UP-ARROW PIECE NUMBER
+217 ;;R^"863.3:","863.32:2",1,"E"
+218 ;;D^1
+219 ;;EOR^
+220 ;;KEY^863.3:^PATIENT.OPS_FILLER
+221 ;;R^"863.3:",.01,"E"
+222 ;;D^PATIENT.OPS_FILLER
+223 ;;R^"863.3:",.02,"E"
+224 ;;D^PATIENT
+225 ;;R^"863.3:",.04,"E"
+226 ;;D^OPS
+227 ;;R^"863.3:",.05,"E"
+228 ;;D^FILLER
+229 ;;R^"863.3:",.06,"E"
+230 ;;D^99
+231 ;;R^"863.3:","863.32:1",.01,"E"
+232 ;;D^OCXO VARIABLE NAME
+233 ;;R^"863.3:","863.32:1",1,"E"
+234 ;;D^OCXPSD
+235 ;;R^"863.3:","863.32:2",.01,"E"
+236 ;;D^OCXO VT-BAR PIECE NUMBER
+237 ;;R^"863.3:","863.32:2",1,"E"
+238 ;;D^1
+239 ;;EOR^
+240 ;;KEY^863.3:^PATIENT.OPS_NAT_ID
+241 ;;R^"863.3:",.01,"E"
+242 ;;D^PATIENT.OPS_NAT_ID
+243 ;;R^"863.3:",.02,"E"
+244 ;;D^PATIENT
+245 ;;R^"863.3:",.04,"E"
+246 ;;D^OPS
+247 ;;R^"863.3:",.05,"E"
+248 ;;D^NATIONAL ID
+249 ;;R^"863.3:",.06,"E"
+250 ;;D^99
+251 ;;R^"863.3:","863.32:1",.01,"E"
+252 ;;D^OCXO VARIABLE NAME
+253 ;;R^"863.3:","863.32:1",1,"E"
+254 ;;D^OCXPSD
+255 ;;R^"863.3:","863.32:2",.01,"E"
+256 ;;D^OCXO VT-BAR PIECE NUMBER
+257 ;;R^"863.3:","863.32:2",1,"E"
+258 ;;D^2
+259 ;;R^"863.3:","863.32:3",.01,"E"
+260 ;;D^OCXO UP-ARROW PIECE NUMBER
+261 ;;R^"863.3:","863.32:3",1,"E"
+262 ;;D^1
+263 ;;EOR^
+264 ;;KEY^863.3:^PATIENT.OPS_ORD_MODE
+265 ;;R^"863.3:",.01,"E"
+266 ;;D^PATIENT.OPS_ORD_MODE
+267 ;;R^"863.3:",.02,"E"
+268 ;;D^PATIENT
+269 ;;R^"863.3:",.04,"E"
+270 ;;D^OPS
+271 ;;R^"863.3:",.05,"E"
+272 ;;D^ORDER MODE
+273 ;;R^"863.3:",.06,"E"
+274 ;;D^99
+275 ;;R^"863.3:","863.32:1",.01,"E"
+276 ;;D^OCXO VARIABLE NAME
+277 ;;R^"863.3:","863.32:1",1,"E"
+278 ;;D^OCXPSM
+279 ;;EOR^
+280 ;;EOF^OCXS(863.3)^1
+281 ;;SOF^860.9 ORDER CHECK NATIONAL TERM
+282 ;;KEY^860.9:^ANGIOGRAM (PERIPHERAL)
+283 ;;R^"860.9:",.01,"E"
+284 ;;D^ANGIOGRAM (PERIPHERAL)
+285 ;;R^"860.9:",.02,"E"
+286 ;;D^101.43
+287 ;;EOR^
+288 ;;KEY^860.9:^BLOOD SPECIMEN
+289 ;;R^"860.9:",.01,"E"
+290 ;;D^BLOOD SPECIMEN
+291 ;;R^"860.9:",.02,"E"
+292 ;;D^61
+293 ;;EOR^
+294 ;;KEY^860.9:^DANGEROUS MEDS FOR PTS > 64
+295 ;;R^"860.9:",.01,"E"
+296 ;;D^DANGEROUS MEDS FOR PTS > 64
+297 ;;R^"860.9:",.02,"E"
+298 ;;D^101.43
+299 ;;R^"860.9:",2,"E"
+300 ;;D^I $P($G(^ORD(100.98,$P($G(^ORD(101.43,+Y,0)),U,5),0)),U)="PHARMACY"
+301 ;;EOR^
+302 ;;KEY^860.9:^DNR
+303 ;;R^"860.9:",.01,"E"
+304 ;;D^DNR
+305 ;;R^"860.9:",.02,"E"
+306 ;;D^101.43
+307 ;;EOR^
+308 ;;KEY^860.9:^FOOD-DRUG INTERACTION MED
+309 ;;R^"860.9:",.01,"E"
+310 ;;D^FOOD-DRUG INTERACTION MED
+311 ;;R^"860.9:",.02,"E"
+312 ;;D^101.43
+313 ;;R^"860.9:",2,"E"
+314 ;;D^I $P($G(^ORD(100.98,$P($G(^ORD(101.43,+Y,0)),U,5),0)),U)="PHARMACY"
+315 ;;EOR^
+316 ;;KEY^860.9:^NPO
+317 ;;R^"860.9:",.01,"E"
+318 ;;D^NPO
+319 ;;R^"860.9:",.02,"E"
+320 ;;D^101.43
+321 ;;EOR^
+322 ;;KEY^860.9:^ONE TIME MED
+323 ;;R^"860.9:",.01,"E"
+324 ;;D^ONE TIME MED
+325 ;;R^"860.9:",.02,"E"
+326 ;;D^51.1
+327 ;;R^"860.9:",2,"E"
+328 ;;D^I $E($P(^(0),U,4),1,2)="PS"
+329 ;;EOR^
+330 ;;KEY^860.9:^PARTIAL THROMBOPLASTIN TIME
+331 ;;R^"860.9:",.01,"E"
+332 ;;D^PARTIAL THROMBOPLASTIN TIME
+333 ;;R^"860.9:",.02,"E"
+334 ;;D^101.43
+335 ;1;
+336 ;