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