ORY30606 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*306) ;MAR 13,2012 at 13:09
;;3.0;ORDER ENTRY/RESULTS REPORTING;**306**;Dec 17,1997;Build 43
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^ORY306ES
;
;
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 ^ORY30607
;
Q
;
DATA ;
;
;;D^ ; ..S OCXDATA("B",OCXDFI,OCXDFI)=""
;;R^"860.8:",100,63
;;D^T+; ..D SETAP(OCXGR2_")","860.71223P","Data Field",$P($G(^OCXS(860.4,OCXDFI,0)),U,1),.OCXDATA,OCXDFI)
;;R^"860.8:",100,64
;;D^T-; ..D SETAP(OCXGR2_")","860.71223P",.OCXDATA,OCXDFI)
;;R^"860.8:",100,65
;;D^ ; ;
;;R^"860.8:",100,66
;;D^ ; Q 1
;;R^"860.8:",100,67
;;D^ ; ;
;;R^"860.8:",100,68
;;D^T+;SETAP(ROOT,DD,ITEM,ITEMNAME,DATA,DA) ; Set Rule Event data
;;R^"860.8:",100,69
;;D^T-;SETAP(ROOT,DD,DATA,DA) ; Set Rule Event data
;;R^"860.8:",100,70
;;D^ ; M @ROOT=DATA
;;R^"860.8:",100,71
;;D^ ; I +$G(DD) S @ROOT@(0)="^"_($G(DD))_"^"_($P($G(@ROOT@(0)),U,3)+1)_"^"_$G(DA)
;;R^"860.8:",100,72
;;D^ ; I '$G(DD) S $P(@ROOT@(0),U,3,4)=($P($G(@ROOT@(0)),U,3)+1)_"^"_$G(DA)
;;R^"860.8:",100,73
;;D^T+; W:$G(OCXTRACE) !,"File Active Data ",$G(ITEM),": ",$G(ITEMNAME)
;;R^"860.8:",100,74
;;D^ ; ;
;;R^"860.8:",100,75
;;D^ ; Q
;;R^"860.8:",100,76
;;D^ ; ;
;;R^"860.8:",100,77
;;D^ ; ;
;;EOR^
;;KEY^860.8:^RETURN POINTED TO VALUE
;;R^"860.8:",.01,"E"
;;D^RETURN POINTED TO VALUE
;;R^"860.8:",.02,"E"
;;D^POINTER
;;R^"860.8:",1,1
;;D^ ;POINTER(OCXFILE,D0) ; This Local Extrinsic Function gets the value of the name field
;;R^"860.8:",1,2
;;D^ ; ; of record D0 in file OCXFILE
;;R^"860.8:",100,1
;;D^ ;POINTER(OCXFILE,D0) ; This Local Extrinsic Function gets the value of the name field
;;R^"860.8:",100,2
;;D^ ; ; of record D0 in file OCXFILE
;;R^"860.8:",100,3
;;D^T+; I $G(OCXTRACE) W !,"%%%%",?20," FILE: ",$G(OCXFILE)," D0: ",$G(D0)
;;R^"860.8:",100,4
;;D^ ; Q:'$G(D0) "" Q:'$L($G(OCXFILE)) ""
;;R^"860.8:",100,5
;;D^ ; N GLREF
;;R^"860.8:",100,6
;;D^ ; I '(OCXFILE=(+OCXFILE)) S GLREF=U_OCXFILE
;;R^"860.8:",100,7
;;D^ ; E S GLREF=$$FILE^OCXBDTD(+OCXFILE,"GLOBAL NAME") Q:'$L(GLREF) ""
;;R^"860.8:",100,8
;;D^T+; I $G(OCXTRACE) W !,"%%%%",?20," GLREF: ",GLREF," RESOLVES TO: ",$P($G(@(GLREF_(+D0)_",0)")),U,1)
;;R^"860.8:",100,9
;;D^ ; Q $P($G(@(GLREF_(+D0)_",0)")),U,1)
;;R^"860.8:",100,10
;;D^ ; ;
;;EOR^
;;KEY^860.8:^STRING CONTAINS ONE OF A LIST OF VALUES
;;R^"860.8:",.01,"E"
;;D^STRING CONTAINS ONE OF A LIST OF VALUES
;;R^"860.8:",.02,"E"
;;D^CLIST
;;R^"860.8:",100,1
;;D^ ;CLIST(DATA,LIST) ; DOES THE DATA FIELD CONTAIN AN ELEMENT IN THE LIST
;;R^"860.8:",100,2
;;D^ ; ;
;;R^"860.8:",100,3
;;D^T+; W:$G(OCXTRACE) !!,"$$CLIST(",DATA,",""",LIST,""")"
;;R^"860.8:",100,4
;;D^ ; N PC F PC=1:1:$L(LIST,","),0 I PC,$L($P(LIST,",",PC)),(DATA[$P(LIST,",",PC)) Q
;;R^"860.8:",100,5
;;D^ ; Q ''PC
;;EOR^
;;EOF^OCXS(860.8)^1
;;SOF^860.6 ORDER CHECK DATA CONTEXT
;;KEY^860.6:^CPRS ORDER PRESCAN
;;R^"860.6:",.01,"E"
;;D^CPRS ORDER PRESCAN
;;R^"860.6:",.02,"E"
;;D^OEPS
;;R^"860.6:",1,"E"
;;D^DATA DRIVEN
;;EOR^
;;KEY^860.6:^CPRS ORDER PROTOCOL
;;R^"860.6:",.01,"E"
;;D^CPRS ORDER PROTOCOL
;;R^"860.6:",.02,"E"
;;D^OERR
;;R^"860.6:",1,"E"
;;D^DATA DRIVEN
;;EOR^
;;KEY^860.6:^DATABASE LOOKUP
;;R^"860.6:",.01,"E"
;;D^DATABASE LOOKUP
;;R^"860.6:",.02,"E"
;;D^DL
;;R^"860.6:",1,"E"
;;D^PACKAGE LOOKUP
;;EOR^
;;KEY^860.6:^GENERIC HL7 MESSAGE ARRAY
;;R^"860.6:",.01,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;R^"860.6:",.02,"E"
;;D^HL7
;;R^"860.6:",1,"E"
;;D^DATA DRIVEN
;;EOR^
;;EOF^OCXS(860.6)^1
;;SOF^860.5 ORDER CHECK DATA SOURCE
;;KEY^860.5:^DATABASE LOOKUP
;;R^"860.5:",.01,"E"
;;D^DATABASE LOOKUP
;;R^"860.5:",.02,"E"
;;D^DATABASE LOOKUP
;;EOR^
;;KEY^860.5:^HL7 COMMON ORDER SEGMENT
;;R^"860.5:",.01,"E"
;;D^HL7 COMMON ORDER SEGMENT
;;R^"860.5:",.02,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;EOR^
;;KEY^860.5:^HL7 PATIENT ID SEGMENT
;;R^"860.5:",.01,"E"
;;D^HL7 PATIENT ID SEGMENT
;;R^"860.5:",.02,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;EOR^
;;KEY^860.5:^OERR ORDER EVENT FLAG PROTOCOL
;;R^"860.5:",.01,"E"
;;D^OERR ORDER EVENT FLAG PROTOCOL
;;R^"860.5:",.02,"E"
;;D^CPRS ORDER PROTOCOL
;;EOR^
;;KEY^860.5:^ORDER ENTRY ORDER PRESCAN
;;R^"860.5:",.01,"E"
;;D^ORDER ENTRY ORDER PRESCAN
;;R^"860.5:",.02,"E"
;;D^CPRS ORDER PRESCAN
;;EOR^
;;EOF^OCXS(860.5)^1
;;SOF^860.4 ORDER CHECK DATA FIELD
;;KEY^860.4:^CONTROL CODE
;;R^"860.4:",.01,"E"
;;D^CONTROL CODE
;;R^"860.4:",101,"E"
;;D^FREE TEXT
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
;;D^HL7 COMMON ORDER SEGMENT
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
;;D^PATIENT.HL7_CONTROL_CODE
;;EOR^
;;KEY^860.4:^CONTROL REASON
;;R^"860.4:",.01,"E"
;;D^CONTROL REASON
;;R^"860.4:",101,"E"
;;D^FREE TEXT
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
;;D^HL7 COMMON ORDER SEGMENT
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
;;D^PATIENT.HL7_CONTROL_REASON
;;EOR^
;;KEY^860.4:^FILLER
;;R^"860.4:",.01,"E"
;;D^FILLER
;;R^"860.4:",1,"E"
;;D^FILL
;;R^"860.4:",101,"E"
;;D^FREE TEXT
;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
;;D^CPRS ORDER PRESCAN
;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
;;D^ORDER ENTRY ORDER PRESCAN
;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
;;D^PATIENT.OPS_FILLER
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
;;D^HL7 COMMON ORDER SEGMENT
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
;;D^PATIENT.HL7_FILLER
;;EOR^
;;KEY^860.4:^PATIENT IEN
;;R^"860.4:",.01,"E"
;;D^PATIENT IEN
;;R^"860.4:",101,"E"
;;D^NUMERIC
;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
;;D^CPRS ORDER PROTOCOL
;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
;;D^OERR ORDER EVENT FLAG PROTOCOL
;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
;;D^PATIENT.OERR_ORDER_PATIENT
;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
;;D^DATABASE LOOKUP
;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
;;D^DATABASE LOOKUP
;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
;;D^PATIENT.IEN
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
;;D^HL7 PATIENT ID SEGMENT
;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
;;D^PATIENT.HL7_PATIENT_ID
;;EOR^
;;EOF^OCXS(860.4)^1
;;SOF^860.3 ORDER CHECK ELEMENT
;;KEY^860.3:^HL7 DEA CERT REVOKED
;;R^"860.3:",.01,"E"
;;D^HL7 DEA CERT REVOKED
;;R^"860.3:",.02,"E"
;;D^GENERIC HL7 MESSAGE ARRAY
;;R^"860.3:","860.31:1",.01,"E"
;;D^1
;;R^"860.3:","860.31:1",1,"E"
;;D^FILLER
;;R^"860.3:","860.31:1",2,"E"
;;D^EQ FREE TEXT
;;R^"860.3:","860.31:1",3,"E"
;;D^PS
;;R^"860.3:","860.31:2",.01,"E"
;;D^2
;;R^"860.3:","860.31:2",1,"E"
;;D^CONTROL REASON
;;R^"860.3:","860.31:2",2,"E"
;;D^CONTAINS
;;R^"860.3:","860.31:2",3,"E"
;;D^17
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HORY30606 7692 printed Nov 22, 2024@17:50:54 Page 2
ORY30606 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*306) ;MAR 13,2012 at 13:09
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**306**;Dec 17,1997;Build 43
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^ORY306ES
+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 ^ORY30607
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^ ; ..S OCXDATA("B",OCXDFI,OCXDFI)=""
+3 ;;R^"860.8:",100,63
+4 ;;D^T+; ..D SETAP(OCXGR2_")","860.71223P","Data Field",$P($G(^OCXS(860.4,OCXDFI,0)),U,1),.OCXDATA,OCXDFI)
+5 ;;R^"860.8:",100,64
+6 ;;D^T-; ..D SETAP(OCXGR2_")","860.71223P",.OCXDATA,OCXDFI)
+7 ;;R^"860.8:",100,65
+8 ;;D^ ; ;
+9 ;;R^"860.8:",100,66
+10 ;;D^ ; Q 1
+11 ;;R^"860.8:",100,67
+12 ;;D^ ; ;
+13 ;;R^"860.8:",100,68
+14 ;;D^T+;SETAP(ROOT,DD,ITEM,ITEMNAME,DATA,DA) ; Set Rule Event data
+15 ;;R^"860.8:",100,69
+16 ;;D^T-;SETAP(ROOT,DD,DATA,DA) ; Set Rule Event data
+17 ;;R^"860.8:",100,70
+18 ;;D^ ; M @ROOT=DATA
+19 ;;R^"860.8:",100,71
+20 ;;D^ ; I +$G(DD) S @ROOT@(0)="^"_($G(DD))_"^"_($P($G(@ROOT@(0)),U,3)+1)_"^"_$G(DA)
+21 ;;R^"860.8:",100,72
+22 ;;D^ ; I '$G(DD) S $P(@ROOT@(0),U,3,4)=($P($G(@ROOT@(0)),U,3)+1)_"^"_$G(DA)
+23 ;;R^"860.8:",100,73
+24 ;;D^T+; W:$G(OCXTRACE) !,"File Active Data ",$G(ITEM),": ",$G(ITEMNAME)
+25 ;;R^"860.8:",100,74
+26 ;;D^ ; ;
+27 ;;R^"860.8:",100,75
+28 ;;D^ ; Q
+29 ;;R^"860.8:",100,76
+30 ;;D^ ; ;
+31 ;;R^"860.8:",100,77
+32 ;;D^ ; ;
+33 ;;EOR^
+34 ;;KEY^860.8:^RETURN POINTED TO VALUE
+35 ;;R^"860.8:",.01,"E"
+36 ;;D^RETURN POINTED TO VALUE
+37 ;;R^"860.8:",.02,"E"
+38 ;;D^POINTER
+39 ;;R^"860.8:",1,1
+40 ;;D^ ;POINTER(OCXFILE,D0) ; This Local Extrinsic Function gets the value of the name field
+41 ;;R^"860.8:",1,2
+42 ;;D^ ; ; of record D0 in file OCXFILE
+43 ;;R^"860.8:",100,1
+44 ;;D^ ;POINTER(OCXFILE,D0) ; This Local Extrinsic Function gets the value of the name field
+45 ;;R^"860.8:",100,2
+46 ;;D^ ; ; of record D0 in file OCXFILE
+47 ;;R^"860.8:",100,3
+48 ;;D^T+; I $G(OCXTRACE) W !,"%%%%",?20," FILE: ",$G(OCXFILE)," D0: ",$G(D0)
+49 ;;R^"860.8:",100,4
+50 ;;D^ ; Q:'$G(D0) "" Q:'$L($G(OCXFILE)) ""
+51 ;;R^"860.8:",100,5
+52 ;;D^ ; N GLREF
+53 ;;R^"860.8:",100,6
+54 ;;D^ ; I '(OCXFILE=(+OCXFILE)) S GLREF=U_OCXFILE
+55 ;;R^"860.8:",100,7
+56 ;;D^ ; E S GLREF=$$FILE^OCXBDTD(+OCXFILE,"GLOBAL NAME") Q:'$L(GLREF) ""
+57 ;;R^"860.8:",100,8
+58 ;;D^T+; I $G(OCXTRACE) W !,"%%%%",?20," GLREF: ",GLREF," RESOLVES TO: ",$P($G(@(GLREF_(+D0)_",0)")),U,1)
+59 ;;R^"860.8:",100,9
+60 ;;D^ ; Q $P($G(@(GLREF_(+D0)_",0)")),U,1)
+61 ;;R^"860.8:",100,10
+62 ;;D^ ; ;
+63 ;;EOR^
+64 ;;KEY^860.8:^STRING CONTAINS ONE OF A LIST OF VALUES
+65 ;;R^"860.8:",.01,"E"
+66 ;;D^STRING CONTAINS ONE OF A LIST OF VALUES
+67 ;;R^"860.8:",.02,"E"
+68 ;;D^CLIST
+69 ;;R^"860.8:",100,1
+70 ;;D^ ;CLIST(DATA,LIST) ; DOES THE DATA FIELD CONTAIN AN ELEMENT IN THE LIST
+71 ;;R^"860.8:",100,2
+72 ;;D^ ; ;
+73 ;;R^"860.8:",100,3
+74 ;;D^T+; W:$G(OCXTRACE) !!,"$$CLIST(",DATA,",""",LIST,""")"
+75 ;;R^"860.8:",100,4
+76 ;;D^ ; N PC F PC=1:1:$L(LIST,","),0 I PC,$L($P(LIST,",",PC)),(DATA[$P(LIST,",",PC)) Q
+77 ;;R^"860.8:",100,5
+78 ;;D^ ; Q ''PC
+79 ;;EOR^
+80 ;;EOF^OCXS(860.8)^1
+81 ;;SOF^860.6 ORDER CHECK DATA CONTEXT
+82 ;;KEY^860.6:^CPRS ORDER PRESCAN
+83 ;;R^"860.6:",.01,"E"
+84 ;;D^CPRS ORDER PRESCAN
+85 ;;R^"860.6:",.02,"E"
+86 ;;D^OEPS
+87 ;;R^"860.6:",1,"E"
+88 ;;D^DATA DRIVEN
+89 ;;EOR^
+90 ;;KEY^860.6:^CPRS ORDER PROTOCOL
+91 ;;R^"860.6:",.01,"E"
+92 ;;D^CPRS ORDER PROTOCOL
+93 ;;R^"860.6:",.02,"E"
+94 ;;D^OERR
+95 ;;R^"860.6:",1,"E"
+96 ;;D^DATA DRIVEN
+97 ;;EOR^
+98 ;;KEY^860.6:^DATABASE LOOKUP
+99 ;;R^"860.6:",.01,"E"
+100 ;;D^DATABASE LOOKUP
+101 ;;R^"860.6:",.02,"E"
+102 ;;D^DL
+103 ;;R^"860.6:",1,"E"
+104 ;;D^PACKAGE LOOKUP
+105 ;;EOR^
+106 ;;KEY^860.6:^GENERIC HL7 MESSAGE ARRAY
+107 ;;R^"860.6:",.01,"E"
+108 ;;D^GENERIC HL7 MESSAGE ARRAY
+109 ;;R^"860.6:",.02,"E"
+110 ;;D^HL7
+111 ;;R^"860.6:",1,"E"
+112 ;;D^DATA DRIVEN
+113 ;;EOR^
+114 ;;EOF^OCXS(860.6)^1
+115 ;;SOF^860.5 ORDER CHECK DATA SOURCE
+116 ;;KEY^860.5:^DATABASE LOOKUP
+117 ;;R^"860.5:",.01,"E"
+118 ;;D^DATABASE LOOKUP
+119 ;;R^"860.5:",.02,"E"
+120 ;;D^DATABASE LOOKUP
+121 ;;EOR^
+122 ;;KEY^860.5:^HL7 COMMON ORDER SEGMENT
+123 ;;R^"860.5:",.01,"E"
+124 ;;D^HL7 COMMON ORDER SEGMENT
+125 ;;R^"860.5:",.02,"E"
+126 ;;D^GENERIC HL7 MESSAGE ARRAY
+127 ;;EOR^
+128 ;;KEY^860.5:^HL7 PATIENT ID SEGMENT
+129 ;;R^"860.5:",.01,"E"
+130 ;;D^HL7 PATIENT ID SEGMENT
+131 ;;R^"860.5:",.02,"E"
+132 ;;D^GENERIC HL7 MESSAGE ARRAY
+133 ;;EOR^
+134 ;;KEY^860.5:^OERR ORDER EVENT FLAG PROTOCOL
+135 ;;R^"860.5:",.01,"E"
+136 ;;D^OERR ORDER EVENT FLAG PROTOCOL
+137 ;;R^"860.5:",.02,"E"
+138 ;;D^CPRS ORDER PROTOCOL
+139 ;;EOR^
+140 ;;KEY^860.5:^ORDER ENTRY ORDER PRESCAN
+141 ;;R^"860.5:",.01,"E"
+142 ;;D^ORDER ENTRY ORDER PRESCAN
+143 ;;R^"860.5:",.02,"E"
+144 ;;D^CPRS ORDER PRESCAN
+145 ;;EOR^
+146 ;;EOF^OCXS(860.5)^1
+147 ;;SOF^860.4 ORDER CHECK DATA FIELD
+148 ;;KEY^860.4:^CONTROL CODE
+149 ;;R^"860.4:",.01,"E"
+150 ;;D^CONTROL CODE
+151 ;;R^"860.4:",101,"E"
+152 ;;D^FREE TEXT
+153 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
+154 ;;D^GENERIC HL7 MESSAGE ARRAY
+155 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
+156 ;;D^HL7 COMMON ORDER SEGMENT
+157 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
+158 ;;D^PATIENT.HL7_CONTROL_CODE
+159 ;;EOR^
+160 ;;KEY^860.4:^CONTROL REASON
+161 ;;R^"860.4:",.01,"E"
+162 ;;D^CONTROL REASON
+163 ;;R^"860.4:",101,"E"
+164 ;;D^FREE TEXT
+165 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
+166 ;;D^GENERIC HL7 MESSAGE ARRAY
+167 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
+168 ;;D^HL7 COMMON ORDER SEGMENT
+169 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
+170 ;;D^PATIENT.HL7_CONTROL_REASON
+171 ;;EOR^
+172 ;;KEY^860.4:^FILLER
+173 ;;R^"860.4:",.01,"E"
+174 ;;D^FILLER
+175 ;;R^"860.4:",1,"E"
+176 ;;D^FILL
+177 ;;R^"860.4:",101,"E"
+178 ;;D^FREE TEXT
+179 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
+180 ;;D^CPRS ORDER PRESCAN
+181 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
+182 ;;D^ORDER ENTRY ORDER PRESCAN
+183 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
+184 ;;D^PATIENT.OPS_FILLER
+185 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
+186 ;;D^GENERIC HL7 MESSAGE ARRAY
+187 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
+188 ;;D^HL7 COMMON ORDER SEGMENT
+189 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
+190 ;;D^PATIENT.HL7_FILLER
+191 ;;EOR^
+192 ;;KEY^860.4:^PATIENT IEN
+193 ;;R^"860.4:",.01,"E"
+194 ;;D^PATIENT IEN
+195 ;;R^"860.4:",101,"E"
+196 ;;D^NUMERIC
+197 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
+198 ;;D^CPRS ORDER PROTOCOL
+199 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
+200 ;;D^OERR ORDER EVENT FLAG PROTOCOL
+201 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
+202 ;;D^PATIENT.OERR_ORDER_PATIENT
+203 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
+204 ;;D^DATABASE LOOKUP
+205 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
+206 ;;D^DATABASE LOOKUP
+207 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
+208 ;;D^PATIENT.IEN
+209 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
+210 ;;D^GENERIC HL7 MESSAGE ARRAY
+211 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
+212 ;;D^HL7 PATIENT ID SEGMENT
+213 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
+214 ;;D^PATIENT.HL7_PATIENT_ID
+215 ;;EOR^
+216 ;;EOF^OCXS(860.4)^1
+217 ;;SOF^860.3 ORDER CHECK ELEMENT
+218 ;;KEY^860.3:^HL7 DEA CERT REVOKED
+219 ;;R^"860.3:",.01,"E"
+220 ;;D^HL7 DEA CERT REVOKED
+221 ;;R^"860.3:",.02,"E"
+222 ;;D^GENERIC HL7 MESSAGE ARRAY
+223 ;;R^"860.3:","860.31:1",.01,"E"
+224 ;;D^1
+225 ;;R^"860.3:","860.31:1",1,"E"
+226 ;;D^FILLER
+227 ;;R^"860.3:","860.31:1",2,"E"
+228 ;;D^EQ FREE TEXT
+229 ;;R^"860.3:","860.31:1",3,"E"
+230 ;;D^PS
+231 ;;R^"860.3:","860.31:2",.01,"E"
+232 ;;D^2
+233 ;;R^"860.3:","860.31:2",1,"E"
+234 ;;D^CONTROL REASON
+235 ;;R^"860.3:","860.31:2",2,"E"
+236 ;;D^CONTAINS
+237 ;;R^"860.3:","860.31:2",3,"E"
+238 ;;D^17
+239 ;1;
+240 ;