source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/ORY22105.m@ 1036

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

initial load of WorldVistAEHR

File size: 7.5 KB
Line 
1ORY22105 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*221) ;AUG 30,2005 at 11:41
2 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**221**;Dec 17,1997
3 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
4 ;
5S ;
6 ;
7 D DOT^ORY221ES
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 ^ORY22106
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^PATIENT
21 ;;R^"863.3:",.05,"E"
22 ;;D^CONTRAST MEDIA CODE
23 ;;R^"863.3:",.06,"E"
24 ;;D^99
25 ;;R^"863.3:","863.32:1",.01,"E"
26 ;;D^OCXO EXTERNAL FUNCTION CALL
27 ;;R^"863.3:","863.32:1",1,"E"
28 ;;D^CM^ORQQRA(|ORDERABLE ITEM IEN|)
29 ;;R^"863.3:","863.32:2",.01,"E"
30 ;;D^OCXO UP-ARROW PIECE NUMBER
31 ;;EOR^
32 ;;KEY^863.3:^PATIENT.CRCL_DATE
33 ;;R^"863.3:",.01,"E"
34 ;;D^PATIENT.CRCL_DATE
35 ;;R^"863.3:",.02,"E"
36 ;;D^PATIENT
37 ;;R^"863.3:",.05,"E"
38 ;;D^CREAT CLEAR DATE
39 ;;R^"863.3:",.06,"E"
40 ;;D^99
41 ;;R^"863.3:","863.32:1",.01,"E"
42 ;;D^OCXO EXTERNAL FUNCTION CALL
43 ;;R^"863.3:","863.32:1",1,"E"
44 ;;D^CRCL(|PATIENT IEN|)
45 ;;R^"863.3:","863.32:2",.01,"E"
46 ;;D^OCXO UP-ARROW PIECE NUMBER
47 ;;R^"863.3:","863.32:2",1,"E"
48 ;;D^1
49 ;;EOR^
50 ;;KEY^863.3:^PATIENT.CRCL_TEXT
51 ;;R^"863.3:",.01,"E"
52 ;;D^PATIENT.CRCL_TEXT
53 ;;R^"863.3:",.02,"E"
54 ;;D^PATIENT
55 ;;R^"863.3:",.05,"E"
56 ;;D^CREAT. CLEAR. VALUE
57 ;;R^"863.3:",.06,"E"
58 ;;D^99
59 ;;R^"863.3:","863.32:1",.01,"E"
60 ;;D^OCXO EXTERNAL FUNCTION CALL
61 ;;R^"863.3:","863.32:1",1,"E"
62 ;;D^CRCL(|PATIENT IEN|)
63 ;;R^"863.3:","863.32:2",.01,"E"
64 ;;D^OCXO UP-ARROW PIECE NUMBER
65 ;;R^"863.3:","863.32:2",1,"E"
66 ;;D^2
67 ;;EOR^
68 ;;KEY^863.3:^PATIENT.DRUG_CLASS
69 ;;R^"863.3:",.01,"E"
70 ;;D^PATIENT.DRUG_CLASS
71 ;;R^"863.3:",.02,"E"
72 ;;D^PATIENT
73 ;;R^"863.3:",.05,"E"
74 ;;D^DRUG CLASS
75 ;;R^"863.3:",.06,"E"
76 ;;D^99
77 ;;R^"863.3:","863.32:1",.01,"E"
78 ;;D^OCXO EXTERNAL FUNCTION CALL
79 ;;R^"863.3:","863.32:1",1,"E"
80 ;;D^ENVAC^PSJORUT2(|OI NATIONAL ID|)
81 ;;R^"863.3:","863.32:2",.01,"E"
82 ;;D^OCXO UP-ARROW PIECE NUMBER
83 ;;R^"863.3:","863.32:2",1,"E"
84 ;;D^2
85 ;;EOR^
86 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_DAYS
87 ;;R^"863.3:",.01,"E"
88 ;;D^PATIENT.GLUCOPHAGE_CREAT_DAYS
89 ;;R^"863.3:",.02,"E"
90 ;;D^PATIENT
91 ;;R^"863.3:",.05,"E"
92 ;;D^GLUCO_CREATININE DAYS
93 ;;R^"863.3:","863.32:1",.01,"E"
94 ;;D^OCXO EXTERNAL FUNCTION CALL
95 ;;R^"863.3:","863.32:1",1,"E"
96 ;;D^GCDAYS^ORKPS(|PATIENT IEN|)
97 ;;R^"863.3:","863.32:2",.01,"E"
98 ;;D^OCXO UP-ARROW PIECE NUMBER
99 ;;R^"863.3:","863.32:2",1,"E"
100 ;;D^1
101 ;;EOR^
102 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_FLAG
103 ;;R^"863.3:",.01,"E"
104 ;;D^PATIENT.GLUCOPHAGE_CREAT_FLAG
105 ;;R^"863.3:",.02,"E"
106 ;;D^PATIENT
107 ;;R^"863.3:",.05,"E"
108 ;;D^GLUCO-CREATININE FLAG
109 ;;R^"863.3:","863.32:1",.01,"E"
110 ;;D^OCXO EXTERNAL FUNCTION CALL
111 ;;R^"863.3:","863.32:1",1,"E"
112 ;;D^GLCREAT^ORKPS(|PATIENT IEN|)
113 ;;R^"863.3:","863.32:2",.01,"E"
114 ;;D^OCXO UP-ARROW PIECE NUMBER
115 ;;R^"863.3:","863.32:2",1,"E"
116 ;;D^1
117 ;;EOR^
118 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_RSLT
119 ;;R^"863.3:",.01,"E"
120 ;;D^PATIENT.GLUCOPHAGE_CREAT_RSLT
121 ;;R^"863.3:",.02,"E"
122 ;;D^PATIENT
123 ;;R^"863.3:",.05,"E"
124 ;;D^GLUCO-CREATININE RESULT
125 ;;R^"863.3:","863.32:1",.01,"E"
126 ;;D^OCXO EXTERNAL FUNCTION CALL
127 ;;R^"863.3:","863.32:1",1,"E"
128 ;;D^GLCREAT^ORKPS(|PATIENT IEN|)
129 ;;R^"863.3:","863.32:2",.01,"E"
130 ;;D^OCXO UP-ARROW PIECE NUMBER
131 ;;R^"863.3:","863.32:2",1,"E"
132 ;;D^3
133 ;;EOR^
134 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_TEXT
135 ;;R^"863.3:",.01,"E"
136 ;;D^PATIENT.GLUCOPHAGE_CREAT_TEXT
137 ;;R^"863.3:",.02,"E"
138 ;;D^PATIENT
139 ;;R^"863.3:",.05,"E"
140 ;;D^GLUCO-CREATININE TEXT
141 ;;R^"863.3:","863.32:1",.01,"E"
142 ;;D^OCXO EXTERNAL FUNCTION CALL
143 ;;R^"863.3:","863.32:1",1,"E"
144 ;;D^GLCREAT^ORKPS(|PATIENT IEN|)
145 ;;R^"863.3:","863.32:2",.01,"E"
146 ;;D^OCXO UP-ARROW PIECE NUMBER
147 ;;R^"863.3:","863.32:2",1,"E"
148 ;;D^2
149 ;;EOR^
150 ;;KEY^863.3:^PATIENT.HL7_FILLER
151 ;;R^"863.3:",.01,"E"
152 ;;D^PATIENT.HL7_FILLER
153 ;;R^"863.3:",.02,"E"
154 ;;D^PATIENT
155 ;;R^"863.3:",.04,"E"
156 ;;D^HL7
157 ;;R^"863.3:",.05,"E"
158 ;;D^HL7 FILLER
159 ;;R^"863.3:","863.32:1",.01,"E"
160 ;;D^OCXO VT-BAR PIECE NUMBER
161 ;;R^"863.3:","863.32:2",.01,"E"
162 ;;D^OCXO UP-ARROW PIECE NUMBER
163 ;;R^"863.3:","863.32:2",1,"E"
164 ;;D^2
165 ;;R^"863.3:","863.32:3",.01,"E"
166 ;;D^OCXO VARIABLE NAME
167 ;;R^"863.3:","863.32:3",1,"E"
168 ;;D^OCXODATA("ORC",3)
169 ;;R^"863.3:","863.32:4",.01,"E"
170 ;;D^OCXO HL7 SEGMENT ID
171 ;;R^"863.3:","863.32:5",.01,"E"
172 ;;D^OCXO DATA DRIVE SOURCE
173 ;;R^"863.3:","863.32:5",1,"E"
174 ;;D^HL7
175 ;;R^"863.3:","863.32:6",.01,"E"
176 ;;D^OCXO FILE POINTER
177 ;;EOR^
178 ;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
179 ;;R^"863.3:",.01,"E"
180 ;;D^PATIENT.HL7_PATIENT_ID
181 ;;R^"863.3:",.02,"E"
182 ;;D^PATIENT
183 ;;R^"863.3:",.04,"E"
184 ;;D^HL7
185 ;;R^"863.3:",.05,"E"
186 ;;D^IEN
187 ;;R^"863.3:",.06,"E"
188 ;;D^99
189 ;;R^"863.3:","863.32:1",.01,"E"
190 ;;D^OCXO HL7 SEGMENT ID
191 ;;R^"863.3:","863.32:2",.01,"E"
192 ;;D^OCXO VT-BAR PIECE NUMBER
193 ;;R^"863.3:","863.32:3",.01,"E"
194 ;;D^OCXO VARIABLE NAME
195 ;;R^"863.3:","863.32:3",1,"E"
196 ;;D^OCXODATA("PID",3)
197 ;;EOR^
198 ;;KEY^863.3:^PATIENT.IEN
199 ;;R^"863.3:",.01,"E"
200 ;;D^PATIENT.IEN
201 ;;R^"863.3:",.02,"E"
202 ;;D^PATIENT
203 ;;R^"863.3:",.05,"E"
204 ;;D^IEN
205 ;;R^"863.3:",.06,"E"
206 ;;D^99
207 ;;R^"863.3:","863.32:1",.01,"E"
208 ;;D^OCXO VARIABLE NAME
209 ;;R^"863.3:","863.32:1",1,"E"
210 ;;D^DFN
211 ;;EOR^
212 ;;KEY^863.3:^PATIENT.OERR_ORDER_PATIENT
213 ;;R^"863.3:",.01,"E"
214 ;;D^PATIENT.OERR_ORDER_PATIENT
215 ;;R^"863.3:",.02,"E"
216 ;;D^PATIENT
217 ;;R^"863.3:",.05,"E"
218 ;;D^ORDER PATIENT
219 ;;R^"863.3:",.06,"E"
220 ;;D^5567
221 ;;R^"863.3:","863.32:1",.01,"E"
222 ;;D^OCXO VARIABLE NAME
223 ;;R^"863.3:","863.32:1",1,"E"
224 ;;D^OCXORD
225 ;;R^"863.3:","863.32:2",.01,"E"
226 ;;D^OCXO UP-ARROW PIECE NUMBER
227 ;;R^"863.3:","863.32:2",1,"E"
228 ;;D^1
229 ;;EOR^
230 ;;KEY^863.3:^PATIENT.OPS_FILLER
231 ;;R^"863.3:",.01,"E"
232 ;;D^PATIENT.OPS_FILLER
233 ;;R^"863.3:",.02,"E"
234 ;;D^PATIENT
235 ;;R^"863.3:",.04,"E"
236 ;;D^OPS
237 ;;R^"863.3:",.05,"E"
238 ;;D^FILLER
239 ;;R^"863.3:",.06,"E"
240 ;;D^99
241 ;;R^"863.3:","863.32:1",.01,"E"
242 ;;D^OCXO VARIABLE NAME
243 ;;R^"863.3:","863.32:1",1,"E"
244 ;;D^OCXPSD
245 ;;R^"863.3:","863.32:2",.01,"E"
246 ;;D^OCXO VT-BAR PIECE NUMBER
247 ;;R^"863.3:","863.32:2",1,"E"
248 ;;D^1
249 ;;EOR^
250 ;;KEY^863.3:^PATIENT.OPS_LOCAL_TEXT
251 ;;R^"863.3:",.01,"E"
252 ;;D^PATIENT.OPS_LOCAL_TEXT
253 ;;R^"863.3:",.02,"E"
254 ;;D^PATIENT
255 ;;R^"863.3:",.04,"E"
256 ;;D^OPS
257 ;;R^"863.3:",.05,"E"
258 ;;D^LOCAL TEXT
259 ;;R^"863.3:",.06,"E"
260 ;;D^99
261 ;;R^"863.3:","863.32:1",.01,"E"
262 ;;D^OCXO UP-ARROW PIECE NUMBER
263 ;;R^"863.3:","863.32:1",1,"E"
264 ;;D^5
265 ;;R^"863.3:","863.32:2",.01,"E"
266 ;;D^OCXO VT-BAR PIECE NUMBER
267 ;;R^"863.3:","863.32:2",1,"E"
268 ;;D^2
269 ;;R^"863.3:","863.32:3",.01,"E"
270 ;;D^OCXO VARIABLE NAME
271 ;;R^"863.3:","863.32:3",1,"E"
272 ;;D^OCXPSD
273 ;;EOR^
274 ;;KEY^863.3:^PATIENT.OPS_NAT_ID
275 ;;R^"863.3:",.01,"E"
276 ;;D^PATIENT.OPS_NAT_ID
277 ;;R^"863.3:",.02,"E"
278 ;;D^PATIENT
279 ;;R^"863.3:",.04,"E"
280 ;;D^OPS
281 ;;R^"863.3:",.05,"E"
282 ;;D^NATIONAL ID
283 ;;R^"863.3:",.06,"E"
284 ;;D^99
285 ;;R^"863.3:","863.32:1",.01,"E"
286 ;;D^OCXO VARIABLE NAME
287 ;;R^"863.3:","863.32:1",1,"E"
288 ;;D^OCXPSD
289 ;;R^"863.3:","863.32:2",.01,"E"
290 ;;D^OCXO VT-BAR PIECE NUMBER
291 ;;R^"863.3:","863.32:2",1,"E"
292 ;;D^2
293 ;;R^"863.3:","863.32:3",.01,"E"
294 ;;D^OCXO UP-ARROW PIECE NUMBER
295 ;;R^"863.3:","863.32:3",1,"E"
296 ;;D^1
297 ;;EOR^
298 ;;KEY^863.3:^PATIENT.OPS_ORD_MODE
299 ;;R^"863.3:",.01,"E"
300 ;;D^PATIENT.OPS_ORD_MODE
301 ;;R^"863.3:",.02,"E"
302 ;;D^PATIENT
303 ;;R^"863.3:",.04,"E"
304 ;;D^OPS
305 ;;R^"863.3:",.05,"E"
306 ;;D^ORDER MODE
307 ;;R^"863.3:",.06,"E"
308 ;;D^99
309 ;;R^"863.3:","863.32:1",.01,"E"
310 ;;D^OCXO VARIABLE NAME
311 ;;R^"863.3:","863.32:1",1,"E"
312 ;;D^OCXPSM
313 ;;EOR^
314 ;;KEY^863.3:^PATIENT.ORDER_ITEM_IEN
315 ;;R^"863.3:",.01,"E"
316 ;;D^PATIENT.ORDER_ITEM_IEN
317 ;;R^"863.3:",.02,"E"
318 ;;D^PATIENT
319 ;;R^"863.3:",.05,"E"
320 ;;D^ORDERABLE ITEM IEN
321 ;;R^"863.3:",.06,"E"
322 ;;D^99
323 ;;R^"863.3:","863.32:1",.01,"E"
324 ;;D^OCXO VARIABLE NAME
325 ;;R^"863.3:","863.32:1",1,"E"
326 ;;D^OCXPSD
327 ;;R^"863.3:","863.32:2",.01,"E"
328 ;;D^OCXO VT-BAR PIECE NUMBER
329 ;1;
330 ;
Note: See TracBrowser for help on using the repository browser.