[613] | 1 | OCXDI032 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
|
---|
| 2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
|
---|
| 3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
| 4 | ;
|
---|
| 5 | S ;
|
---|
| 6 | ;
|
---|
| 7 | D DOT^OCXDIAG
|
---|
| 8 | ;
|
---|
| 9 | ;
|
---|
| 10 | K REMOTE,LOCAL,OPCODE,REF
|
---|
| 11 | F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
|
---|
| 12 | .S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
|
---|
| 13 | ;
|
---|
| 14 | G ^OCXDI033
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;D^3
|
---|
| 21 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
| 22 | ;;D^CONTROL CODE
|
---|
| 23 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
| 24 | ;;D^EQUALS ELEMENT IN SET
|
---|
| 25 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
| 26 | ;;D^RE
|
---|
| 27 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
| 28 | ;;D^4
|
---|
| 29 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
| 30 | ;;D^FILLER
|
---|
| 31 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
| 32 | ;;D^STARTS WITH
|
---|
| 33 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
| 34 | ;;D^LR
|
---|
| 35 | ;;R^"860.3:","860.31:5",.01,"E"
|
---|
| 36 | ;;D^5
|
---|
| 37 | ;;R^"860.3:","860.31:5",1,"E"
|
---|
| 38 | ;;D^ORDER PRIORITY (OBR)
|
---|
| 39 | ;;R^"860.3:","860.31:5",2,"E"
|
---|
| 40 | ;;D^EQ FREE TEXT
|
---|
| 41 | ;;R^"860.3:","860.31:5",3,"E"
|
---|
| 42 | ;;D^S
|
---|
| 43 | ;;EOR^
|
---|
| 44 | ;;KEY^860.3:^COUMADIN ORDER
|
---|
| 45 | ;;R^"860.3:",.01,"E"
|
---|
| 46 | ;;D^COUMADIN ORDER
|
---|
| 47 | ;;R^"860.3:",.02,"E"
|
---|
| 48 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 49 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
| 50 | ;;D^3
|
---|
| 51 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
| 52 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
| 53 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
| 54 | ;;D^CONTAINS
|
---|
| 55 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
| 56 | ;;D^COUMADIN
|
---|
| 57 | ;;EOR^
|
---|
| 58 | ;;KEY^860.3:^WARFARIN ORDER
|
---|
| 59 | ;;R^"860.3:",.01,"E"
|
---|
| 60 | ;;D^WARFARIN ORDER
|
---|
| 61 | ;;R^"860.3:",.02,"E"
|
---|
| 62 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 63 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 64 | ;;D^2
|
---|
| 65 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 66 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
| 67 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 68 | ;;D^CONTAINS
|
---|
| 69 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
| 70 | ;;D^WARFARIN
|
---|
| 71 | ;;EOR^
|
---|
| 72 | ;;KEY^860.3:^DISULFIRAM ORDER
|
---|
| 73 | ;;R^"860.3:",.01,"E"
|
---|
| 74 | ;;D^DISULFIRAM ORDER
|
---|
| 75 | ;;R^"860.3:",.02,"E"
|
---|
| 76 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 77 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 78 | ;;D^2
|
---|
| 79 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 80 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
| 81 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 82 | ;;D^CONTAINS
|
---|
| 83 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
| 84 | ;;D^DISULFIRAM
|
---|
| 85 | ;;EOR^
|
---|
| 86 | ;;KEY^860.3:^PHENELZINE ORDER
|
---|
| 87 | ;;R^"860.3:",.01,"E"
|
---|
| 88 | ;;D^PHENELZINE ORDER
|
---|
| 89 | ;;R^"860.3:",.02,"E"
|
---|
| 90 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 91 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 92 | ;;D^2
|
---|
| 93 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 94 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
| 95 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 96 | ;;D^CONTAINS
|
---|
| 97 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
| 98 | ;;D^PHENELZINE
|
---|
| 99 | ;;EOR^
|
---|
| 100 | ;;KEY^860.3:^TRANYLCYPROMINE ORDER
|
---|
| 101 | ;;R^"860.3:",.01,"E"
|
---|
| 102 | ;;D^TRANYLCYPROMINE ORDER
|
---|
| 103 | ;;R^"860.3:",.02,"E"
|
---|
| 104 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 105 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 106 | ;;D^2
|
---|
| 107 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 108 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
| 109 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 110 | ;;D^CONTAINS
|
---|
| 111 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
| 112 | ;;D^TRANYLCYPROMINE
|
---|
| 113 | ;;EOR^
|
---|
| 114 | ;;KEY^860.3:^PARNATE ORDER
|
---|
| 115 | ;;R^"860.3:",.01,"E"
|
---|
| 116 | ;;D^PARNATE ORDER
|
---|
| 117 | ;;R^"860.3:",.02,"E"
|
---|
| 118 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 119 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 120 | ;;D^2
|
---|
| 121 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 122 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
| 123 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 124 | ;;D^CONTAINS
|
---|
| 125 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
| 126 | ;;D^PARNATE
|
---|
| 127 | ;;EOR^
|
---|
| 128 | ;;KEY^860.3:^INPATIENT FOOD-DRUG REACTION
|
---|
| 129 | ;;R^"860.3:",.01,"E"
|
---|
| 130 | ;;D^INPATIENT FOOD-DRUG REACTION
|
---|
| 131 | ;;R^"860.3:",.02,"E"
|
---|
| 132 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 133 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
| 134 | ;;D^1
|
---|
| 135 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
| 136 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
| 137 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
| 138 | ;;D^CONTAINS ELEMENT IN SET
|
---|
| 139 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
| 140 | ;;D^COUMADIN,WARFARIN,DISULFIRAM,PHENELZINE,TRANYLCYPROMINE,PARNATE
|
---|
| 141 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 142 | ;;D^2
|
---|
| 143 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 144 | ;;D^INPATIENT
|
---|
| 145 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 146 | ;;D^LOGICAL TRUE
|
---|
| 147 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
| 148 | ;;D^3
|
---|
| 149 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
| 150 | ;;D^CONTROL CODE
|
---|
| 151 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
| 152 | ;;D^EQUALS ELEMENT IN SET
|
---|
| 153 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
| 154 | ;;D^NW,SN
|
---|
| 155 | ;;EOR^
|
---|
| 156 | ;;KEY^860.3:^RADIOLOGY PROCEDURE CONTAINS CONTRAST MEDIA
|
---|
| 157 | ;;R^"860.3:",.01,"E"
|
---|
| 158 | ;;D^RADIOLOGY PROCEDURE CONTAINS CONTRAST MEDIA
|
---|
| 159 | ;;R^"860.3:",.02,"E"
|
---|
| 160 | ;;D^CPRS ORDER PRESCAN
|
---|
| 161 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
| 162 | ;;D^1
|
---|
| 163 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
| 164 | ;;D^ORDER MODE
|
---|
| 165 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
| 166 | ;;D^EQ FREE TEXT
|
---|
| 167 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
| 168 | ;;D^SELECT
|
---|
| 169 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 170 | ;;D^2
|
---|
| 171 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 172 | ;;D^FILLER
|
---|
| 173 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 174 | ;;D^EQ FREE TEXT
|
---|
| 175 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
| 176 | ;;D^RA
|
---|
| 177 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
| 178 | ;;D^3
|
---|
| 179 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
| 180 | ;;D^CONTRAST MEDIA FLAG
|
---|
| 181 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
| 182 | ;;D^LOGICAL TRUE
|
---|
| 183 | ;;EOR^
|
---|
| 184 | ;;KEY^860.3:^GLUCOPHAGE ORDER
|
---|
| 185 | ;;R^"860.3:",.01,"E"
|
---|
| 186 | ;;D^GLUCOPHAGE ORDER
|
---|
| 187 | ;;R^"860.3:",.02,"E"
|
---|
| 188 | ;;D^CPRS ORDER PRESCAN
|
---|
| 189 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
| 190 | ;;D^1
|
---|
| 191 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
| 192 | ;;D^ORDER MODE
|
---|
| 193 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
| 194 | ;;D^EQ FREE TEXT
|
---|
| 195 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
| 196 | ;;D^SELECT
|
---|
| 197 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 198 | ;;D^2
|
---|
| 199 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 200 | ;;D^FILLER
|
---|
| 201 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 202 | ;;D^STARTS WITH
|
---|
| 203 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
| 204 | ;;D^PS
|
---|
| 205 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
| 206 | ;;D^3
|
---|
| 207 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
| 208 | ;;D^OI LOCAL TEXT
|
---|
| 209 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
| 210 | ;;D^CONTAINS ELEMENT IN SET
|
---|
| 211 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
| 212 | ;;D^GLUCOPHAGE,METFORMIN
|
---|
| 213 | ;;EOR^
|
---|
| 214 | ;;KEY^860.3:^LITHIUM ORDER
|
---|
| 215 | ;;R^"860.3:",.01,"E"
|
---|
| 216 | ;;D^LITHIUM ORDER
|
---|
| 217 | ;;R^"860.3:",.02,"E"
|
---|
| 218 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
| 219 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
| 220 | ;1;
|
---|
| 221 | ;
|
---|