[613] | 1 | OCXDI01T ;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 ^OCXDI01U
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;R^"863.4:",.01,"E"
|
---|
| 21 | ;;D^OVERSIZE FLAG
|
---|
| 22 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 23 | ;;D^DATA TYPE
|
---|
| 24 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 25 | ;;D^BOOLEAN
|
---|
| 26 | ;;EOR^
|
---|
| 27 | ;;KEY^863.4:^OVERSIZE DEVICE
|
---|
| 28 | ;;R^"863.4:",.01,"E"
|
---|
| 29 | ;;D^OVERSIZE DEVICE
|
---|
| 30 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 31 | ;;D^DATA TYPE
|
---|
| 32 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 33 | ;;D^FREE TEXT
|
---|
| 34 | ;;EOR^
|
---|
| 35 | ;;KEY^863.4:^CREAT. CLEAR. VALUE
|
---|
| 36 | ;;R^"863.4:",.01,"E"
|
---|
| 37 | ;;D^CREAT. CLEAR. VALUE
|
---|
| 38 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 39 | ;;D^DATA TYPE
|
---|
| 40 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 41 | ;;D^NUMERIC
|
---|
| 42 | ;;EOR^
|
---|
| 43 | ;;KEY^863.4:^CREAT CLEAR DATE
|
---|
| 44 | ;;R^"863.4:",.01,"E"
|
---|
| 45 | ;;D^CREAT CLEAR DATE
|
---|
| 46 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 47 | ;;D^DATA TYPE
|
---|
| 48 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 49 | ;;D^DATE/TIME
|
---|
| 50 | ;;EOR^
|
---|
| 51 | ;;KEY^863.4:^LAB TEST CODE
|
---|
| 52 | ;;R^"863.4:",.01,"E"
|
---|
| 53 | ;;D^LAB TEST CODE
|
---|
| 54 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 55 | ;;D^DATA TYPE
|
---|
| 56 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 57 | ;;D^FREE TEXT
|
---|
| 58 | ;;EOR^
|
---|
| 59 | ;;KEY^863.4:^WARD ROOM-BED
|
---|
| 60 | ;;R^"863.4:",.01,"E"
|
---|
| 61 | ;;D^WARD ROOM-BED
|
---|
| 62 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 63 | ;;D^DATA TYPE
|
---|
| 64 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 65 | ;;D^FREE TEXT
|
---|
| 66 | ;;EOR^
|
---|
| 67 | ;;KEY^863.4:^INPATIENT
|
---|
| 68 | ;;R^"863.4:",.01,"E"
|
---|
| 69 | ;;D^INPATIENT
|
---|
| 70 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 71 | ;;D^DATA TYPE
|
---|
| 72 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 73 | ;;D^BOOLEAN
|
---|
| 74 | ;;EOR^
|
---|
| 75 | ;;KEY^863.4:^PACKAGE ID
|
---|
| 76 | ;;R^"863.4:",.01,"E"
|
---|
| 77 | ;;D^PACKAGE ID
|
---|
| 78 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 79 | ;;D^DATA TYPE
|
---|
| 80 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 81 | ;;D^FREE TEXT
|
---|
| 82 | ;;EOR^
|
---|
| 83 | ;;KEY^863.4:^TREATING SPECIALTY
|
---|
| 84 | ;;R^"863.4:",.01,"E"
|
---|
| 85 | ;;D^TREATING SPECIALTY
|
---|
| 86 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 87 | ;;D^DATA TYPE
|
---|
| 88 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 89 | ;;D^FREE TEXT
|
---|
| 90 | ;;EOR^
|
---|
| 91 | ;;KEY^863.4:^WARD NAME
|
---|
| 92 | ;;R^"863.4:",.01,"E"
|
---|
| 93 | ;;D^WARD NAME
|
---|
| 94 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 95 | ;;D^DATA TYPE
|
---|
| 96 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 97 | ;;D^FREE TEXT
|
---|
| 98 | ;;EOR^
|
---|
| 99 | ;;KEY^863.4:^NEW MOVEMENT
|
---|
| 100 | ;;R^"863.4:",.01,"E"
|
---|
| 101 | ;;D^NEW MOVEMENT
|
---|
| 102 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 103 | ;;D^DATA TYPE
|
---|
| 104 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 105 | ;;D^BOOLEAN
|
---|
| 106 | ;;EOR^
|
---|
| 107 | ;;KEY^863.4:^CURRENT LITHIUM FLAG
|
---|
| 108 | ;;R^"863.4:",.01,"E"
|
---|
| 109 | ;;D^CURRENT LITHIUM FLAG
|
---|
| 110 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 111 | ;;D^DATA TYPE
|
---|
| 112 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 113 | ;;D^BOOLEAN
|
---|
| 114 | ;;EOR^
|
---|
| 115 | ;;KEY^863.4:^NATIONAL LAB ID
|
---|
| 116 | ;;R^"863.4:",.01,"E"
|
---|
| 117 | ;;D^NATIONAL LAB ID
|
---|
| 118 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 119 | ;;D^DATA TYPE
|
---|
| 120 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 121 | ;;D^FREE TEXT
|
---|
| 122 | ;;EOR^
|
---|
| 123 | ;;KEY^863.4:^LAB TEST DATE
|
---|
| 124 | ;;R^"863.4:",.01,"E"
|
---|
| 125 | ;;D^LAB TEST DATE
|
---|
| 126 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 127 | ;;D^DATA TYPE
|
---|
| 128 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 129 | ;;D^DATE/TIME
|
---|
| 130 | ;;EOR^
|
---|
| 131 | ;;KEY^863.4:^CURRENT GLUCOPHAGE FLAG
|
---|
| 132 | ;;R^"863.4:",.01,"E"
|
---|
| 133 | ;;D^CURRENT GLUCOPHAGE FLAG
|
---|
| 134 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 135 | ;;D^DATA TYPE
|
---|
| 136 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 137 | ;;D^BOOLEAN
|
---|
| 138 | ;;EOR^
|
---|
| 139 | ;;KEY^863.4:^CURRENT METFORMIN FLAG
|
---|
| 140 | ;;R^"863.4:",.01,"E"
|
---|
| 141 | ;;D^CURRENT METFORMIN FLAG
|
---|
| 142 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 143 | ;;D^DATA TYPE
|
---|
| 144 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 145 | ;;D^BOOLEAN
|
---|
| 146 | ;;EOR^
|
---|
| 147 | ;;KEY^863.4:^PROBLEM LIST HAS DIABETES
|
---|
| 148 | ;;R^"863.4:",.01,"E"
|
---|
| 149 | ;;D^PROBLEM LIST HAS DIABETES
|
---|
| 150 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 151 | ;;D^DATA TYPE
|
---|
| 152 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 153 | ;;D^BOOLEAN
|
---|
| 154 | ;;EOR^
|
---|
| 155 | ;;KEY^863.4:^ORDER TEXT
|
---|
| 156 | ;;R^"863.4:",.01,"E"
|
---|
| 157 | ;;D^ORDER TEXT
|
---|
| 158 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 159 | ;;D^DATA TYPE
|
---|
| 160 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 161 | ;;D^FREE TEXT
|
---|
| 162 | ;;EOR^
|
---|
| 163 | ;;KEY^863.4:^LAB TEST ORDER DATE
|
---|
| 164 | ;;R^"863.4:",.01,"E"
|
---|
| 165 | ;;D^LAB TEST ORDER DATE
|
---|
| 166 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 167 | ;;D^DATA TYPE
|
---|
| 168 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 169 | ;;D^DATE/TIME
|
---|
| 170 | ;;EOR^
|
---|
| 171 | ;;KEY^863.4:^NUMBER OF ACTIVE MEDS
|
---|
| 172 | ;;R^"863.4:",.01,"E"
|
---|
| 173 | ;;D^NUMBER OF ACTIVE MEDS
|
---|
| 174 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 175 | ;;D^DATA TYPE
|
---|
| 176 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 177 | ;;D^NUMERIC
|
---|
| 178 | ;;EOR^
|
---|
| 179 | ;;KEY^863.4:^FREE TEXT
|
---|
| 180 | ;;R^"863.4:",.01,"E"
|
---|
| 181 | ;;D^FREE TEXT
|
---|
| 182 | ;;EOR^
|
---|
| 183 | ;;KEY^863.4:^ORIGINAL ORDERING PROVIDER
|
---|
| 184 | ;;R^"863.4:",.01,"E"
|
---|
| 185 | ;;D^ORIGINAL ORDERING PROVIDER
|
---|
| 186 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 187 | ;;D^DATA TYPE
|
---|
| 188 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 189 | ;;D^FREE TEXT
|
---|
| 190 | ;;EOR^
|
---|
| 191 | ;;KEY^863.4:^HL7 ENTERED BY
|
---|
| 192 | ;;R^"863.4:",.01,"E"
|
---|
| 193 | ;;D^HL7 ENTERED BY
|
---|
| 194 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 195 | ;;D^DATA TYPE
|
---|
| 196 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 197 | ;;D^FREE TEXT
|
---|
| 198 | ;;EOR^
|
---|
| 199 | ;;KEY^863.4:^ORDERED BY
|
---|
| 200 | ;;R^"863.4:",.01,"E"
|
---|
| 201 | ;;D^ORDERED BY
|
---|
| 202 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 203 | ;;D^DATA TYPE
|
---|
| 204 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 205 | ;;D^FREE TEXT
|
---|
| 206 | ;;EOR^
|
---|
| 207 | ;;KEY^863.4:^LAB TEST ID
|
---|
| 208 | ;;R^"863.4:",.01,"E"
|
---|
| 209 | ;;D^LAB TEST ID
|
---|
| 210 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 211 | ;;D^DATA TYPE
|
---|
| 212 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 213 | ;;D^NUMERIC
|
---|
| 214 | ;;EOR^
|
---|
| 215 | ;;KEY^863.4:^LAB TEST PRINT NAME
|
---|
| 216 | ;;R^"863.4:",.01,"E"
|
---|
| 217 | ;;D^LAB TEST PRINT NAME
|
---|
| 218 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 219 | ;;D^DATA TYPE
|
---|
| 220 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 221 | ;;D^FREE TEXT
|
---|
| 222 | ;;EOR^
|
---|
| 223 | ;;KEY^863.4:^DATE/TIME
|
---|
| 224 | ;;R^"863.4:",.01,"E"
|
---|
| 225 | ;;D^DATE/TIME
|
---|
| 226 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 227 | ;;D^DATA TYPE
|
---|
| 228 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 229 | ;;D^FREE TEXT
|
---|
| 230 | ;;EOR^
|
---|
| 231 | ;;KEY^863.4:^SERUM CREATININE VALUE
|
---|
| 232 | ;;R^"863.4:",.01,"E"
|
---|
| 233 | ;;D^SERUM CREATININE VALUE
|
---|
| 234 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 235 | ;;D^DATA TYPE
|
---|
| 236 | ;;R^"863.4:","863.41:1",1,"E"
|
---|
| 237 | ;;D^NUMERIC
|
---|
| 238 | ;;EOR^
|
---|
| 239 | ;;KEY^863.4:^SERUM CREATININE TEXT
|
---|
| 240 | ;;R^"863.4:",.01,"E"
|
---|
| 241 | ;;D^SERUM CREATININE TEXT
|
---|
| 242 | ;;R^"863.4:","863.41:1",.01,"E"
|
---|
| 243 | ;1;
|
---|
| 244 | ;
|
---|