source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/ORY21108.m@ 1396

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

initial load of WorldVistAEHR

File size: 7.1 KB
Line 
1ORY21108 ;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 ;
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^CPRS ORDER PRESCAN
21 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
22 ;;D^ORDER ENTRY ORDER PRESCAN
23 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
24 ;;D^PATIENT.ORDER_ITEM_IEN
25 ;;EOR^
26 ;;KEY^860.4:^PATIENT CURRENTLY ON GLUCOPHAGE
27 ;;R^"860.4:",.01,"E"
28 ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
29 ;;R^"860.4:",101,"E"
30 ;;D^BOOLEAN
31 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
32 ;;D^DATABASE LOOKUP
33 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
34 ;;D^DATABASE LOOKUP
35 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
36 ;;D^PATIENT.TAKING_GLUCOPHAGE
37 ;;EOR^
38 ;;KEY^860.4:^PATIENT IEN
39 ;;R^"860.4:",.01,"E"
40 ;;D^PATIENT IEN
41 ;;R^"860.4:",101,"E"
42 ;;D^NUMERIC
43 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
44 ;;D^CPRS ORDER PROTOCOL
45 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
46 ;;D^OERR ORDER EVENT FLAG PROTOCOL
47 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
48 ;;D^PATIENT.OERR_ORDER_PATIENT
49 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
50 ;;D^DATABASE LOOKUP
51 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
52 ;;D^DATABASE LOOKUP
53 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
54 ;;D^PATIENT.IEN
55 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
56 ;;D^GENERIC HL7 MESSAGE ARRAY
57 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
58 ;;D^HL7 PATIENT ID SEGMENT
59 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
60 ;;D^PATIENT.HL7_PATIENT_ID
61 ;;EOR^
62 ;;KEY^860.4:^RECENT CONTRAST MEDIA CREATININE DAYS
63 ;;R^"860.4:",.01,"E"
64 ;;D^RECENT CONTRAST MEDIA CREATININE DAYS
65 ;;R^"860.4:",1,"E"
66 ;;D^CM-CREAT DAYS
67 ;;R^"860.4:",101,"E"
68 ;;D^NUMERIC
69 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
70 ;;D^DATABASE LOOKUP
71 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
72 ;;D^DATABASE LOOKUP
73 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
74 ;;D^PATIENT.CM_CREAT_DAYS
75 ;;EOR^
76 ;;KEY^860.4:^RECENT CONTRAST MEDIA CREATININE FLAG
77 ;;R^"860.4:",.01,"E"
78 ;;D^RECENT CONTRAST MEDIA CREATININE FLAG
79 ;;R^"860.4:",1,"E"
80 ;;D^CM-CREAT FLAG
81 ;;R^"860.4:",101,"E"
82 ;;D^BOOLEAN
83 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
84 ;;D^DATABASE LOOKUP
85 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
86 ;;D^DATABASE LOOKUP
87 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
88 ;;D^PATIENT.CM_CREAT_FLAG
89 ;;EOR^
90 ;;EOF^OCXS(860.4)^1
91 ;;SOF^860.3 ORDER CHECK ELEMENT
92 ;;KEY^860.3:^ABNORMAL RENAL RESULTS
93 ;;R^"860.3:",.01,"E"
94 ;;D^ABNORMAL RENAL RESULTS
95 ;;R^"860.3:",.02,"E"
96 ;;D^CPRS ORDER PRESCAN
97 ;;R^"860.3:","860.31:1",.01,"E"
98 ;;D^1
99 ;;R^"860.3:","860.31:1",1,"E"
100 ;;D^MOST RECENT RENAL TEST ABNORMAL FLAG
101 ;;R^"860.3:","860.31:1",2,"E"
102 ;;D^LOGICAL TRUE
103 ;;EOR^
104 ;;KEY^860.3:^CONTRAST MEDIA ORDER
105 ;;R^"860.3:",.01,"E"
106 ;;D^CONTRAST MEDIA ORDER
107 ;;R^"860.3:",.02,"E"
108 ;;D^CPRS ORDER PRESCAN
109 ;;R^"860.3:","860.31:1",.01,"E"
110 ;;D^1
111 ;;R^"860.3:","860.31:1",1,"E"
112 ;;D^ORDER MODE
113 ;;R^"860.3:","860.31:1",2,"E"
114 ;;D^EQ FREE TEXT
115 ;;R^"860.3:","860.31:1",3,"E"
116 ;;D^SELECT
117 ;;R^"860.3:","860.31:4",.01,"E"
118 ;;D^4
119 ;;R^"860.3:","860.31:4",1,"E"
120 ;;D^CONTRAST MEDIA CODE
121 ;;R^"860.3:","860.31:4",2,"E"
122 ;;D^CONTAINS ELEMENT IN SET
123 ;;R^"860.3:","860.31:4",3,"E"
124 ;;D^M,I,N
125 ;;EOR^
126 ;;KEY^860.3:^NO CREAT RESULTS W/IN X DAYS
127 ;;R^"860.3:",.01,"E"
128 ;;D^NO CREAT RESULTS W/IN X DAYS
129 ;;R^"860.3:",.02,"E"
130 ;;D^CPRS ORDER PRESCAN
131 ;;R^"860.3:","860.31:1",.01,"E"
132 ;;D^1
133 ;;R^"860.3:","860.31:1",1,"E"
134 ;;D^RECENT CONTRAST MEDIA CREATININE FLAG
135 ;;R^"860.3:","860.31:1",2,"E"
136 ;;D^LOGICAL FALSE
137 ;;EOR^
138 ;;KEY^860.3:^PATIENT WITH GLUCOPHAGE MED
139 ;;R^"860.3:",.01,"E"
140 ;;D^PATIENT WITH GLUCOPHAGE MED
141 ;;R^"860.3:",.02,"E"
142 ;;D^DATABASE LOOKUP
143 ;;R^"860.3:","860.31:1",.01,"E"
144 ;;D^1
145 ;;R^"860.3:","860.31:1",1,"E"
146 ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
147 ;;R^"860.3:","860.31:1",2,"E"
148 ;;D^LOGICAL TRUE
149 ;;EOR^
150 ;;KEY^860.3:^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
151 ;;R^"860.3:",.01,"E"
152 ;;D^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
153 ;;R^"860.3:",.02,"E"
154 ;;D^CPRS ORDER PRESCAN
155 ;;R^"860.3:","860.31:2",.01,"E"
156 ;;D^2
157 ;;R^"860.3:","860.31:2",1,"E"
158 ;;D^ORDER MODE
159 ;;R^"860.3:","860.31:2",2,"E"
160 ;;D^EQ FREE TEXT
161 ;;R^"860.3:","860.31:2",3,"E"
162 ;;D^SELECT
163 ;;R^"860.3:","860.31:3",.01,"E"
164 ;;D^3
165 ;;R^"860.3:","860.31:3",1,"E"
166 ;;D^FILLER
167 ;;R^"860.3:","860.31:3",2,"E"
168 ;;D^EQ FREE TEXT
169 ;;R^"860.3:","860.31:3",3,"E"
170 ;;D^RA
171 ;;R^"860.3:","860.31:4",.01,"E"
172 ;;D^4
173 ;;R^"860.3:","860.31:4",1,"E"
174 ;;D^CONTRAST MEDIA CODE
175 ;;R^"860.3:","860.31:4",2,"E"
176 ;;D^CONTAINS ELEMENT IN SET
177 ;;R^"860.3:","860.31:4",3,"E"
178 ;;D^M,I,N
179 ;;EOR^
180 ;;EOF^OCXS(860.3)^1
181 ;;SOF^860.2 ORDER CHECK RULE
182 ;;KEY^860.2:^BIOCHEM ABNORMALITIES/CONTRAST MEDIA CHECK
183 ;;R^"860.2:",.01,"E"
184 ;;D^BIOCHEM ABNORMALITIES/CONTRAST MEDIA CHECK
185 ;;R^"860.2:","860.21:1",.01,"E"
186 ;;D^CONTRAST MEDIA ORDER
187 ;;R^"860.2:","860.21:1",.02,"E"
188 ;;D^SIMPLE DEFINITION
189 ;;R^"860.2:","860.21:1",1,"E"
190 ;;D^CONTRAST MEDIA ORDER
191 ;;R^"860.2:","860.21:2",.01,"E"
192 ;;D^ABNORMAL RENAL RESULTS
193 ;;R^"860.2:","860.21:2",.02,"E"
194 ;;D^SIMPLE DEFINITION
195 ;;R^"860.2:","860.21:2",1,"E"
196 ;;D^ABNORMAL RENAL RESULTS
197 ;;R^"860.2:","860.21:3",.01,"E"
198 ;;D^NO CREAT RESULTS W/IN X DAYS
199 ;;R^"860.2:","860.21:3",.02,"E"
200 ;;D^SIMPLE DEFINITION
201 ;;R^"860.2:","860.21:3",1,"E"
202 ;;D^NO CREAT RESULTS W/IN X DAYS
203 ;;R^"860.2:","860.22:1",.01,"E"
204 ;;D^1
205 ;;R^"860.2:","860.22:1",1,"E"
206 ;;D^CONTRAST MEDIA ORDER AND ABNORMAL RENAL RESULTS
207 ;;R^"860.2:","860.22:1",2,"E"
208 ;;D^BIOCHEM ABNORMALITY FOR CONTRAST MEDIA
209 ;;R^"860.2:","860.22:1",6,"E"
210 ;;D^Procedure uses intravenous contrast media - abnormal biochem result: |ABNORMAL RENAL BIOCHEM RESULTS|
211 ;;R^"860.2:","860.22:2",.01,"E"
212 ;;D^2
213 ;;R^"860.2:","860.22:2",1,"E"
214 ;;D^CONTRAST MEDIA ORDER AND NO CREAT RESULTS W/IN X DAYS
215 ;;R^"860.2:","860.22:2",2,"E"
216 ;;D^BIOCHEM ABNORMALITY FOR CONTRAST MEDIA
217 ;;R^"860.2:","860.22:2",6,"E"
218 ;;D^Procedure uses intravenous contrast media - no creatinine results within |CM-CREAT DAYS| days
219 ;;EOR^
220 ;;KEY^860.2:^GLUCOPHAGE - CONTRAST MEDIA
221 ;;R^"860.2:",.01,"E"
222 ;;D^GLUCOPHAGE - CONTRAST MEDIA
223 ;;R^"860.2:","860.21:1",.01,"E"
224 ;;D^PROC USES NON-BARIUM MEDIA
225 ;;R^"860.2:","860.21:1",.02,"E"
226 ;;D^SIMPLE DEFINITION
227 ;;R^"860.2:","860.21:1",1,"E"
228 ;;D^RADIOLOGY PROCEDURE CONTAINS NON-BARIUM CONTRAST MEDIA
229 ;;R^"860.2:","860.21:2",.01,"E"
230 ;;D^PATIENT TAKING GLUCOPHAGE
231 ;;R^"860.2:","860.21:2",.02,"E"
232 ;;D^SIMPLE DEFINITION
233 ;;R^"860.2:","860.21:2",1,"E"
234 ;;D^PATIENT WITH GLUCOPHAGE MED
235 ;;R^"860.2:","860.22:1",.01,"E"
236 ;;D^1
237 ;;R^"860.2:","860.22:1",1,"E"
238 ;;D^IF PROC USES NON-BARIUM MEDIA AND PATIENT TAKING GLUCOPHAGE
239 ;;R^"860.2:","860.22:1",2,"E"
240 ;;D^GLUCOPHAGE-CONTRAST MEDIA
241 ;;R^"860.2:","860.22:1",6,"E"
242 ;;D^Procedure uses intravenous contrast media and patient is taking metformin.
243 ;;EOR^
244 ;;EOF^OCXS(860.2)^1
245 ;1;
246 ;
Note: See TracBrowser for help on using the repository browser.