source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/ORY2210B.m@ 1226

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

initial load of WorldVistAEHR

File size: 7.4 KB
Line 
1ORY2210B ;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 ^ORY2210C
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^DATABASE LOOKUP
21 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
22 ;;D^PATIENT.GLUCOPHAGE_CREAT_TEXT
23 ;;EOR^
24 ;;KEY^860.4:^VA DRUG CLASS
25 ;;R^"860.4:",.01,"E"
26 ;;D^VA DRUG CLASS
27 ;;R^"860.4:",101,"E"
28 ;;D^FREE TEXT
29 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
30 ;;D^DATABASE LOOKUP
31 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
32 ;;D^DATABASE LOOKUP
33 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
34 ;;D^PATIENT.DRUG_CLASS
35 ;;EOR^
36 ;;EOF^OCXS(860.4)^1
37 ;;SOF^860.3 ORDER CHECK ELEMENT
38 ;;KEY^860.3:^AMINOGLYCOSIDE ORDER SESSION
39 ;;R^"860.3:",.01,"E"
40 ;;D^AMINOGLYCOSIDE ORDER SESSION
41 ;;R^"860.3:",.02,"E"
42 ;;D^CPRS ORDER PRESCAN
43 ;;R^"860.3:","860.31:1",.01,"E"
44 ;;D^1
45 ;;R^"860.3:","860.31:1",1,"E"
46 ;;D^ORDER MODE
47 ;;R^"860.3:","860.31:1",2,"E"
48 ;;D^EQ FREE TEXT
49 ;;R^"860.3:","860.31:1",3,"E"
50 ;;D^SESSION
51 ;;R^"860.3:","860.31:2",.01,"E"
52 ;;D^2
53 ;;R^"860.3:","860.31:2",1,"E"
54 ;;D^FILLER
55 ;;R^"860.3:","860.31:2",2,"E"
56 ;;D^STARTS WITH
57 ;;R^"860.3:","860.31:2",3,"E"
58 ;;D^PS
59 ;;R^"860.3:","860.31:3",.01,"E"
60 ;;D^3
61 ;;R^"860.3:","860.31:3",1,"E"
62 ;;D^VA DRUG CLASS
63 ;;R^"860.3:","860.31:3",2,"E"
64 ;;D^EQ FREE TEXT
65 ;;R^"860.3:","860.31:3",3,"E"
66 ;;D^AMINOGLYCOSIDES
67 ;;EOR^
68 ;;KEY^860.3:^CREATININE CLEARANCE DATE/TIME
69 ;;R^"860.3:",.01,"E"
70 ;;D^CREATININE CLEARANCE DATE/TIME
71 ;;R^"860.3:",.02,"E"
72 ;;D^DATABASE LOOKUP
73 ;;R^"860.3:","860.31:1",.01,"E"
74 ;;D^1
75 ;;R^"860.3:","860.31:1",1,"E"
76 ;;D^CREATININE CLEARANCE (ESTIM) DATE
77 ;;R^"860.3:","860.31:1",2,"E"
78 ;;D^DATE AFTER
79 ;;R^"860.3:","860.31:1",3,"E"
80 ;;D^0
81 ;;EOR^
82 ;;KEY^860.3:^CREATININE CLEARANCE ESTIMATE
83 ;;R^"860.3:",.01,"E"
84 ;;D^CREATININE CLEARANCE ESTIMATE
85 ;;R^"860.3:",.02,"E"
86 ;;D^CPRS ORDER PRESCAN
87 ;;R^"860.3:","860.31:1",.01,"E"
88 ;;D^1
89 ;;R^"860.3:","860.31:1",1,"E"
90 ;;D^ORDER MODE
91 ;;R^"860.3:","860.31:1",2,"E"
92 ;;D^EQ FREE TEXT
93 ;;R^"860.3:","860.31:1",3,"E"
94 ;;D^DISPLAY
95 ;;R^"860.3:","860.31:2",.01,"E"
96 ;;D^2
97 ;;R^"860.3:","860.31:2",1,"E"
98 ;;D^FILLER
99 ;;R^"860.3:","860.31:2",2,"E"
100 ;;D^STARTS WITH
101 ;;R^"860.3:","860.31:2",3,"E"
102 ;;D^PS
103 ;;R^"860.3:","860.31:3",.01,"E"
104 ;;D^3
105 ;;R^"860.3:","860.31:3",1,"E"
106 ;;D^CREATININE CLEARANCE (ESTIM) VALUE
107 ;;R^"860.3:","860.31:3",2,"E"
108 ;;D^LESS THAN
109 ;;R^"860.3:","860.31:3",3,"E"
110 ;;D^50
111 ;;R^"860.3:","860.31:4",.01,"E"
112 ;;D^4
113 ;;R^"860.3:","860.31:4",1,"E"
114 ;;D^CREATININE CLEARANCE (ESTIM) VALUE
115 ;;R^"860.3:","860.31:4",2,"E"
116 ;;D^GREATER THAN
117 ;;R^"860.3:","860.31:4",3,"E"
118 ;;D^0
119 ;;EOR^
120 ;;KEY^860.3:^GLUCOPHAGE CREATININE > 1.5
121 ;;R^"860.3:",.01,"E"
122 ;;D^GLUCOPHAGE CREATININE > 1.5
123 ;;R^"860.3:",.02,"E"
124 ;;D^DATABASE LOOKUP
125 ;;R^"860.3:","860.31:1",.01,"E"
126 ;;D^1
127 ;;R^"860.3:","860.31:1",1,"E"
128 ;;D^RECENT GLUCOPHAGE CREATININE RESULT
129 ;;R^"860.3:","860.31:1",2,"E"
130 ;;D^GREATER THAN
131 ;;R^"860.3:","860.31:1",3,"E"
132 ;;D^1.5
133 ;;EOR^
134 ;;KEY^860.3:^GLUCOPHAGE ORDER
135 ;;R^"860.3:",.01,"E"
136 ;;D^GLUCOPHAGE ORDER
137 ;;R^"860.3:",.02,"E"
138 ;;D^CPRS ORDER PRESCAN
139 ;;R^"860.3:","860.31:1",.01,"E"
140 ;;D^1
141 ;;R^"860.3:","860.31:1",1,"E"
142 ;;D^ORDER MODE
143 ;;R^"860.3:","860.31:1",2,"E"
144 ;;D^EQ FREE TEXT
145 ;;R^"860.3:","860.31:1",3,"E"
146 ;;D^SELECT
147 ;;R^"860.3:","860.31:2",.01,"E"
148 ;;D^2
149 ;;R^"860.3:","860.31:2",1,"E"
150 ;;D^FILLER
151 ;;R^"860.3:","860.31:2",2,"E"
152 ;;D^STARTS WITH
153 ;;R^"860.3:","860.31:2",3,"E"
154 ;;D^PS
155 ;;R^"860.3:","860.31:3",.01,"E"
156 ;;D^3
157 ;;R^"860.3:","860.31:3",1,"E"
158 ;;D^OI LOCAL TEXT
159 ;;R^"860.3:","860.31:3",2,"E"
160 ;;D^CONTAINS ELEMENT IN SET
161 ;;R^"860.3:","860.31:3",3,"E"
162 ;;D^GLUCOPHAGE,METFORMIN
163 ;;EOR^
164 ;;KEY^860.3:^NO GLUCOPHAGE CREATININE
165 ;;R^"860.3:",.01,"E"
166 ;;D^NO GLUCOPHAGE CREATININE
167 ;;R^"860.3:",.02,"E"
168 ;;D^DATABASE LOOKUP
169 ;;R^"860.3:","860.31:1",.01,"E"
170 ;;D^1
171 ;;R^"860.3:","860.31:1",1,"E"
172 ;;D^RECENT GLUCOPHAGE CREATININE FLAG
173 ;;R^"860.3:","860.31:1",2,"E"
174 ;;D^LOGICAL FALSE
175 ;;EOR^
176 ;;KEY^860.3:^PATIENT WITH GLUCOPHAGE MED
177 ;;R^"860.3:",.01,"E"
178 ;;D^PATIENT WITH GLUCOPHAGE MED
179 ;;R^"860.3:",.02,"E"
180 ;;D^DATABASE LOOKUP
181 ;;R^"860.3:","860.31:1",.01,"E"
182 ;;D^1
183 ;;R^"860.3:","860.31:1",1,"E"
184 ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
185 ;;R^"860.3:","860.31:1",2,"E"
186 ;;D^LOGICAL TRUE
187 ;;EOR^
188 ;;KEY^860.3:^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
189 ;;R^"860.3:",.01,"E"
190 ;;D^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
191 ;;R^"860.3:",.02,"E"
192 ;;D^CPRS ORDER PRESCAN
193 ;;R^"860.3:","860.31:2",.01,"E"
194 ;;D^2
195 ;;R^"860.3:","860.31:2",1,"E"
196 ;;D^ORDER MODE
197 ;;R^"860.3:","860.31:2",2,"E"
198 ;;D^EQ FREE TEXT
199 ;;R^"860.3:","860.31:2",3,"E"
200 ;;D^SELECT
201 ;;R^"860.3:","860.31:3",.01,"E"
202 ;;D^3
203 ;;R^"860.3:","860.31:3",1,"E"
204 ;;D^FILLER
205 ;;R^"860.3:","860.31:3",2,"E"
206 ;;D^EQ FREE TEXT
207 ;;R^"860.3:","860.31:3",3,"E"
208 ;;D^RA
209 ;;R^"860.3:","860.31:4",.01,"E"
210 ;;D^4
211 ;;R^"860.3:","860.31:4",1,"E"
212 ;;D^CONTRAST MEDIA CODE
213 ;;R^"860.3:","860.31:4",2,"E"
214 ;;D^CONTAINS ELEMENT IN SET
215 ;;R^"860.3:","860.31:4",3,"E"
216 ;;D^M,I,N
217 ;;EOR^
218 ;;KEY^860.3:^RENAL RESULTS
219 ;;R^"860.3:",.01,"E"
220 ;;D^RENAL RESULTS
221 ;;R^"860.3:",.02,"E"
222 ;;D^DATABASE LOOKUP
223 ;;R^"860.3:","860.31:1",.01,"E"
224 ;;D^1
225 ;;R^"860.3:","860.31:1",1,"E"
226 ;;D^FORMATTED RENAL LAB RESULTS
227 ;;R^"860.3:","860.31:1",2,"E"
228 ;;D^NOT EQUAL TO
229 ;;R^"860.3:","860.31:1",3,"E"
230 ;;D^<Results Not Found>
231 ;;EOR^
232 ;;EOF^OCXS(860.3)^1
233 ;;SOF^860.2 ORDER CHECK RULE
234 ;;KEY^860.2:^AMINOGLYCOSIDE ORDER
235 ;;R^"860.2:",.01,"E"
236 ;;D^AMINOGLYCOSIDE ORDER
237 ;;R^"860.2:","860.21:1",.01,"E"
238 ;;D^AGS ORDER
239 ;;R^"860.2:","860.21:1",1,"E"
240 ;;D^AMINOGLYCOSIDE ORDER SESSION
241 ;;R^"860.2:","860.22:1",.01,"E"
242 ;;D^1
243 ;;R^"860.2:","860.22:1",1,"E"
244 ;;D^AGS ORDER
245 ;;R^"860.2:","860.22:1",2,"E"
246 ;;D^AMINOGLYCOSIDE ORDERED
247 ;;R^"860.2:","860.22:1",6,"E"
248 ;;D^Aminoglycoside - est. CrCl: |CRCLV| (|FORMATTED RENAL LAB RESULTS|) [Est. CrCl based on modified Cockcroft-Gault equation using Adjusted Body Weight (if ht > 60 in)]
249 ;;EOR^
250 ;;KEY^860.2:^CREATININE CLEARANCE ESTIMATION
251 ;;R^"860.2:",.01,"E"
252 ;;D^CREATININE CLEARANCE ESTIMATION
253 ;;R^"860.2:","860.21:1",.01,"E"
254 ;;D^CREAT CLEAR
255 ;;R^"860.2:","860.21:1",.02,"E"
256 ;;D^SIMPLE DEFINITION
257 ;;R^"860.2:","860.21:1",1,"E"
258 ;;D^CREATININE CLEARANCE ESTIMATE
259 ;;R^"860.2:","860.21:2",.01,"E"
260 ;;D^CREATININE CLEARANCE DATE
261 ;;R^"860.2:","860.21:2",.02,"E"
262 ;;D^SIMPLE DEFINITION
263 ;;R^"860.2:","860.21:2",1,"E"
264 ;;D^CREATININE CLEARANCE DATE/TIME
265 ;;R^"860.2:","860.21:3",.01,"E"
266 ;;D^RENAL RESULTS
267 ;;R^"860.2:","860.21:3",.02,"E"
268 ;;D^SIMPLE DEFINITION
269 ;;R^"860.2:","860.21:3",1,"E"
270 ;;D^RENAL RESULTS
271 ;;R^"860.2:","860.22:1",.01,"E"
272 ;;D^1
273 ;;R^"860.2:","860.22:1",1,"E"
274 ;;D^IF CREAT CLEAR AND ( CREATININE CLEARANCE DATE OR RENAL RESULTS )
275 ;;R^"860.2:","860.22:1",2,"E"
276 ;;D^ESTIMATED CREATININE CLEARANCE
277 ;;R^"860.2:","860.22:1",6,"E"
278 ;;D^Est. CrCl: |CRCLV| (|FORMATTED RENAL LAB RESULTS|) [Est. CrCl based on modified Cockcroft-Gault equation using Adjusted Body Weight (if ht > 60 in.)]
279 ;;EOR^
280 ;;KEY^860.2:^GLUCOPHAGE - CONTRAST MEDIA
281 ;;R^"860.2:",.01,"E"
282 ;;D^GLUCOPHAGE - CONTRAST MEDIA
283 ;;R^"860.2:","860.21:1",.01,"E"
284 ;;D^PROC USES NON-BARIUM MEDIA
285 ;;R^"860.2:","860.21:1",.02,"E"
286 ;;D^SIMPLE DEFINITION
287 ;;R^"860.2:","860.21:1",1,"E"
288 ;;D^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
289 ;1;
290 ;
Note: See TracBrowser for help on using the repository browser.