source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/ORY24307.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.3 KB
Line 
1ORY24307 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*243) ;NOV 2,2006 at 12:05
2 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**243**;Dec 17,1997;Build 242
3 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
4 ;
5S ;
6 ;
7 D DOT^ORY243ES
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 ^ORY24308
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;R^"860.8:",100,74
21 ;;D^ ; ;
22 ;;R^"860.8:",100,75
23 ;;D^ ; Q
24 ;;R^"860.8:",100,76
25 ;;D^ ; ;
26 ;;R^"860.8:",100,77
27 ;;D^ ; ;
28 ;;EOR^
29 ;;KEY^860.8:^RETURN POINTED TO VALUE
30 ;;R^"860.8:",.01,"E"
31 ;;D^RETURN POINTED TO VALUE
32 ;;R^"860.8:",.02,"E"
33 ;;D^POINTER
34 ;;R^"860.8:",1,1
35 ;;D^ ;POINTER(OCXFILE,D0) ; This Local Extrinsic Function gets the value of the name field
36 ;;R^"860.8:",1,2
37 ;;D^ ; ; of record D0 in file OCXFILE
38 ;;R^"860.8:",100,1
39 ;;D^ ;POINTER(OCXFILE,D0) ; This Local Extrinsic Function gets the value of the name field
40 ;;R^"860.8:",100,2
41 ;;D^ ; ; of record D0 in file OCXFILE
42 ;;R^"860.8:",100,3
43 ;;D^T+; I $G(OCXTRACE) W !,"%%%%",?20," FILE: ",$G(OCXFILE)," D0: ",$G(D0)
44 ;;R^"860.8:",100,4
45 ;;D^ ; Q:'$G(D0) "" Q:'$L($G(OCXFILE)) ""
46 ;;R^"860.8:",100,5
47 ;;D^ ; N GLREF
48 ;;R^"860.8:",100,6
49 ;;D^ ; I '(OCXFILE=(+OCXFILE)) S GLREF=U_OCXFILE
50 ;;R^"860.8:",100,7
51 ;;D^ ; E S GLREF=$$FILE^OCXBDTD(+OCXFILE,"GLOBAL NAME") Q:'$L(GLREF) ""
52 ;;R^"860.8:",100,8
53 ;;D^T+; I $G(OCXTRACE) W !,"%%%%",?20," GLREF: ",GLREF," RESOLVES TO: ",$P($G(@(GLREF_(+D0)_",0)")),U,1)
54 ;;R^"860.8:",100,9
55 ;;D^ ; Q $P($G(@(GLREF_(+D0)_",0)")),U,1)
56 ;;R^"860.8:",100,10
57 ;;D^ ; ;
58 ;;EOR^
59 ;;KEY^860.8:^STRING CONTAINS ONE OF A LIST OF VALUES
60 ;;R^"860.8:",.01,"E"
61 ;;D^STRING CONTAINS ONE OF A LIST OF VALUES
62 ;;R^"860.8:",.02,"E"
63 ;;D^CLIST
64 ;;R^"860.8:",100,1
65 ;;D^ ;CLIST(DATA,LIST) ; DOES THE DATA FIELD CONTAIN AN ELEMENT IN THE LIST
66 ;;R^"860.8:",100,2
67 ;;D^ ; ;
68 ;;R^"860.8:",100,3
69 ;;D^T+; W:$G(OCXTRACE) !!,"$$CLIST(",DATA,",""",LIST,""")"
70 ;;R^"860.8:",100,4
71 ;;D^ ; N PC F PC=1:1:$L(LIST,","),0 I PC,$L($P(LIST,",",PC)),(DATA[$P(LIST,",",PC)) Q
72 ;;R^"860.8:",100,5
73 ;;D^ ; Q ''PC
74 ;;EOR^
75 ;;EOF^OCXS(860.8)^1
76 ;;SOF^860.6 ORDER CHECK DATA CONTEXT
77 ;;KEY^860.6:^CPRS ORDER PRESCAN
78 ;;R^"860.6:",.01,"E"
79 ;;D^CPRS ORDER PRESCAN
80 ;;R^"860.6:",.02,"E"
81 ;;D^OEPS
82 ;;R^"860.6:",1,"E"
83 ;;D^DATA DRIVEN
84 ;;EOR^
85 ;;KEY^860.6:^CPRS ORDER PROTOCOL
86 ;;R^"860.6:",.01,"E"
87 ;;D^CPRS ORDER PROTOCOL
88 ;;R^"860.6:",.02,"E"
89 ;;D^OERR
90 ;;R^"860.6:",1,"E"
91 ;;D^DATA DRIVEN
92 ;;EOR^
93 ;;KEY^860.6:^DATABASE LOOKUP
94 ;;R^"860.6:",.01,"E"
95 ;;D^DATABASE LOOKUP
96 ;;R^"860.6:",.02,"E"
97 ;;D^DL
98 ;;R^"860.6:",1,"E"
99 ;;D^PACKAGE LOOKUP
100 ;;EOR^
101 ;;KEY^860.6:^GENERIC HL7 MESSAGE ARRAY
102 ;;R^"860.6:",.01,"E"
103 ;;D^GENERIC HL7 MESSAGE ARRAY
104 ;;R^"860.6:",.02,"E"
105 ;;D^HL7
106 ;;R^"860.6:",1,"E"
107 ;;D^DATA DRIVEN
108 ;;EOR^
109 ;;EOF^OCXS(860.6)^1
110 ;;SOF^860.5 ORDER CHECK DATA SOURCE
111 ;;KEY^860.5:^DATABASE LOOKUP
112 ;;R^"860.5:",.01,"E"
113 ;;D^DATABASE LOOKUP
114 ;;R^"860.5:",.02,"E"
115 ;;D^DATABASE LOOKUP
116 ;;EOR^
117 ;;KEY^860.5:^HL7 COMMON ORDER SEGMENT
118 ;;R^"860.5:",.01,"E"
119 ;;D^HL7 COMMON ORDER SEGMENT
120 ;;R^"860.5:",.02,"E"
121 ;;D^GENERIC HL7 MESSAGE ARRAY
122 ;;EOR^
123 ;;KEY^860.5:^HL7 PATIENT ID SEGMENT
124 ;;R^"860.5:",.01,"E"
125 ;;D^HL7 PATIENT ID SEGMENT
126 ;;R^"860.5:",.02,"E"
127 ;;D^GENERIC HL7 MESSAGE ARRAY
128 ;;EOR^
129 ;;KEY^860.5:^OERR ORDER EVENT FLAG PROTOCOL
130 ;;R^"860.5:",.01,"E"
131 ;;D^OERR ORDER EVENT FLAG PROTOCOL
132 ;;R^"860.5:",.02,"E"
133 ;;D^CPRS ORDER PROTOCOL
134 ;;EOR^
135 ;;KEY^860.5:^ORDER ENTRY ORDER PRESCAN
136 ;;R^"860.5:",.01,"E"
137 ;;D^ORDER ENTRY ORDER PRESCAN
138 ;;R^"860.5:",.02,"E"
139 ;;D^CPRS ORDER PRESCAN
140 ;;EOR^
141 ;;EOF^OCXS(860.5)^1
142 ;;SOF^860.4 ORDER CHECK DATA FIELD
143 ;;KEY^860.4:^CLOZAPINE ANC W/IN 7 FLAG
144 ;;R^"860.4:",.01,"E"
145 ;;D^CLOZAPINE ANC W/IN 7 FLAG
146 ;;R^"860.4:",1,"E"
147 ;;D^CLOZ ANC FLAG
148 ;;R^"860.4:",101,"E"
149 ;;D^BOOLEAN
150 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
151 ;;D^DATABASE LOOKUP
152 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
153 ;;D^DATABASE LOOKUP
154 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
155 ;;D^PATIENT.CLOZ_ANC_W/IN_7_FLAG
156 ;;EOR^
157 ;;KEY^860.4:^CLOZAPINE ANC W/IN 7 RESULT
158 ;;R^"860.4:",.01,"E"
159 ;;D^CLOZAPINE ANC W/IN 7 RESULT
160 ;;R^"860.4:",1,"E"
161 ;;D^CLOZ ANC RSLT
162 ;;R^"860.4:",101,"E"
163 ;;D^NUMERIC
164 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
165 ;;D^DATABASE LOOKUP
166 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
167 ;;D^DATABASE LOOKUP
168 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
169 ;;D^PATIENT.CLOZ_ANC_W/IN_7_RSLT
170 ;;EOR^
171 ;;KEY^860.4:^CLOZAPINE LAB RESULTS
172 ;;R^"860.4:",.01,"E"
173 ;;D^CLOZAPINE LAB RESULTS
174 ;;R^"860.4:",1,"E"
175 ;;D^CLOZ LAB RSLTS
176 ;;R^"860.4:",101,"E"
177 ;;D^FREE TEXT
178 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
179 ;;D^DATABASE LOOKUP
180 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
181 ;;D^DATABASE LOOKUP
182 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
183 ;;D^PATIENT.CLOZ_LAB_RESULTS
184 ;;EOR^
185 ;;KEY^860.4:^CLOZAPINE MED
186 ;;R^"860.4:",.01,"E"
187 ;;D^CLOZAPINE MED
188 ;;R^"860.4:",1,"E"
189 ;;D^CLOZAPINE
190 ;;R^"860.4:",101,"E"
191 ;;D^BOOLEAN
192 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
193 ;;D^DATABASE LOOKUP
194 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
195 ;;D^DATABASE LOOKUP
196 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
197 ;;D^PATIENT.CLOZAPINE MED
198 ;;EOR^
199 ;;KEY^860.4:^CLOZAPINE WBC W/IN 7 FLAG
200 ;;R^"860.4:",.01,"E"
201 ;;D^CLOZAPINE WBC W/IN 7 FLAG
202 ;;R^"860.4:",1,"E"
203 ;;D^CLOZ WBC FLAG
204 ;;R^"860.4:",101,"E"
205 ;;D^BOOLEAN
206 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
207 ;;D^DATABASE LOOKUP
208 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
209 ;;D^DATABASE LOOKUP
210 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
211 ;;D^PATIENT.CLOZ_WBC_W/IN_7_FLAG
212 ;;EOR^
213 ;;KEY^860.4:^CLOZAPINE WBC W/IN 7 RESULT
214 ;;R^"860.4:",.01,"E"
215 ;;D^CLOZAPINE WBC W/IN 7 RESULT
216 ;;R^"860.4:",1,"E"
217 ;;D^CLOZ WBC RSLT
218 ;;R^"860.4:",101,"E"
219 ;;D^NUMERIC
220 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
221 ;;D^DATABASE LOOKUP
222 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
223 ;;D^DATABASE LOOKUP
224 ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
225 ;;D^PATIENT.CLOZ_WBC_W/IN_7_RSLT
226 ;;EOR^
227 ;;KEY^860.4:^FILLER
228 ;;R^"860.4:",.01,"E"
229 ;;D^FILLER
230 ;;R^"860.4:",1,"E"
231 ;;D^FILL
232 ;;R^"860.4:",101,"E"
233 ;;D^FREE TEXT
234 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
235 ;;D^CPRS ORDER PRESCAN
236 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
237 ;;D^ORDER ENTRY ORDER PRESCAN
238 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
239 ;;D^PATIENT.OPS_FILLER
240 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
241 ;;D^GENERIC HL7 MESSAGE ARRAY
242 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
243 ;;D^HL7 COMMON ORDER SEGMENT
244 ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
245 ;;D^PATIENT.HL7_FILLER
246 ;;EOR^
247 ;;KEY^860.4:^ORDER MODE
248 ;;R^"860.4:",.01,"E"
249 ;;D^ORDER MODE
250 ;;R^"860.4:",101,"E"
251 ;;D^FREE TEXT
252 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
253 ;;D^CPRS ORDER PRESCAN
254 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
255 ;;D^ORDER ENTRY ORDER PRESCAN
256 ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
257 ;;D^PATIENT.OPS_ORD_MODE
258 ;;EOR^
259 ;;KEY^860.4:^PATIENT IEN
260 ;;R^"860.4:",.01,"E"
261 ;;D^PATIENT IEN
262 ;;R^"860.4:",101,"E"
263 ;;D^NUMERIC
264 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
265 ;;D^CPRS ORDER PROTOCOL
266 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
267 ;;D^OERR ORDER EVENT FLAG PROTOCOL
268 ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
269 ;1;
270 ;
Note: See TracBrowser for help on using the repository browser.