ORY14402 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*144) ;JUN 12,2002 at 12:20
;;3.0;ORDER ENTRY/RESULTS REPORTING;**144**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^ORY144ES
;
;
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 ^ORY14403
;
Q
;
DATA ;
;
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^YES NO
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^Answer 'YES' if you want the user to repetitively enter a value.
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Is the query repetitive
;;EOR^
;;KEY^863.8:^TERMINATOR
;;R^"863.8:",.01,"E"
;;D^TERMINATOR
;;R^"863.8:",.02,"E"
;;D^TERMINATOR
;;R^"863.8:",1,1
;;D^A text string terminator; e.g., '?', ': ', '=>'
;;R^"863.8:",2,"E"
;;D^:
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter text string terminator
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:6",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:6",1,"E"
;;D^9
;;EOR^
;;KEY^863.8:^VALUE CALL
;;R^"863.8:",.01,"E"
;;D^VALUE CALL
;;R^"863.8:",.02,"E"
;;D^VAL CALL
;;R^"863.8:",.03,"E"
;;D^NO
;;R^"863.8:",1,1
;;D^tag^routine which manages the dialogue for collecting and validating a value
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter tag^routine
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^LINE TAG
;;EOR^
;;EOF^OCXS(863.8)^1
;;SOF^864.1 OCX MDD DATATYPE
;;KEY^864.1:^FREE TEXT
;;R^"864.1:",.01,"E"
;;D^FREE TEXT
;;R^"864.1:",.02,"E"
;;D^FT
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^FT^OCXFDFT
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Enter a free text string
;;R^"864.1:","864.11:3",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"864.1:","864.11:3",1,"E"
;;D^240
;;R^"864.1:","864.11:4",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:4",1,"E"
;;D^Enter a free text string. Do not use control characters. |FTMM HELP|
;;R^"864.1:","864.11:5",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:5",1,"E"
;;D^Enter another free text string
;;R^"864.1:","864.11:6",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:6",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^GENERIC
;;R^"864.1:",.01,"E"
;;D^GENERIC
;;R^"864.1:",.02,"E"
;;D^GENERIC
;;R^"864.1:","864.11:11",.01,"E"
;;D^MANDATORY MESSAGE
;;R^"864.1:","864.11:11",1,"E"
;;D^This answer is mandatory. Enter a response or press '^' to exit.
;;R^"864.1:","864.11:12",.01,"E"
;;D^TERMINATOR
;;R^"864.1:","864.11:12",1,"E"
;;D^:
;;R^"864.1:","864.11:13",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:13",1,"E"
;;D^Enter another value
;;R^"864.1:","864.11:7",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:7",1,"E"
;;D^GEN^OCXFDMOM
;;R^"864.1:","864.11:8",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:8",1,"E"
;;D^Enter a value
;;R^"864.1:","864.11:9",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:9",1,"E"
;;D^
;;EOR^
;;KEY^864.1:^NUMERIC
;;R^"864.1:",.01,"E"
;;D^NUMERIC
;;R^"864.1:",.02,"E"
;;D^NUMERIC
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^NU^OCXFDNU
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Enter a number
;;R^"864.1:","864.11:3",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:3",1,"E"
;;D^Enter another number
;;R^"864.1:","864.11:4",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:4",1,"E"
;;D^0
;;EOR^
;;EOF^OCXS(864.1)^1
;;SOF^863.4 OCX MDD ATTRIBUTE
;;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:^LAB SPECIMEN
;;R^"863.4:",.01,"E"
;;D^LAB SPECIMEN
;;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:^LAB SPECIMEN ID
;;R^"863.4:",.01,"E"
;;D^LAB SPECIMEN ID
;;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 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.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.LAB_SPECIMEN
;;R^"863.3:",.01,"E"
;;D^PATIENT.LAB_SPECIMEN
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^HL7
;;R^"863.3:",.05,"E"
;;D^LAB SPECIMEN
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXODATA("OBR",15)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:4",1,"E"
;;D^4
;;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 SEMI-COLON PIECE NUMBER
;;R^"863.3:","863.32:6",1,"E"
;;D^2
;;R^"863.3:","863.32:7",.01,"E"
;;D^OCXO FILE POINTER
;;EOR^
;;KEY^863.3:^PATIENT.LAB_SPECIMEN_ID
;;R^"863.3:",.01,"E"
;;D^PATIENT.LAB_SPECIMEN_ID
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^LAB SPECIMEN ID
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXODATA("OBR",15)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:2",1,"E"
;;D^4
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO SEMI-COLON PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^1
;;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^
;;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"
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HORY14402 8122 printed Dec 13, 2024@02:38:34 Page 2
ORY14402 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*144) ;JUN 12,2002 at 12:20
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**144**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^ORY144ES
+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 ^ORY14403
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.8:","863.84:1",.01,"E"
+3 ;;D^DATA TYPE
+4 ;;R^"863.8:","863.84:1",1,"E"
+5 ;;D^YES NO
+6 ;;R^"863.8:","863.84:2",.01,"E"
+7 ;;D^HELP MESSAGE
+8 ;;R^"863.8:","863.84:2",1,"E"
+9 ;;D^Answer 'YES' if you want the user to repetitively enter a value.
+10 ;;R^"863.8:","863.84:3",.01,"E"
+11 ;;D^QUERY
+12 ;;R^"863.8:","863.84:3",1,"E"
+13 ;;D^Is the query repetitive
+14 ;;EOR^
+15 ;;KEY^863.8:^TERMINATOR
+16 ;;R^"863.8:",.01,"E"
+17 ;;D^TERMINATOR
+18 ;;R^"863.8:",.02,"E"
+19 ;;D^TERMINATOR
+20 ;;R^"863.8:",1,1
+21 ;;D^A text string terminator; e.g., '?', ': ', '=>'
+22 ;;R^"863.8:",2,"E"
+23 ;;D^:
+24 ;;R^"863.8:","863.84:4",.01,"E"
+25 ;;D^QUERY
+26 ;;R^"863.8:","863.84:4",1,"E"
+27 ;;D^Enter text string terminator
+28 ;;R^"863.8:","863.84:5",.01,"E"
+29 ;;D^DATA TYPE
+30 ;;R^"863.8:","863.84:5",1,"E"
+31 ;;D^FREE TEXT
+32 ;;R^"863.8:","863.84:6",.01,"E"
+33 ;;D^FREE TEXT MAXIMUM LENGTH
+34 ;;R^"863.8:","863.84:6",1,"E"
+35 ;;D^9
+36 ;;EOR^
+37 ;;KEY^863.8:^VALUE CALL
+38 ;;R^"863.8:",.01,"E"
+39 ;;D^VALUE CALL
+40 ;;R^"863.8:",.02,"E"
+41 ;;D^VAL CALL
+42 ;;R^"863.8:",.03,"E"
+43 ;;D^NO
+44 ;;R^"863.8:",1,1
+45 ;;D^tag^routine which manages the dialogue for collecting and validating a value
+46 ;;R^"863.8:","863.84:3",.01,"E"
+47 ;;D^QUERY
+48 ;;R^"863.8:","863.84:3",1,"E"
+49 ;;D^Enter tag^routine
+50 ;;R^"863.8:","863.84:4",.01,"E"
+51 ;;D^DATA TYPE
+52 ;;R^"863.8:","863.84:4",1,"E"
+53 ;;D^LINE TAG
+54 ;;EOR^
+55 ;;EOF^OCXS(863.8)^1
+56 ;;SOF^864.1 OCX MDD DATATYPE
+57 ;;KEY^864.1:^FREE TEXT
+58 ;;R^"864.1:",.01,"E"
+59 ;;D^FREE TEXT
+60 ;;R^"864.1:",.02,"E"
+61 ;;D^FT
+62 ;;R^"864.1:",2,"E"
+63 ;;D^GENERIC
+64 ;;R^"864.1:","864.11:1",.01,"E"
+65 ;;D^VALUE CALL
+66 ;;R^"864.1:","864.11:1",1,"E"
+67 ;;D^FT^OCXFDFT
+68 ;;R^"864.1:","864.11:2",.01,"E"
+69 ;;D^QUERY
+70 ;;R^"864.1:","864.11:2",1,"E"
+71 ;;D^Enter a free text string
+72 ;;R^"864.1:","864.11:3",.01,"E"
+73 ;;D^FREE TEXT MAXIMUM LENGTH
+74 ;;R^"864.1:","864.11:3",1,"E"
+75 ;;D^240
+76 ;;R^"864.1:","864.11:4",.01,"E"
+77 ;;D^HELP MESSAGE
+78 ;;R^"864.1:","864.11:4",1,"E"
+79 ;;D^Enter a free text string. Do not use control characters. |FTMM HELP|
+80 ;;R^"864.1:","864.11:5",.01,"E"
+81 ;;D^LOOP QUERY
+82 ;;R^"864.1:","864.11:5",1,"E"
+83 ;;D^Enter another free text string
+84 ;;R^"864.1:","864.11:6",.01,"E"
+85 ;;D^REPEAT THE QUERY
+86 ;;R^"864.1:","864.11:6",1,"E"
+87 ;;D^0
+88 ;;EOR^
+89 ;;KEY^864.1:^GENERIC
+90 ;;R^"864.1:",.01,"E"
+91 ;;D^GENERIC
+92 ;;R^"864.1:",.02,"E"
+93 ;;D^GENERIC
+94 ;;R^"864.1:","864.11:11",.01,"E"
+95 ;;D^MANDATORY MESSAGE
+96 ;;R^"864.1:","864.11:11",1,"E"
+97 ;;D^This answer is mandatory. Enter a response or press '^' to exit.
+98 ;;R^"864.1:","864.11:12",.01,"E"
+99 ;;D^TERMINATOR
+100 ;;R^"864.1:","864.11:12",1,"E"
+101 ;;D^:
+102 ;;R^"864.1:","864.11:13",.01,"E"
+103 ;;D^LOOP QUERY
+104 ;;R^"864.1:","864.11:13",1,"E"
+105 ;;D^Enter another value
+106 ;;R^"864.1:","864.11:7",.01,"E"
+107 ;;D^VALUE CALL
+108 ;;R^"864.1:","864.11:7",1,"E"
+109 ;;D^GEN^OCXFDMOM
+110 ;;R^"864.1:","864.11:8",.01,"E"
+111 ;;D^QUERY
+112 ;;R^"864.1:","864.11:8",1,"E"
+113 ;;D^Enter a value
+114 ;;R^"864.1:","864.11:9",.01,"E"
+115 ;;D^HELP MESSAGE
+116 ;;R^"864.1:","864.11:9",1,"E"
+117 ;;D^
+118 ;;EOR^
+119 ;;KEY^864.1:^NUMERIC
+120 ;;R^"864.1:",.01,"E"
+121 ;;D^NUMERIC
+122 ;;R^"864.1:",.02,"E"
+123 ;;D^NUMERIC
+124 ;;R^"864.1:",2,"E"
+125 ;;D^GENERIC
+126 ;;R^"864.1:","864.11:1",.01,"E"
+127 ;;D^VALUE CALL
+128 ;;R^"864.1:","864.11:1",1,"E"
+129 ;;D^NU^OCXFDNU
+130 ;;R^"864.1:","864.11:2",.01,"E"
+131 ;;D^QUERY
+132 ;;R^"864.1:","864.11:2",1,"E"
+133 ;;D^Enter a number
+134 ;;R^"864.1:","864.11:3",.01,"E"
+135 ;;D^LOOP QUERY
+136 ;;R^"864.1:","864.11:3",1,"E"
+137 ;;D^Enter another number
+138 ;;R^"864.1:","864.11:4",.01,"E"
+139 ;;D^REPEAT THE QUERY
+140 ;;R^"864.1:","864.11:4",1,"E"
+141 ;;D^0
+142 ;;EOR^
+143 ;;EOF^OCXS(864.1)^1
+144 ;;SOF^863.4 OCX MDD ATTRIBUTE
+145 ;;KEY^863.4:^IEN
+146 ;;R^"863.4:",.01,"E"
+147 ;;D^IEN
+148 ;;R^"863.4:","863.41:1",.01,"E"
+149 ;;D^DATA TYPE
+150 ;;R^"863.4:","863.41:1",1,"E"
+151 ;;D^NUMERIC
+152 ;;EOR^
+153 ;;KEY^863.4:^LAB SPECIMEN
+154 ;;R^"863.4:",.01,"E"
+155 ;;D^LAB SPECIMEN
+156 ;;R^"863.4:","863.41:1",.01,"E"
+157 ;;D^DATA TYPE
+158 ;;R^"863.4:","863.41:1",1,"E"
+159 ;;D^FREE TEXT
+160 ;;EOR^
+161 ;;KEY^863.4:^LAB SPECIMEN ID
+162 ;;R^"863.4:",.01,"E"
+163 ;;D^LAB SPECIMEN ID
+164 ;;R^"863.4:","863.41:1",.01,"E"
+165 ;;D^DATA TYPE
+166 ;;R^"863.4:","863.41:1",1,"E"
+167 ;;D^NUMERIC
+168 ;;EOR^
+169 ;;KEY^863.4:^ORDER PATIENT
+170 ;;R^"863.4:",.01,"E"
+171 ;;D^ORDER PATIENT
+172 ;;R^"863.4:","863.41:1",.01,"E"
+173 ;;D^DATA TYPE
+174 ;;R^"863.4:","863.41:1",1,"E"
+175 ;;D^NUMERIC
+176 ;;EOR^
+177 ;;EOF^OCXS(863.4)^1
+178 ;;SOF^863.2 OCX MDD SUBJECT
+179 ;;KEY^863.2:^PATIENT
+180 ;;R^"863.2:",.01,"E"
+181 ;;D^PATIENT
+182 ;;R^"863.2:","863.21:1",.01,"E"
+183 ;;D^FILE
+184 ;;R^"863.2:","863.21:1",1,"E"
+185 ;;D^2
+186 ;;EOR^
+187 ;;EOF^OCXS(863.2)^1
+188 ;;SOF^863.3 OCX MDD LINK
+189 ;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
+190 ;;R^"863.3:",.01,"E"
+191 ;;D^PATIENT.HL7_PATIENT_ID
+192 ;;R^"863.3:",.02,"E"
+193 ;;D^PATIENT
+194 ;;R^"863.3:",.04,"E"
+195 ;;D^HL7
+196 ;;R^"863.3:",.05,"E"
+197 ;;D^IEN
+198 ;;R^"863.3:",.06,"E"
+199 ;;D^99
+200 ;;R^"863.3:","863.32:1",.01,"E"
+201 ;;D^OCXO HL7 SEGMENT ID
+202 ;;R^"863.3:","863.32:2",.01,"E"
+203 ;;D^OCXO VT-BAR PIECE NUMBER
+204 ;;R^"863.3:","863.32:3",.01,"E"
+205 ;;D^OCXO VARIABLE NAME
+206 ;;R^"863.3:","863.32:3",1,"E"
+207 ;;D^OCXODATA("PID",3)
+208 ;;EOR^
+209 ;;KEY^863.3:^PATIENT.IEN
+210 ;;R^"863.3:",.01,"E"
+211 ;;D^PATIENT.IEN
+212 ;;R^"863.3:",.02,"E"
+213 ;;D^PATIENT
+214 ;;R^"863.3:",.05,"E"
+215 ;;D^IEN
+216 ;;R^"863.3:",.06,"E"
+217 ;;D^99
+218 ;;R^"863.3:","863.32:1",.01,"E"
+219 ;;D^OCXO VARIABLE NAME
+220 ;;R^"863.3:","863.32:1",1,"E"
+221 ;;D^DFN
+222 ;;EOR^
+223 ;;KEY^863.3:^PATIENT.LAB_SPECIMEN
+224 ;;R^"863.3:",.01,"E"
+225 ;;D^PATIENT.LAB_SPECIMEN
+226 ;;R^"863.3:",.02,"E"
+227 ;;D^PATIENT
+228 ;;R^"863.3:",.04,"E"
+229 ;;D^HL7
+230 ;;R^"863.3:",.05,"E"
+231 ;;D^LAB SPECIMEN
+232 ;;R^"863.3:","863.32:1",.01,"E"
+233 ;;D^OCXO VARIABLE NAME
+234 ;;R^"863.3:","863.32:1",1,"E"
+235 ;;D^OCXODATA("OBR",15)
+236 ;;R^"863.3:","863.32:2",.01,"E"
+237 ;;D^OCXO HL7 SEGMENT ID
+238 ;;R^"863.3:","863.32:3",.01,"E"
+239 ;;D^OCXO VT-BAR PIECE NUMBER
+240 ;;R^"863.3:","863.32:4",.01,"E"
+241 ;;D^OCXO UP-ARROW PIECE NUMBER
+242 ;;R^"863.3:","863.32:4",1,"E"
+243 ;;D^4
+244 ;;R^"863.3:","863.32:5",.01,"E"
+245 ;;D^OCXO DATA DRIVE SOURCE
+246 ;;R^"863.3:","863.32:5",1,"E"
+247 ;;D^HL7
+248 ;;R^"863.3:","863.32:6",.01,"E"
+249 ;;D^OCXO SEMI-COLON PIECE NUMBER
+250 ;;R^"863.3:","863.32:6",1,"E"
+251 ;;D^2
+252 ;;R^"863.3:","863.32:7",.01,"E"
+253 ;;D^OCXO FILE POINTER
+254 ;;EOR^
+255 ;;KEY^863.3:^PATIENT.LAB_SPECIMEN_ID
+256 ;;R^"863.3:",.01,"E"
+257 ;;D^PATIENT.LAB_SPECIMEN_ID
+258 ;;R^"863.3:",.02,"E"
+259 ;;D^PATIENT
+260 ;;R^"863.3:",.05,"E"
+261 ;;D^LAB SPECIMEN ID
+262 ;;R^"863.3:","863.32:1",.01,"E"
+263 ;;D^OCXO VARIABLE NAME
+264 ;;R^"863.3:","863.32:1",1,"E"
+265 ;;D^OCXODATA("OBR",15)
+266 ;;R^"863.3:","863.32:2",.01,"E"
+267 ;;D^OCXO UP-ARROW PIECE NUMBER
+268 ;;R^"863.3:","863.32:2",1,"E"
+269 ;;D^4
+270 ;;R^"863.3:","863.32:3",.01,"E"
+271 ;;D^OCXO SEMI-COLON PIECE NUMBER
+272 ;;R^"863.3:","863.32:3",1,"E"
+273 ;;D^1
+274 ;;EOR^
+275 ;;KEY^863.3:^PATIENT.OERR_ORDER_PATIENT
+276 ;;R^"863.3:",.01,"E"
+277 ;;D^PATIENT.OERR_ORDER_PATIENT
+278 ;;R^"863.3:",.02,"E"
+279 ;;D^PATIENT
+280 ;;R^"863.3:",.05,"E"
+281 ;;D^ORDER PATIENT
+282 ;;R^"863.3:",.06,"E"
+283 ;;D^5567
+284 ;;R^"863.3:","863.32:1",.01,"E"
+285 ;;D^OCXO VARIABLE NAME
+286 ;;R^"863.3:","863.32:1",1,"E"
+287 ;;D^OCXORD
+288 ;;R^"863.3:","863.32:2",.01,"E"
+289 ;;D^OCXO UP-ARROW PIECE NUMBER
+290 ;;R^"863.3:","863.32:2",1,"E"
+291 ;;D^1
+292 ;;EOR^
+293 ;;EOF^OCXS(863.3)^1
+294 ;;SOF^860.9 ORDER CHECK NATIONAL TERM
+295 ;;KEY^860.9:^ANGIOGRAM (PERIPHERAL)
+296 ;;R^"860.9:",.01,"E"
+297 ;;D^ANGIOGRAM (PERIPHERAL)
+298 ;;R^"860.9:",.02,"E"
+299 ;;D^101.43
+300 ;;EOR^
+301 ;;KEY^860.9:^BLOOD SPECIMEN
+302 ;;R^"860.9:",.01,"E"
+303 ;;D^BLOOD SPECIMEN
+304 ;;R^"860.9:",.02,"E"
+305 ;;D^61
+306 ;;EOR^
+307 ;;KEY^860.9:^DANGEROUS MEDS FOR PTS > 64
+308 ;;R^"860.9:",.01,"E"
+309 ;;D^DANGEROUS MEDS FOR PTS > 64
+310 ;;R^"860.9:",.02,"E"
+311 ;;D^101.43
+312 ;;R^"860.9:",2,"E"
+313 ;;D^I $P($G(^ORD(100.98,$P($G(^ORD(101.43,+Y,0)),U,5),0)),U)="PHARMACY"
+314 ;1;
+315 ;