ORY42707 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE ;MAR 7,2017 at 15:12
;;3.0;ORDER ENTRY/RESULTS REPORTING;**427**;Dec 17,1997;Build 105
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
; This is a post intall routine and can be deleted after install of patch OR*3*427
S ;
;
D DOT^ORY427ES
;
;
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 ^ORY42708
;
Q
;
DATA ;
;
;;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:^CLOZAPINE ANC W/IN 7 FLAG
;;R^"860.4:",.01,"E"
;;D^CLOZAPINE ANC W/IN 7 FLAG
;;R^"860.4:",1,"E"
;;D^CLOZ ANC FLAG
;;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.CLOZ_ANC_W/IN_7_FLAG
;;EOR^
;;KEY^860.4:^CLOZAPINE ANC W/IN 7 RESULT
;;R^"860.4:",.01,"E"
;;D^CLOZAPINE ANC W/IN 7 RESULT
;;R^"860.4:",1,"E"
;;D^CLOZ ANC RSLT
;;R^"860.4:",101,"E"
;;D^NUMERIC
;;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.CLOZ_ANC_W/IN_7_RSLT
;;EOR^
;;KEY^860.4:^CLOZAPINE LAB RESULTS
;;R^"860.4:",.01,"E"
;;D^CLOZAPINE LAB RESULTS
;;R^"860.4:",1,"E"
;;D^CLOZ LAB RSLTS
;;R^"860.4:",101,"E"
;;D^FREE TEXT
;;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.CLOZ_LAB_RESULTS
;;EOR^
;;KEY^860.4:^CLOZAPINE MED
;;R^"860.4:",.01,"E"
;;D^CLOZAPINE MED
;;R^"860.4:",1,"E"
;;D^CLOZAPINE
;;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.CLOZAPINE MED
;;EOR^
;;KEY^860.4:^CLOZAPINE WBC W/IN 7 FLAG
;;R^"860.4:",.01,"E"
;;D^CLOZAPINE WBC W/IN 7 FLAG
;;R^"860.4:",1,"E"
;;D^CLOZ WBC FLAG
;;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.CLOZ_WBC_W/IN_7_FLAG
;;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^
;;KEY^860.4:^PHARMACY LOCAL ID
;;R^"860.4:",.01,"E"
;;D^PHARMACY LOCAL ID
;;R^"860.4:",1,"E"
;;D^DISP DRUG IEN
;;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_DRUG_ID
;;EOR^
;;EOF^OCXS(860.4)^1
;;SOF^860.3 ORDER CHECK ELEMENT
;;KEY^860.3:^CLOZAPINE ANC < 1.0
;;R^"860.3:",.01,"E"
;;D^CLOZAPINE ANC < 1.0
;;R^"860.3:",.02,"E"
;;D^CPRS ORDER PRESCAN
;;R^"860.3:","860.31:1",.01,"E"
;;D^4
;;R^"860.3:","860.31:1",1,"E"
;;D^CLOZAPINE ANC W/IN 7 RESULT
;;R^"860.3:","860.31:1",2,"E"
;;D^LESS THAN
;;R^"860.3:","860.31:1",3,"E"
;;D^1.0
;;R^"860.3:","860.31:2",.01,"E"
;;D^5
;;R^"860.3:","860.31:2",1,"E"
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HORY42707 7804 printed Dec 13, 2024@02:42:13 Page 2
ORY42707 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE ;MAR 7,2017 at 15:12
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**427**;Dec 17,1997;Build 105
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
+4 ; This is a post intall routine and can be deleted after install of patch OR*3*427
S ;
+1 ;
+2 DO DOT^ORY427ES
+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 ^ORY42708
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"860.8:",100,8
+3 ;;D^T+; I $G(OCXTRACE) W !,"%%%%",?20," GLREF: ",GLREF," RESOLVES TO: ",$P($G(@(GLREF_(+D0)_",0)")),U,1)
+4 ;;R^"860.8:",100,9
+5 ;;D^ ; Q $P($G(@(GLREF_(+D0)_",0)")),U,1)
+6 ;;R^"860.8:",100,10
+7 ;;D^ ; ;
+8 ;;EOR^
+9 ;;KEY^860.8:^STRING CONTAINS ONE OF A LIST OF VALUES
+10 ;;R^"860.8:",.01,"E"
+11 ;;D^STRING CONTAINS ONE OF A LIST OF VALUES
+12 ;;R^"860.8:",.02,"E"
+13 ;;D^CLIST
+14 ;;R^"860.8:",100,1
+15 ;;D^ ;CLIST(DATA,LIST) ; DOES THE DATA FIELD CONTAIN AN ELEMENT IN THE LIST
+16 ;;R^"860.8:",100,2
+17 ;;D^ ; ;
+18 ;;R^"860.8:",100,3
+19 ;;D^T+; W:$G(OCXTRACE) !!,"$$CLIST(",DATA,",""",LIST,""")"
+20 ;;R^"860.8:",100,4
+21 ;;D^ ; N PC F PC=1:1:$L(LIST,","),0 I PC,$L($P(LIST,",",PC)),(DATA[$P(LIST,",",PC)) Q
+22 ;;R^"860.8:",100,5
+23 ;;D^ ; Q ''PC
+24 ;;EOR^
+25 ;;EOF^OCXS(860.8)^1
+26 ;;SOF^860.6 ORDER CHECK DATA CONTEXT
+27 ;;KEY^860.6:^CPRS ORDER PRESCAN
+28 ;;R^"860.6:",.01,"E"
+29 ;;D^CPRS ORDER PRESCAN
+30 ;;R^"860.6:",.02,"E"
+31 ;;D^OEPS
+32 ;;R^"860.6:",1,"E"
+33 ;;D^DATA DRIVEN
+34 ;;EOR^
+35 ;;KEY^860.6:^CPRS ORDER PROTOCOL
+36 ;;R^"860.6:",.01,"E"
+37 ;;D^CPRS ORDER PROTOCOL
+38 ;;R^"860.6:",.02,"E"
+39 ;;D^OERR
+40 ;;R^"860.6:",1,"E"
+41 ;;D^DATA DRIVEN
+42 ;;EOR^
+43 ;;KEY^860.6:^DATABASE LOOKUP
+44 ;;R^"860.6:",.01,"E"
+45 ;;D^DATABASE LOOKUP
+46 ;;R^"860.6:",.02,"E"
+47 ;;D^DL
+48 ;;R^"860.6:",1,"E"
+49 ;;D^PACKAGE LOOKUP
+50 ;;EOR^
+51 ;;KEY^860.6:^GENERIC HL7 MESSAGE ARRAY
+52 ;;R^"860.6:",.01,"E"
+53 ;;D^GENERIC HL7 MESSAGE ARRAY
+54 ;;R^"860.6:",.02,"E"
+55 ;;D^HL7
+56 ;;R^"860.6:",1,"E"
+57 ;;D^DATA DRIVEN
+58 ;;EOR^
+59 ;;EOF^OCXS(860.6)^1
+60 ;;SOF^860.5 ORDER CHECK DATA SOURCE
+61 ;;KEY^860.5:^DATABASE LOOKUP
+62 ;;R^"860.5:",.01,"E"
+63 ;;D^DATABASE LOOKUP
+64 ;;R^"860.5:",.02,"E"
+65 ;;D^DATABASE LOOKUP
+66 ;;EOR^
+67 ;;KEY^860.5:^HL7 COMMON ORDER SEGMENT
+68 ;;R^"860.5:",.01,"E"
+69 ;;D^HL7 COMMON ORDER SEGMENT
+70 ;;R^"860.5:",.02,"E"
+71 ;;D^GENERIC HL7 MESSAGE ARRAY
+72 ;;EOR^
+73 ;;KEY^860.5:^HL7 PATIENT ID SEGMENT
+74 ;;R^"860.5:",.01,"E"
+75 ;;D^HL7 PATIENT ID SEGMENT
+76 ;;R^"860.5:",.02,"E"
+77 ;;D^GENERIC HL7 MESSAGE ARRAY
+78 ;;EOR^
+79 ;;KEY^860.5:^OERR ORDER EVENT FLAG PROTOCOL
+80 ;;R^"860.5:",.01,"E"
+81 ;;D^OERR ORDER EVENT FLAG PROTOCOL
+82 ;;R^"860.5:",.02,"E"
+83 ;;D^CPRS ORDER PROTOCOL
+84 ;;EOR^
+85 ;;KEY^860.5:^ORDER ENTRY ORDER PRESCAN
+86 ;;R^"860.5:",.01,"E"
+87 ;;D^ORDER ENTRY ORDER PRESCAN
+88 ;;R^"860.5:",.02,"E"
+89 ;;D^CPRS ORDER PRESCAN
+90 ;;EOR^
+91 ;;EOF^OCXS(860.5)^1
+92 ;;SOF^860.4 ORDER CHECK DATA FIELD
+93 ;;KEY^860.4:^CLOZAPINE ANC W/IN 7 FLAG
+94 ;;R^"860.4:",.01,"E"
+95 ;;D^CLOZAPINE ANC W/IN 7 FLAG
+96 ;;R^"860.4:",1,"E"
+97 ;;D^CLOZ ANC FLAG
+98 ;;R^"860.4:",101,"E"
+99 ;;D^BOOLEAN
+100 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
+101 ;;D^DATABASE LOOKUP
+102 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
+103 ;;D^DATABASE LOOKUP
+104 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
+105 ;;D^PATIENT.CLOZ_ANC_W/IN_7_FLAG
+106 ;;EOR^
+107 ;;KEY^860.4:^CLOZAPINE ANC W/IN 7 RESULT
+108 ;;R^"860.4:",.01,"E"
+109 ;;D^CLOZAPINE ANC W/IN 7 RESULT
+110 ;;R^"860.4:",1,"E"
+111 ;;D^CLOZ ANC RSLT
+112 ;;R^"860.4:",101,"E"
+113 ;;D^NUMERIC
+114 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
+115 ;;D^DATABASE LOOKUP
+116 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
+117 ;;D^DATABASE LOOKUP
+118 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
+119 ;;D^PATIENT.CLOZ_ANC_W/IN_7_RSLT
+120 ;;EOR^
+121 ;;KEY^860.4:^CLOZAPINE LAB RESULTS
+122 ;;R^"860.4:",.01,"E"
+123 ;;D^CLOZAPINE LAB RESULTS
+124 ;;R^"860.4:",1,"E"
+125 ;;D^CLOZ LAB RSLTS
+126 ;;R^"860.4:",101,"E"
+127 ;;D^FREE TEXT
+128 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
+129 ;;D^DATABASE LOOKUP
+130 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
+131 ;;D^DATABASE LOOKUP
+132 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
+133 ;;D^PATIENT.CLOZ_LAB_RESULTS
+134 ;;EOR^
+135 ;;KEY^860.4:^CLOZAPINE MED
+136 ;;R^"860.4:",.01,"E"
+137 ;;D^CLOZAPINE MED
+138 ;;R^"860.4:",1,"E"
+139 ;;D^CLOZAPINE
+140 ;;R^"860.4:",101,"E"
+141 ;;D^BOOLEAN
+142 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
+143 ;;D^DATABASE LOOKUP
+144 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
+145 ;;D^DATABASE LOOKUP
+146 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
+147 ;;D^PATIENT.CLOZAPINE MED
+148 ;;EOR^
+149 ;;KEY^860.4:^CLOZAPINE WBC W/IN 7 FLAG
+150 ;;R^"860.4:",.01,"E"
+151 ;;D^CLOZAPINE WBC W/IN 7 FLAG
+152 ;;R^"860.4:",1,"E"
+153 ;;D^CLOZ WBC FLAG
+154 ;;R^"860.4:",101,"E"
+155 ;;D^BOOLEAN
+156 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
+157 ;;D^DATABASE LOOKUP
+158 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
+159 ;;D^DATABASE LOOKUP
+160 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
+161 ;;D^PATIENT.CLOZ_WBC_W/IN_7_FLAG
+162 ;;EOR^
+163 ;;KEY^860.4:^FILLER
+164 ;;R^"860.4:",.01,"E"
+165 ;;D^FILLER
+166 ;;R^"860.4:",1,"E"
+167 ;;D^FILL
+168 ;;R^"860.4:",101,"E"
+169 ;;D^FREE TEXT
+170 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
+171 ;;D^CPRS ORDER PRESCAN
+172 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
+173 ;;D^ORDER ENTRY ORDER PRESCAN
+174 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
+175 ;;D^PATIENT.OPS_FILLER
+176 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
+177 ;;D^GENERIC HL7 MESSAGE ARRAY
+178 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
+179 ;;D^HL7 COMMON ORDER SEGMENT
+180 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
+181 ;;D^PATIENT.HL7_FILLER
+182 ;;EOR^
+183 ;;KEY^860.4:^ORDER MODE
+184 ;;R^"860.4:",.01,"E"
+185 ;;D^ORDER MODE
+186 ;;R^"860.4:",101,"E"
+187 ;;D^FREE TEXT
+188 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
+189 ;;D^CPRS ORDER PRESCAN
+190 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
+191 ;;D^ORDER ENTRY ORDER PRESCAN
+192 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
+193 ;;D^PATIENT.OPS_ORD_MODE
+194 ;;EOR^
+195 ;;KEY^860.4:^PATIENT IEN
+196 ;;R^"860.4:",.01,"E"
+197 ;;D^PATIENT IEN
+198 ;;R^"860.4:",101,"E"
+199 ;;D^NUMERIC
+200 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
+201 ;;D^CPRS ORDER PROTOCOL
+202 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
+203 ;;D^OERR ORDER EVENT FLAG PROTOCOL
+204 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
+205 ;;D^PATIENT.OERR_ORDER_PATIENT
+206 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
+207 ;;D^DATABASE LOOKUP
+208 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
+209 ;;D^DATABASE LOOKUP
+210 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
+211 ;;D^PATIENT.IEN
+212 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
+213 ;;D^GENERIC HL7 MESSAGE ARRAY
+214 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
+215 ;;D^HL7 PATIENT ID SEGMENT
+216 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
+217 ;;D^PATIENT.HL7_PATIENT_ID
+218 ;;EOR^
+219 ;;KEY^860.4:^PHARMACY LOCAL ID
+220 ;;R^"860.4:",.01,"E"
+221 ;;D^PHARMACY LOCAL ID
+222 ;;R^"860.4:",1,"E"
+223 ;;D^DISP DRUG IEN
+224 ;;R^"860.4:",101,"E"
+225 ;;D^FREE TEXT
+226 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
+227 ;;D^CPRS ORDER PRESCAN
+228 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
+229 ;;D^ORDER ENTRY ORDER PRESCAN
+230 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
+231 ;;D^PATIENT.OPS_DRUG_ID
+232 ;;EOR^
+233 ;;EOF^OCXS(860.4)^1
+234 ;;SOF^860.3 ORDER CHECK ELEMENT
+235 ;;KEY^860.3:^CLOZAPINE ANC < 1.0
+236 ;;R^"860.3:",.01,"E"
+237 ;;D^CLOZAPINE ANC < 1.0
+238 ;;R^"860.3:",.02,"E"
+239 ;;D^CPRS ORDER PRESCAN
+240 ;;R^"860.3:","860.31:1",.01,"E"
+241 ;;D^4
+242 ;;R^"860.3:","860.31:1",1,"E"
+243 ;;D^CLOZAPINE ANC W/IN 7 RESULT
+244 ;;R^"860.3:","860.31:1",2,"E"
+245 ;;D^LESS THAN
+246 ;;R^"860.3:","860.31:1",3,"E"
+247 ;;D^1.0
+248 ;;R^"860.3:","860.31:2",.01,"E"
+249 ;;D^5
+250 ;;R^"860.3:","860.31:2",1,"E"
+251 ;1;
+252 ;