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