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