1 | ORY2210A ;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 | ;
|
---|
5 | S ;
|
---|
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 ^ORY2210B
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^HL7 COMMON ORDER SEGMENT
|
---|
21 | ;;R^"860.5:",.02,"E"
|
---|
22 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
23 | ;;EOR^
|
---|
24 | ;;KEY^860.5:^HL7 PATIENT ID SEGMENT
|
---|
25 | ;;R^"860.5:",.01,"E"
|
---|
26 | ;;D^HL7 PATIENT ID SEGMENT
|
---|
27 | ;;R^"860.5:",.02,"E"
|
---|
28 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
29 | ;;EOR^
|
---|
30 | ;;KEY^860.5:^OERR ORDER EVENT FLAG PROTOCOL
|
---|
31 | ;;R^"860.5:",.01,"E"
|
---|
32 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
33 | ;;R^"860.5:",.02,"E"
|
---|
34 | ;;D^CPRS ORDER PROTOCOL
|
---|
35 | ;;EOR^
|
---|
36 | ;;KEY^860.5:^ORDER ENTRY ORDER PRESCAN
|
---|
37 | ;;R^"860.5:",.01,"E"
|
---|
38 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
39 | ;;R^"860.5:",.02,"E"
|
---|
40 | ;;D^CPRS ORDER PRESCAN
|
---|
41 | ;;EOR^
|
---|
42 | ;;EOF^OCXS(860.5)^1
|
---|
43 | ;;SOF^860.4 ORDER CHECK DATA FIELD
|
---|
44 | ;;KEY^860.4:^CONTRAST MEDIA CODE
|
---|
45 | ;;R^"860.4:",.01,"E"
|
---|
46 | ;;D^CONTRAST MEDIA CODE
|
---|
47 | ;;R^"860.4:",1,"E"
|
---|
48 | ;;D^CMC
|
---|
49 | ;;R^"860.4:",101,"E"
|
---|
50 | ;;D^FREE TEXT
|
---|
51 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
52 | ;;D^DATABASE LOOKUP
|
---|
53 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
54 | ;;D^DATABASE LOOKUP
|
---|
55 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
56 | ;;D^PATIENT.CONTR_MED_CODE
|
---|
57 | ;;EOR^
|
---|
58 | ;;KEY^860.4:^CREATININE CLEARANCE (ESTIM) DATE
|
---|
59 | ;;R^"860.4:",.01,"E"
|
---|
60 | ;;D^CREATININE CLEARANCE (ESTIM) DATE
|
---|
61 | ;;R^"860.4:",1,"E"
|
---|
62 | ;;D^CRCLD
|
---|
63 | ;;R^"860.4:",101,"E"
|
---|
64 | ;;D^DATE/TIME
|
---|
65 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
66 | ;;D^DATABASE LOOKUP
|
---|
67 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
68 | ;;D^DATABASE LOOKUP
|
---|
69 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
70 | ;;D^PATIENT.CRCL_DATE
|
---|
71 | ;;EOR^
|
---|
72 | ;;KEY^860.4:^CREATININE CLEARANCE (ESTIM) VALUE
|
---|
73 | ;;R^"860.4:",.01,"E"
|
---|
74 | ;;D^CREATININE CLEARANCE (ESTIM) VALUE
|
---|
75 | ;;R^"860.4:",1,"E"
|
---|
76 | ;;D^CRCLV
|
---|
77 | ;;R^"860.4:",101,"E"
|
---|
78 | ;;D^NUMERIC
|
---|
79 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
80 | ;;D^DATABASE LOOKUP
|
---|
81 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
82 | ;;D^DATABASE LOOKUP
|
---|
83 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
84 | ;;D^PATIENT.CRCL_TEXT
|
---|
85 | ;;EOR^
|
---|
86 | ;;KEY^860.4:^FILLER
|
---|
87 | ;;R^"860.4:",.01,"E"
|
---|
88 | ;;D^FILLER
|
---|
89 | ;;R^"860.4:",1,"E"
|
---|
90 | ;;D^FILL
|
---|
91 | ;;R^"860.4:",101,"E"
|
---|
92 | ;;D^FREE TEXT
|
---|
93 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
94 | ;;D^CPRS ORDER PRESCAN
|
---|
95 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
96 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
97 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
98 | ;;D^PATIENT.OPS_FILLER
|
---|
99 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
|
---|
100 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
101 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
|
---|
102 | ;;D^HL7 COMMON ORDER SEGMENT
|
---|
103 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
|
---|
104 | ;;D^PATIENT.HL7_FILLER
|
---|
105 | ;;EOR^
|
---|
106 | ;;KEY^860.4:^FORMATTED RENAL LAB RESULTS
|
---|
107 | ;;R^"860.4:",.01,"E"
|
---|
108 | ;;D^FORMATTED RENAL LAB RESULTS
|
---|
109 | ;;R^"860.4:",101,"E"
|
---|
110 | ;;D^FREE TEXT
|
---|
111 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
112 | ;;D^DATABASE LOOKUP
|
---|
113 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
114 | ;;D^DATABASE LOOKUP
|
---|
115 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
116 | ;;D^PATIENT.REN_LAB_RES
|
---|
117 | ;;EOR^
|
---|
118 | ;;KEY^860.4:^OI LOCAL TEXT
|
---|
119 | ;;R^"860.4:",.01,"E"
|
---|
120 | ;;D^OI LOCAL TEXT
|
---|
121 | ;;R^"860.4:",101,"E"
|
---|
122 | ;;D^FREE TEXT
|
---|
123 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
124 | ;;D^CPRS ORDER PRESCAN
|
---|
125 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
126 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
127 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
128 | ;;D^PATIENT.OPS_LOCAL_TEXT
|
---|
129 | ;;EOR^
|
---|
130 | ;;KEY^860.4:^OI NATIONAL ID
|
---|
131 | ;;R^"860.4:",.01,"E"
|
---|
132 | ;;D^OI NATIONAL ID
|
---|
133 | ;;R^"860.4:",101,"E"
|
---|
134 | ;;D^FREE TEXT
|
---|
135 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
136 | ;;D^CPRS ORDER PRESCAN
|
---|
137 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
138 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
139 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
140 | ;;D^PATIENT.OPS_NAT_ID
|
---|
141 | ;;EOR^
|
---|
142 | ;;KEY^860.4:^ORDER MODE
|
---|
143 | ;;R^"860.4:",.01,"E"
|
---|
144 | ;;D^ORDER MODE
|
---|
145 | ;;R^"860.4:",101,"E"
|
---|
146 | ;;D^FREE TEXT
|
---|
147 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
148 | ;;D^CPRS ORDER PRESCAN
|
---|
149 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
150 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
151 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
152 | ;;D^PATIENT.OPS_ORD_MODE
|
---|
153 | ;;EOR^
|
---|
154 | ;;KEY^860.4:^ORDERABLE ITEM IEN
|
---|
155 | ;;R^"860.4:",.01,"E"
|
---|
156 | ;;D^ORDERABLE ITEM IEN
|
---|
157 | ;;R^"860.4:",101,"E"
|
---|
158 | ;;D^NUMERIC
|
---|
159 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
160 | ;;D^CPRS ORDER PRESCAN
|
---|
161 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
162 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
163 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
164 | ;;D^PATIENT.ORDER_ITEM_IEN
|
---|
165 | ;;EOR^
|
---|
166 | ;;KEY^860.4:^PATIENT CURRENTLY ON GLUCOPHAGE
|
---|
167 | ;;R^"860.4:",.01,"E"
|
---|
168 | ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
|
---|
169 | ;;R^"860.4:",101,"E"
|
---|
170 | ;;D^BOOLEAN
|
---|
171 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
172 | ;;D^DATABASE LOOKUP
|
---|
173 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
174 | ;;D^DATABASE LOOKUP
|
---|
175 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
176 | ;;D^PATIENT.TAKING_GLUCOPHAGE
|
---|
177 | ;;EOR^
|
---|
178 | ;;KEY^860.4:^PATIENT IEN
|
---|
179 | ;;R^"860.4:",.01,"E"
|
---|
180 | ;;D^PATIENT IEN
|
---|
181 | ;;R^"860.4:",101,"E"
|
---|
182 | ;;D^NUMERIC
|
---|
183 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
|
---|
184 | ;;D^CPRS ORDER PROTOCOL
|
---|
185 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
|
---|
186 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
187 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
|
---|
188 | ;;D^PATIENT.OERR_ORDER_PATIENT
|
---|
189 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
190 | ;;D^DATABASE LOOKUP
|
---|
191 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
192 | ;;D^DATABASE LOOKUP
|
---|
193 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
194 | ;;D^PATIENT.IEN
|
---|
195 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
|
---|
196 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
197 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
|
---|
198 | ;;D^HL7 PATIENT ID SEGMENT
|
---|
199 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
|
---|
200 | ;;D^PATIENT.HL7_PATIENT_ID
|
---|
201 | ;;EOR^
|
---|
202 | ;;KEY^860.4:^RECENT GLUCOPHAGE CREATININE DAYS
|
---|
203 | ;;R^"860.4:",.01,"E"
|
---|
204 | ;;D^RECENT GLUCOPHAGE CREATININE DAYS
|
---|
205 | ;;R^"860.4:",101,"E"
|
---|
206 | ;;D^NUMERIC
|
---|
207 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
208 | ;;D^DATABASE LOOKUP
|
---|
209 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
210 | ;;D^DATABASE LOOKUP
|
---|
211 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
212 | ;;D^PATIENT.GLUCOPHAGE_CREAT_DAYS
|
---|
213 | ;;EOR^
|
---|
214 | ;;KEY^860.4:^RECENT GLUCOPHAGE CREATININE FLAG
|
---|
215 | ;;R^"860.4:",.01,"E"
|
---|
216 | ;;D^RECENT GLUCOPHAGE CREATININE FLAG
|
---|
217 | ;;R^"860.4:",101,"E"
|
---|
218 | ;;D^BOOLEAN
|
---|
219 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
220 | ;;D^DATABASE LOOKUP
|
---|
221 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
222 | ;;D^DATABASE LOOKUP
|
---|
223 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
224 | ;;D^PATIENT.GLUCOPHAGE_CREAT_FLAG
|
---|
225 | ;;EOR^
|
---|
226 | ;;KEY^860.4:^RECENT GLUCOPHAGE CREATININE RESULT
|
---|
227 | ;;R^"860.4:",.01,"E"
|
---|
228 | ;;D^RECENT GLUCOPHAGE CREATININE RESULT
|
---|
229 | ;;R^"860.4:",101,"E"
|
---|
230 | ;;D^NUMERIC
|
---|
231 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
232 | ;;D^DATABASE LOOKUP
|
---|
233 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
234 | ;;D^DATABASE LOOKUP
|
---|
235 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
236 | ;;D^PATIENT.GLUCOPHAGE_CREAT_RSLT
|
---|
237 | ;;EOR^
|
---|
238 | ;;KEY^860.4:^RECENT GLUCOPHAGE CREATININE TEXT
|
---|
239 | ;;R^"860.4:",.01,"E"
|
---|
240 | ;;D^RECENT GLUCOPHAGE CREATININE TEXT
|
---|
241 | ;;R^"860.4:",101,"E"
|
---|
242 | ;;D^FREE TEXT
|
---|
243 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
244 | ;;D^DATABASE LOOKUP
|
---|
245 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
246 | ;1;
|
---|
247 | ;
|
---|