source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/ORY21103.m@ 1211

Last change on this file since 1211 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 7.6 KB
Line 
1ORY21103 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*211) ;APR 5,2005 at 08:07
2 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**211**;Dec 17,1997
3 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
4 ;
5S ;
6 ;
7 D DOT^ORY211ES
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("OCXRULE",$J,$O(^TMP("OCXRULE",$J,"A"),-1)+1)=TEXT
13 ;
14 G ^ORY21104
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;R^"863.4:","863.41:1",.01,"E"
21 ;;D^DATA TYPE
22 ;;R^"863.4:","863.41:1",1,"E"
23 ;;D^FREE TEXT
24 ;;EOR^
25 ;;KEY^863.4:^CM_CREATININE DAYS
26 ;;R^"863.4:",.01,"E"
27 ;;D^CM_CREATININE DAYS
28 ;;R^"863.4:","863.41:1",.01,"E"
29 ;;D^DATA TYPE
30 ;;R^"863.4:","863.41:1",1,"E"
31 ;;D^NUMERIC
32 ;;EOR^
33 ;;KEY^863.4:^CM_CREATININE FLAG
34 ;;R^"863.4:",.01,"E"
35 ;;D^CM_CREATININE FLAG
36 ;;R^"863.4:","863.41:1",.01,"E"
37 ;;D^DATA TYPE
38 ;;R^"863.4:","863.41:1",1,"E"
39 ;;D^BOOLEAN
40 ;;EOR^
41 ;;KEY^863.4:^CONTRAST MEDIA CODE
42 ;;R^"863.4:",.01,"E"
43 ;;D^CONTRAST MEDIA CODE
44 ;;R^"863.4:","863.41:1",.01,"E"
45 ;;D^DATA TYPE
46 ;;R^"863.4:","863.41:1",1,"E"
47 ;;D^FREE TEXT
48 ;;EOR^
49 ;;KEY^863.4:^CURRENT GLUCOPHAGE FLAG
50 ;;R^"863.4:",.01,"E"
51 ;;D^CURRENT GLUCOPHAGE FLAG
52 ;;R^"863.4:","863.41:1",.01,"E"
53 ;;D^DATA TYPE
54 ;;R^"863.4:","863.41:1",1,"E"
55 ;;D^BOOLEAN
56 ;;EOR^
57 ;;KEY^863.4:^FILLER
58 ;;R^"863.4:",.01,"E"
59 ;;D^FILLER
60 ;;R^"863.4:","863.41:1",.01,"E"
61 ;;D^DATA TYPE
62 ;;R^"863.4:","863.41:1",1,"E"
63 ;;D^FREE TEXT
64 ;;EOR^
65 ;;KEY^863.4:^HL7 FILLER
66 ;;R^"863.4:",.01,"E"
67 ;;D^HL7 FILLER
68 ;;R^"863.4:",.02,"E"
69 ;;D^HL7FILLR
70 ;;R^"863.4:","863.41:1",.01,"E"
71 ;;D^DATA TYPE
72 ;;R^"863.4:","863.41:1",1,"E"
73 ;;D^FREE TEXT
74 ;;EOR^
75 ;;KEY^863.4:^IEN
76 ;;R^"863.4:",.01,"E"
77 ;;D^IEN
78 ;;R^"863.4:","863.41:1",.01,"E"
79 ;;D^DATA TYPE
80 ;;R^"863.4:","863.41:1",1,"E"
81 ;;D^NUMERIC
82 ;;EOR^
83 ;;KEY^863.4:^ORDER MODE
84 ;;R^"863.4:",.01,"E"
85 ;;D^ORDER MODE
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:^ORDER PATIENT
92 ;;R^"863.4:",.01,"E"
93 ;;D^ORDER PATIENT
94 ;;R^"863.4:","863.41:1",.01,"E"
95 ;;D^DATA TYPE
96 ;;R^"863.4:","863.41:1",1,"E"
97 ;;D^NUMERIC
98 ;;EOR^
99 ;;KEY^863.4:^ORDERABLE ITEM IEN
100 ;;R^"863.4:",.01,"E"
101 ;;D^ORDERABLE ITEM IEN
102 ;;R^"863.4:","863.41:1",.01,"E"
103 ;;D^DATA TYPE
104 ;;R^"863.4:","863.41:1",1,"E"
105 ;;D^NUMERIC
106 ;;EOR^
107 ;;KEY^863.4:^RENAL TEST ABNORMAL FLAG
108 ;;R^"863.4:",.01,"E"
109 ;;D^RENAL TEST ABNORMAL 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 ;;EOF^OCXS(863.4)^1
116 ;;SOF^863.2 OCX MDD SUBJECT
117 ;;KEY^863.2:^PATIENT
118 ;;R^"863.2:",.01,"E"
119 ;;D^PATIENT
120 ;;R^"863.2:","863.21:1",.01,"E"
121 ;;D^FILE
122 ;;R^"863.2:","863.21:1",1,"E"
123 ;;D^2
124 ;;EOR^
125 ;;EOF^OCXS(863.2)^1
126 ;;SOF^863.3 OCX MDD LINK
127 ;;KEY^863.3:^PATIENT.CM_CREAT_DAYS
128 ;;R^"863.3:",.01,"E"
129 ;;D^PATIENT.CM_CREAT_DAYS
130 ;;R^"863.3:",.02,"E"
131 ;;D^PATIENT
132 ;;R^"863.3:",.05,"E"
133 ;;D^CM_CREATININE DAYS
134 ;;R^"863.3:",.06,"E"
135 ;;D^7789
136 ;;R^"863.3:","863.32:1",.01,"E"
137 ;;D^OCXO EXTERNAL FUNCTION CALL
138 ;;R^"863.3:","863.32:1",1,"E"
139 ;;D^CMCDAYS^ORKRA(|PATIENT IEN|)
140 ;;R^"863.3:","863.32:2",.01,"E"
141 ;;D^OCXO UP-ARROW PIECE NUMBER
142 ;;R^"863.3:","863.32:2",1,"E"
143 ;;D^1
144 ;;EOR^
145 ;;KEY^863.3:^PATIENT.CM_CREAT_FLAG
146 ;;R^"863.3:",.01,"E"
147 ;;D^PATIENT.CM_CREAT_FLAG
148 ;;R^"863.3:",.02,"E"
149 ;;D^PATIENT
150 ;;R^"863.3:",.05,"E"
151 ;;D^CM_CREATININE FLAG
152 ;;R^"863.3:",.06,"E"
153 ;;D^5677
154 ;;R^"863.3:","863.32:1",.01,"E"
155 ;;D^OCXO EXTERNAL FUNCTION CALL
156 ;;R^"863.3:","863.32:1",1,"E"
157 ;;D^RECCREAT(|PATIENT IEN|,|CM-CREAT DAYS|)
158 ;;R^"863.3:","863.32:2",.01,"E"
159 ;;D^OCXO UP-ARROW PIECE NUMBER
160 ;;R^"863.3:","863.32:2",1,"E"
161 ;;D^1
162 ;;EOR^
163 ;;KEY^863.3:^PATIENT.CONTR_MED_CODE
164 ;;R^"863.3:",.01,"E"
165 ;;D^PATIENT.CONTR_MED_CODE
166 ;;R^"863.3:",.02,"E"
167 ;;D^PATIENT
168 ;;R^"863.3:",.05,"E"
169 ;;D^CONTRAST MEDIA CODE
170 ;;R^"863.3:",.06,"E"
171 ;;D^99
172 ;;R^"863.3:","863.32:1",.01,"E"
173 ;;D^OCXO EXTERNAL FUNCTION CALL
174 ;;R^"863.3:","863.32:1",1,"E"
175 ;;D^CM^ORQQRA(|ORDERABLE ITEM IEN|)
176 ;;R^"863.3:","863.32:2",.01,"E"
177 ;;D^OCXO UP-ARROW PIECE NUMBER
178 ;;EOR^
179 ;;KEY^863.3:^PATIENT.HL7_FILLER
180 ;;R^"863.3:",.01,"E"
181 ;;D^PATIENT.HL7_FILLER
182 ;;R^"863.3:",.02,"E"
183 ;;D^PATIENT
184 ;;R^"863.3:",.04,"E"
185 ;;D^HL7
186 ;;R^"863.3:",.05,"E"
187 ;;D^HL7 FILLER
188 ;;R^"863.3:","863.32:1",.01,"E"
189 ;;D^OCXO VT-BAR PIECE NUMBER
190 ;;R^"863.3:","863.32:2",.01,"E"
191 ;;D^OCXO UP-ARROW PIECE NUMBER
192 ;;R^"863.3:","863.32:2",1,"E"
193 ;;D^2
194 ;;R^"863.3:","863.32:3",.01,"E"
195 ;;D^OCXO VARIABLE NAME
196 ;;R^"863.3:","863.32:3",1,"E"
197 ;;D^OCXODATA("ORC",3)
198 ;;R^"863.3:","863.32:4",.01,"E"
199 ;;D^OCXO HL7 SEGMENT ID
200 ;;R^"863.3:","863.32:5",.01,"E"
201 ;;D^OCXO DATA DRIVE SOURCE
202 ;;R^"863.3:","863.32:5",1,"E"
203 ;;D^HL7
204 ;;R^"863.3:","863.32:6",.01,"E"
205 ;;D^OCXO FILE POINTER
206 ;;EOR^
207 ;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
208 ;;R^"863.3:",.01,"E"
209 ;;D^PATIENT.HL7_PATIENT_ID
210 ;;R^"863.3:",.02,"E"
211 ;;D^PATIENT
212 ;;R^"863.3:",.04,"E"
213 ;;D^HL7
214 ;;R^"863.3:",.05,"E"
215 ;;D^IEN
216 ;;R^"863.3:",.06,"E"
217 ;;D^99
218 ;;R^"863.3:","863.32:1",.01,"E"
219 ;;D^OCXO HL7 SEGMENT ID
220 ;;R^"863.3:","863.32:2",.01,"E"
221 ;;D^OCXO VT-BAR PIECE NUMBER
222 ;;R^"863.3:","863.32:3",.01,"E"
223 ;;D^OCXO VARIABLE NAME
224 ;;R^"863.3:","863.32:3",1,"E"
225 ;;D^OCXODATA("PID",3)
226 ;;EOR^
227 ;;KEY^863.3:^PATIENT.IEN
228 ;;R^"863.3:",.01,"E"
229 ;;D^PATIENT.IEN
230 ;;R^"863.3:",.02,"E"
231 ;;D^PATIENT
232 ;;R^"863.3:",.05,"E"
233 ;;D^IEN
234 ;;R^"863.3:",.06,"E"
235 ;;D^99
236 ;;R^"863.3:","863.32:1",.01,"E"
237 ;;D^OCXO VARIABLE NAME
238 ;;R^"863.3:","863.32:1",1,"E"
239 ;;D^DFN
240 ;;EOR^
241 ;;KEY^863.3:^PATIENT.OERR_ORDER_PATIENT
242 ;;R^"863.3:",.01,"E"
243 ;;D^PATIENT.OERR_ORDER_PATIENT
244 ;;R^"863.3:",.02,"E"
245 ;;D^PATIENT
246 ;;R^"863.3:",.05,"E"
247 ;;D^ORDER PATIENT
248 ;;R^"863.3:",.06,"E"
249 ;;D^5567
250 ;;R^"863.3:","863.32:1",.01,"E"
251 ;;D^OCXO VARIABLE NAME
252 ;;R^"863.3:","863.32:1",1,"E"
253 ;;D^OCXORD
254 ;;R^"863.3:","863.32:2",.01,"E"
255 ;;D^OCXO UP-ARROW PIECE NUMBER
256 ;;R^"863.3:","863.32:2",1,"E"
257 ;;D^1
258 ;;EOR^
259 ;;KEY^863.3:^PATIENT.OPS_FILLER
260 ;;R^"863.3:",.01,"E"
261 ;;D^PATIENT.OPS_FILLER
262 ;;R^"863.3:",.02,"E"
263 ;;D^PATIENT
264 ;;R^"863.3:",.04,"E"
265 ;;D^OPS
266 ;;R^"863.3:",.05,"E"
267 ;;D^FILLER
268 ;;R^"863.3:",.06,"E"
269 ;;D^99
270 ;;R^"863.3:","863.32:1",.01,"E"
271 ;;D^OCXO VARIABLE NAME
272 ;;R^"863.3:","863.32:1",1,"E"
273 ;;D^OCXPSD
274 ;;R^"863.3:","863.32:2",.01,"E"
275 ;;D^OCXO VT-BAR PIECE NUMBER
276 ;;R^"863.3:","863.32:2",1,"E"
277 ;;D^1
278 ;;EOR^
279 ;;KEY^863.3:^PATIENT.OPS_ORD_MODE
280 ;;R^"863.3:",.01,"E"
281 ;;D^PATIENT.OPS_ORD_MODE
282 ;;R^"863.3:",.02,"E"
283 ;;D^PATIENT
284 ;;R^"863.3:",.04,"E"
285 ;;D^OPS
286 ;;R^"863.3:",.05,"E"
287 ;;D^ORDER MODE
288 ;;R^"863.3:",.06,"E"
289 ;;D^99
290 ;;R^"863.3:","863.32:1",.01,"E"
291 ;;D^OCXO VARIABLE NAME
292 ;;R^"863.3:","863.32:1",1,"E"
293 ;;D^OCXPSM
294 ;;EOR^
295 ;;KEY^863.3:^PATIENT.ORDER_ITEM_IEN
296 ;;R^"863.3:",.01,"E"
297 ;;D^PATIENT.ORDER_ITEM_IEN
298 ;;R^"863.3:",.02,"E"
299 ;;D^PATIENT
300 ;;R^"863.3:",.05,"E"
301 ;;D^ORDERABLE ITEM IEN
302 ;;R^"863.3:",.06,"E"
303 ;;D^99
304 ;;R^"863.3:","863.32:1",.01,"E"
305 ;;D^OCXO VARIABLE NAME
306 ;;R^"863.3:","863.32:1",1,"E"
307 ;;D^OCXPSD
308 ;;R^"863.3:","863.32:2",.01,"E"
309 ;;D^OCXO VT-BAR PIECE NUMBER
310 ;;R^"863.3:","863.32:2",1,"E"
311 ;;D^0
312 ;;EOR^
313 ;;KEY^863.3:^PATIENT.REC_RENAL_ABNORM_FLAG
314 ;;R^"863.3:",.01,"E"
315 ;;D^PATIENT.REC_RENAL_ABNORM_FLAG
316 ;;R^"863.3:",.02,"E"
317 ;;D^PATIENT
318 ;;R^"863.3:",.05,"E"
319 ;;D^RENAL TEST ABNORMAL FLAG
320 ;;R^"863.3:",.06,"E"
321 ;;D^999
322 ;;R^"863.3:","863.32:1",.01,"E"
323 ;;D^OCXO EXTERNAL FUNCTION CALL
324 ;;R^"863.3:","863.32:1",1,"E"
325 ;;D^ABREN(|PATIENT IEN|)
326 ;;R^"863.3:","863.32:2",.01,"E"
327 ;;D^OCXO UP-ARROW PIECE NUMBER
328 ;;R^"863.3:","863.32:2",1,"E"
329 ;;D^1
330 ;;EOR^
331 ;;KEY^863.3:^PATIENT.REC_RENAL_ABNORM_RES
332 ;;R^"863.3:",.01,"E"
333 ;;D^PATIENT.REC_RENAL_ABNORM_RES
334 ;;R^"863.3:",.02,"E"
335 ;;D^PATIENT
336 ;;R^"863.3:",.05,"E"
337 ;;D^BIOCHEMICAL RESULTS
338 ;;R^"863.3:",.06,"E"
339 ;;D^999
340 ;;R^"863.3:","863.32:1",.01,"E"
341 ;;D^OCXO EXTERNAL FUNCTION CALL
342 ;;R^"863.3:","863.32:1",1,"E"
343 ;1;
344 ;
Note: See TracBrowser for help on using the repository browser.