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