1 | OCXDI02U ;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 ^OCXDI02V
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;R^"860.4:",101,"E"
|
---|
21 | ;;D^BOOLEAN
|
---|
22 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
23 | ;;D^DATABASE LOOKUP
|
---|
24 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
25 | ;;D^DATABASE LOOKUP
|
---|
26 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
27 | ;;D^PATIENT.CLOZAPINE MED
|
---|
28 | ;;EOR^
|
---|
29 | ;;KEY^860.4:^GENERIC QUERY MODE
|
---|
30 | ;;R^"860.4:",.01,"E"
|
---|
31 | ;;D^GENERIC QUERY MODE
|
---|
32 | ;;R^"860.4:",1,"E"
|
---|
33 | ;;D^QUERY MODE
|
---|
34 | ;;R^"860.4:",101,"E"
|
---|
35 | ;;D^FREE TEXT
|
---|
36 | ;;R^"860.4:","860.41:7",.01,"E"
|
---|
37 | ;;D^GENERIC QUERY
|
---|
38 | ;;R^"860.4:","860.41:7",.02,"E"
|
---|
39 | ;;D^GENERIC QUERY RESULTS
|
---|
40 | ;;R^"860.4:","860.41:7",1,"E"
|
---|
41 | ;;D^QUERY.MODE
|
---|
42 | ;;EOR^
|
---|
43 | ;;KEY^860.4:^WBC W/IN 7 DAYS FLAG
|
---|
44 | ;;R^"860.4:",.01,"E"
|
---|
45 | ;;D^WBC W/IN 7 DAYS FLAG
|
---|
46 | ;;R^"860.4:",1,"E"
|
---|
47 | ;;D^WBC 7 DAYS
|
---|
48 | ;;R^"860.4:",101,"E"
|
---|
49 | ;;D^BOOLEAN
|
---|
50 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
51 | ;;D^DATABASE LOOKUP
|
---|
52 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
53 | ;;D^DATABASE LOOKUP
|
---|
54 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
55 | ;;D^PATIENT.WBC_W/IN_7_DAYS_FLAG
|
---|
56 | ;;EOR^
|
---|
57 | ;;KEY^860.4:^GENERIC QUERY DATA
|
---|
58 | ;;R^"860.4:",.01,"E"
|
---|
59 | ;;D^GENERIC QUERY DATA
|
---|
60 | ;;R^"860.4:",1,"E"
|
---|
61 | ;;D^QUERY DATA
|
---|
62 | ;;R^"860.4:",101,"E"
|
---|
63 | ;;D^FREE TEXT
|
---|
64 | ;;R^"860.4:","860.41:7",.01,"E"
|
---|
65 | ;;D^GENERIC QUERY
|
---|
66 | ;;R^"860.4:","860.41:7",.02,"E"
|
---|
67 | ;;D^GENERIC QUERY RESULTS
|
---|
68 | ;;R^"860.4:","860.41:7",1,"E"
|
---|
69 | ;;D^QUERY.DATA
|
---|
70 | ;;EOR^
|
---|
71 | ;;KEY^860.4:^CLOZAPINE ANC W/IN 7 FLAG
|
---|
72 | ;;R^"860.4:",.01,"E"
|
---|
73 | ;;D^CLOZAPINE ANC W/IN 7 FLAG
|
---|
74 | ;;R^"860.4:",1,"E"
|
---|
75 | ;;D^CLOZ ANC FLAG
|
---|
76 | ;;R^"860.4:",101,"E"
|
---|
77 | ;;D^BOOLEAN
|
---|
78 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
79 | ;;D^DATABASE LOOKUP
|
---|
80 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
81 | ;;D^DATABASE LOOKUP
|
---|
82 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
83 | ;;D^PATIENT.CLOZ_ANC_W/IN_7_FLAG
|
---|
84 | ;;EOR^
|
---|
85 | ;;KEY^860.4:^CLOZAPINE ANC W/IN 7 RESULT
|
---|
86 | ;;R^"860.4:",.01,"E"
|
---|
87 | ;;D^CLOZAPINE ANC W/IN 7 RESULT
|
---|
88 | ;;R^"860.4:",1,"E"
|
---|
89 | ;;D^CLOZ ANC RSLT
|
---|
90 | ;;R^"860.4:",101,"E"
|
---|
91 | ;;D^NUMERIC
|
---|
92 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
93 | ;;D^DATABASE LOOKUP
|
---|
94 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
95 | ;;D^DATABASE LOOKUP
|
---|
96 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
97 | ;;D^PATIENT.CLOZ_ANC_W/IN_7_RSLT
|
---|
98 | ;;EOR^
|
---|
99 | ;;KEY^860.4:^CLOZAPINE FORMATTED LAB RESULTS
|
---|
100 | ;;R^"860.4:",.01,"E"
|
---|
101 | ;;D^CLOZAPINE FORMATTED LAB RESULTS
|
---|
102 | ;;R^"860.4:",101,"E"
|
---|
103 | ;;D^FREE TEXT
|
---|
104 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
105 | ;;D^DATABASE LOOKUP
|
---|
106 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
107 | ;;D^DATABASE LOOKUP
|
---|
108 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
109 | ;;D^PATIENT.CLOZ_LAB_RESULTS
|
---|
110 | ;;EOR^
|
---|
111 | ;;KEY^860.4:^CLOZAPINE WBC W/IN 7 FLAG
|
---|
112 | ;;R^"860.4:",.01,"E"
|
---|
113 | ;;D^CLOZAPINE WBC W/IN 7 FLAG
|
---|
114 | ;;R^"860.4:",1,"E"
|
---|
115 | ;;D^CLOZ WBC FLAG
|
---|
116 | ;;R^"860.4:",101,"E"
|
---|
117 | ;;D^BOOLEAN
|
---|
118 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
119 | ;;D^DATABASE LOOKUP
|
---|
120 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
121 | ;;D^DATABASE LOOKUP
|
---|
122 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
123 | ;;D^PATIENT.CLOZ_WBC_W/IN_7_FLAG
|
---|
124 | ;;EOR^
|
---|
125 | ;;KEY^860.4:^CLOZAPINE WBC W/IN 7 RESULT
|
---|
126 | ;;R^"860.4:",.01,"E"
|
---|
127 | ;;D^CLOZAPINE WBC W/IN 7 RESULT
|
---|
128 | ;;R^"860.4:",1,"E"
|
---|
129 | ;;D^CLOZ WBC RSLT
|
---|
130 | ;;R^"860.4:",101,"E"
|
---|
131 | ;;D^NUMERIC
|
---|
132 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
133 | ;;D^DATABASE LOOKUP
|
---|
134 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
135 | ;;D^DATABASE LOOKUP
|
---|
136 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
137 | ;;D^PATIENT.CLOZ_WBC_W/IN_7_RSLT
|
---|
138 | ;;EOR^
|
---|
139 | ;;EOF^OCXS(860.4)^1
|
---|
140 | ;;SOF^860.3 ORDER CHECK ELEMENT
|
---|
141 | ;;KEY^860.3:^HL7 ITEM-CANCELLED MESSAGE
|
---|
142 | ;;R^"860.3:",.01,"E"
|
---|
143 | ;;D^HL7 ITEM-CANCELLED MESSAGE
|
---|
144 | ;;R^"860.3:",.02,"E"
|
---|
145 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
146 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
147 | ;;D^1
|
---|
148 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
149 | ;;D^CONTROL CODE
|
---|
150 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
151 | ;;D^EQ FREE TEXT
|
---|
152 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
153 | ;;D^OC
|
---|
154 | ;;EOR^
|
---|
155 | ;;KEY^860.3:^CONSULT/REQUEST ORDER
|
---|
156 | ;;R^"860.3:",.01,"E"
|
---|
157 | ;;D^CONSULT/REQUEST ORDER
|
---|
158 | ;;R^"860.3:",.02,"E"
|
---|
159 | ;;D^CPRS ORDER PRESCAN
|
---|
160 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
161 | ;;D^1
|
---|
162 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
163 | ;;D^FILLER
|
---|
164 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
165 | ;;D^EQ FREE TEXT
|
---|
166 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
167 | ;;D^GMRC
|
---|
168 | ;;EOR^
|
---|
169 | ;;KEY^860.3:^HL7 ITEM-ON-HOLD MESSAGE
|
---|
170 | ;;R^"860.3:",.01,"E"
|
---|
171 | ;;D^HL7 ITEM-ON-HOLD MESSAGE
|
---|
172 | ;;R^"860.3:",.02,"E"
|
---|
173 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
174 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
175 | ;;D^1
|
---|
176 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
177 | ;;D^CONTROL CODE
|
---|
178 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
179 | ;;D^EQ FREE TEXT
|
---|
180 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
181 | ;;D^OH
|
---|
182 | ;;EOR^
|
---|
183 | ;;KEY^860.3:^HL7 ORDERING PROVIDER EXISTS
|
---|
184 | ;;R^"860.3:",.01,"E"
|
---|
185 | ;;D^HL7 ORDERING PROVIDER EXISTS
|
---|
186 | ;;R^"860.3:",.02,"E"
|
---|
187 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
188 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
189 | ;;D^1
|
---|
190 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
191 | ;;D^ORDERING PROVIDER
|
---|
192 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
193 | ;;D^LENGTH IS GREATER THAN
|
---|
194 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
195 | ;;D^0
|
---|
196 | ;;EOR^
|
---|
197 | ;;KEY^860.3:^HL7 FINAL LAB RESULT
|
---|
198 | ;;R^"860.3:",.01,"E"
|
---|
199 | ;;D^HL7 FINAL LAB RESULT
|
---|
200 | ;;R^"860.3:",.02,"E"
|
---|
201 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
202 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
203 | ;;D^3
|
---|
204 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
205 | ;;D^CONTROL CODE
|
---|
206 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
207 | ;;D^EQUALS ELEMENT IN SET
|
---|
208 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
209 | ;;D^RE
|
---|
210 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
211 | ;;D^4
|
---|
212 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
213 | ;;D^FILLER
|
---|
214 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
215 | ;;D^STARTS WITH
|
---|
216 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
217 | ;;D^LR
|
---|
218 | ;;R^"860.3:","860.31:5",.01,"E"
|
---|
219 | ;1;
|
---|
220 | ;
|
---|