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