1 | OCXDI035 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
|
---|
2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
|
---|
3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
4 | ;
|
---|
5 | S ;
|
---|
6 | ;
|
---|
7 | D DOT^OCXDIAG
|
---|
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("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
|
---|
13 | ;
|
---|
14 | G ^OCXDI036
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^2
|
---|
21 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
22 | ;;D^RECENT SERUM CREATININE RESULT
|
---|
23 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
24 | ;;D^GREATER THAN
|
---|
25 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
26 | ;;D^1.5
|
---|
27 | ;;EOR^
|
---|
28 | ;;KEY^860.3:^NO CREATININE W/IN 60 DAYS
|
---|
29 | ;;R^"860.3:",.01,"E"
|
---|
30 | ;;D^NO CREATININE W/IN 60 DAYS
|
---|
31 | ;;R^"860.3:",.02,"E"
|
---|
32 | ;;D^DATABASE LOOKUP
|
---|
33 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
34 | ;;D^1
|
---|
35 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
36 | ;;D^RECENT SERUM CREATININE FLAG
|
---|
37 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
38 | ;;D^LOGICAL FALSE
|
---|
39 | ;;EOR^
|
---|
40 | ;;KEY^860.3:^SITE FLAGGED FINAL CONSULT RESULT
|
---|
41 | ;;R^"860.3:",.01,"E"
|
---|
42 | ;;D^SITE FLAGGED FINAL CONSULT RESULT
|
---|
43 | ;;R^"860.3:",.02,"E"
|
---|
44 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
45 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
46 | ;;D^1
|
---|
47 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
48 | ;;D^FILLER
|
---|
49 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
50 | ;;D^EQ FREE TEXT
|
---|
51 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
52 | ;;D^GMRC
|
---|
53 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
54 | ;;D^2
|
---|
55 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
56 | ;;D^REQUEST STATUS (OBR)
|
---|
57 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
58 | ;;D^EQ FREE TEXT
|
---|
59 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
60 | ;;D^F
|
---|
61 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
62 | ;;D^3
|
---|
63 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
64 | ;;D^SITE FLAGGED RESULT
|
---|
65 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
66 | ;;D^LOGICAL TRUE
|
---|
67 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
68 | ;;D^4
|
---|
69 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
70 | ;;D^CONTROL CODE
|
---|
71 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
72 | ;;D^EQUALS ELEMENT IN SET
|
---|
73 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
74 | ;;D^RE
|
---|
75 | ;;EOR^
|
---|
76 | ;;KEY^860.3:^STAT CONSULT RESULT
|
---|
77 | ;;R^"860.3:",.01,"E"
|
---|
78 | ;;D^STAT CONSULT RESULT
|
---|
79 | ;;R^"860.3:",.02,"E"
|
---|
80 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
81 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
82 | ;;D^1
|
---|
83 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
84 | ;;D^FILLER
|
---|
85 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
86 | ;;D^EQ FREE TEXT
|
---|
87 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
88 | ;;D^GMRC
|
---|
89 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
90 | ;;D^2
|
---|
91 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
92 | ;;D^REQUEST STATUS (OBR)
|
---|
93 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
94 | ;;D^EQ FREE TEXT
|
---|
95 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
96 | ;;D^F
|
---|
97 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
98 | ;;D^3
|
---|
99 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
100 | ;;D^ORDER PRIORITY (ORC)
|
---|
101 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
102 | ;;D^EQ FREE TEXT
|
---|
103 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
104 | ;;D^S
|
---|
105 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
106 | ;;D^4
|
---|
107 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
108 | ;;D^CONTROL CODE
|
---|
109 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
110 | ;;D^EQUALS ELEMENT IN SET
|
---|
111 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
112 | ;;D^RE
|
---|
113 | ;;EOR^
|
---|
114 | ;;KEY^860.3:^GLUCOPHAGE CREATININE > 1.5
|
---|
115 | ;;R^"860.3:",.01,"E"
|
---|
116 | ;;D^GLUCOPHAGE CREATININE > 1.5
|
---|
117 | ;;R^"860.3:",.02,"E"
|
---|
118 | ;;D^DATABASE LOOKUP
|
---|
119 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
120 | ;;D^1
|
---|
121 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
122 | ;;D^RECENT GLUCOPHAGE CREATININE RESULT
|
---|
123 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
124 | ;;D^GREATER THAN
|
---|
125 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
126 | ;;D^1.5
|
---|
127 | ;;EOR^
|
---|
128 | ;;KEY^860.3:^NO GLUCOPHAGE CREATININE
|
---|
129 | ;;R^"860.3:",.01,"E"
|
---|
130 | ;;D^NO GLUCOPHAGE CREATININE
|
---|
131 | ;;R^"860.3:",.02,"E"
|
---|
132 | ;;D^DATABASE LOOKUP
|
---|
133 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
134 | ;;D^1
|
---|
135 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
136 | ;;D^RECENT GLUCOPHAGE CREATININE FLAG
|
---|
137 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
138 | ;;D^LOGICAL FALSE
|
---|
139 | ;;EOR^
|
---|
140 | ;;KEY^860.3:^GENERIC QUERY MODE
|
---|
141 | ;;R^"860.3:",.01,"E"
|
---|
142 | ;;D^GENERIC QUERY MODE
|
---|
143 | ;;R^"860.3:",.02,"E"
|
---|
144 | ;;D^GENERIC QUERY
|
---|
145 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
146 | ;;D^1
|
---|
147 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
148 | ;;D^GENERIC QUERY MODE
|
---|
149 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
150 | ;;D^EQ FREE TEXT
|
---|
151 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
152 | ;;D^TEST
|
---|
153 | ;;EOR^
|
---|
154 | ;;KEY^860.3:^CLOZAPINE ANC < 1.5
|
---|
155 | ;;R^"860.3:",.01,"E"
|
---|
156 | ;;D^CLOZAPINE ANC < 1.5
|
---|
157 | ;;R^"860.3:",.02,"E"
|
---|
158 | ;;D^CPRS ORDER PRESCAN
|
---|
159 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
160 | ;;D^4
|
---|
161 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
162 | ;;D^CLOZAPINE ANC W/IN 7 RESULT
|
---|
163 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
164 | ;;D^LESS THAN
|
---|
165 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
166 | ;;D^1.5
|
---|
167 | ;;R^"860.3:","860.31:5",.01,"E"
|
---|
168 | ;;D^5
|
---|
169 | ;;R^"860.3:","860.31:5",1,"E"
|
---|
170 | ;;D^CLOZAPINE ANC W/IN 7 FLAG
|
---|
171 | ;;R^"860.3:","860.31:5",2,"E"
|
---|
172 | ;;D^LOGICAL TRUE
|
---|
173 | ;;EOR^
|
---|
174 | ;;KEY^860.3:^CLOZAPINE ANC >= 1.5
|
---|
175 | ;;R^"860.3:",.01,"E"
|
---|
176 | ;;D^CLOZAPINE ANC >= 1.5
|
---|
177 | ;;R^"860.3:",.02,"E"
|
---|
178 | ;;D^CPRS ORDER PRESCAN
|
---|
179 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
180 | ;;D^1
|
---|
181 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
182 | ;;D^CLOZAPINE ANC W/IN 7 RESULT
|
---|
183 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
184 | ;;D^GREATER THAN
|
---|
185 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
186 | ;;D^1.499
|
---|
187 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
188 | ;;D^2
|
---|
189 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
190 | ;;D^CLOZAPINE ANC W/IN 7 FLAG
|
---|
191 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
192 | ;;D^LOGICAL TRUE
|
---|
193 | ;;EOR^
|
---|
194 | ;;KEY^860.3:^CLOZAPINE DRUG SELECTED
|
---|
195 | ;;R^"860.3:",.01,"E"
|
---|
196 | ;;D^CLOZAPINE DRUG SELECTED
|
---|
197 | ;;R^"860.3:",.02,"E"
|
---|
198 | ;;D^CPRS ORDER PRESCAN
|
---|
199 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
200 | ;;D^1
|
---|
201 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
202 | ;;D^ORDER MODE
|
---|
203 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
204 | ;;D^EQ FREE TEXT
|
---|
205 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
206 | ;;D^SELECT
|
---|
207 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
208 | ;;D^2
|
---|
209 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
210 | ;;D^FILLER
|
---|
211 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
212 | ;;D^STARTS WITH
|
---|
213 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
214 | ;;D^PS
|
---|
215 | ;;R^"860.3:","860.31:5",.01,"E"
|
---|
216 | ;;D^5
|
---|
217 | ;;R^"860.3:","860.31:5",1,"E"
|
---|
218 | ;;D^CLOZAPINE MED
|
---|
219 | ;;R^"860.3:","860.31:5",2,"E"
|
---|
220 | ;;D^LOGICAL TRUE
|
---|
221 | ;;EOR^
|
---|
222 | ;;KEY^860.3:^CLOZAPINE NO ANC W/IN 7 DAYS
|
---|
223 | ;;R^"860.3:",.01,"E"
|
---|
224 | ;1;
|
---|
225 | ;
|
---|