1 | OCXDI02W ;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 ^OCXDI02X
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^1
|
---|
21 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
22 | ;;D^CONTROL CODE
|
---|
23 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
24 | ;;D^EQ FREE TEXT
|
---|
25 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
26 | ;;D^OC
|
---|
27 | ;;EOR^
|
---|
28 | ;;KEY^860.3:^HL7 LAB ORDER CANCELLED
|
---|
29 | ;;R^"860.3:",.01,"E"
|
---|
30 | ;;D^HL7 LAB ORDER CANCELLED
|
---|
31 | ;;R^"860.3:",.02,"E"
|
---|
32 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
33 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
34 | ;;D^1
|
---|
35 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
36 | ;;D^FILLER
|
---|
37 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
38 | ;;D^STARTS WITH
|
---|
39 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
40 | ;;D^LR
|
---|
41 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
42 | ;;D^2
|
---|
43 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
44 | ;;D^CONTROL CODE
|
---|
45 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
46 | ;;D^EQ FREE TEXT
|
---|
47 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
48 | ;;D^OC
|
---|
49 | ;;EOR^
|
---|
50 | ;;KEY^860.3:^PATIENT ADMISSION
|
---|
51 | ;;R^"860.3:",.01,"E"
|
---|
52 | ;;D^PATIENT ADMISSION
|
---|
53 | ;;R^"860.3:",.02,"E"
|
---|
54 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
55 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
56 | ;;D^1
|
---|
57 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
58 | ;;D^PATIENT MOVEMENT TYPE CURRENT
|
---|
59 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
60 | ;;D^EQ FREE TEXT
|
---|
61 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
62 | ;;D^ADMISSION
|
---|
63 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
64 | ;;D^2
|
---|
65 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
66 | ;;D^NEW PATIENT MOVEMENT
|
---|
67 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
68 | ;;D^LOGICAL TRUE
|
---|
69 | ;;EOR^
|
---|
70 | ;;KEY^860.3:^HL7 LAB ORDER RESULTS ABNORMAL
|
---|
71 | ;;R^"860.3:",.01,"E"
|
---|
72 | ;;D^HL7 LAB ORDER RESULTS ABNORMAL
|
---|
73 | ;;R^"860.3:",.02,"E"
|
---|
74 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
75 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
76 | ;;D^1
|
---|
77 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
78 | ;;D^FILLER
|
---|
79 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
80 | ;;D^STARTS WITH
|
---|
81 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
82 | ;;D^LR
|
---|
83 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
84 | ;;D^3
|
---|
85 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
86 | ;;D^ABNORMAL FLAG
|
---|
87 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
88 | ;;D^EQUALS ELEMENT IN SET
|
---|
89 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
90 | ;;D^H,L
|
---|
91 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
92 | ;;D^4
|
---|
93 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
94 | ;;D^CONTROL CODE
|
---|
95 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
96 | ;;D^EQUALS ELEMENT IN SET
|
---|
97 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
98 | ;;D^RE
|
---|
99 | ;;R^"860.3:","860.31:5",.01,"E"
|
---|
100 | ;;D^5
|
---|
101 | ;;R^"860.3:","860.31:5",1,"E"
|
---|
102 | ;;D^REQUEST STATUS (OBR)
|
---|
103 | ;;R^"860.3:","860.31:5",2,"E"
|
---|
104 | ;;D^EQUALS ELEMENT IN SET
|
---|
105 | ;;R^"860.3:","860.31:5",3,"E"
|
---|
106 | ;;D^F,C
|
---|
107 | ;;EOR^
|
---|
108 | ;;KEY^860.3:^HL7 LAB TEST RESULTS CRITICAL
|
---|
109 | ;;R^"860.3:",.01,"E"
|
---|
110 | ;;D^HL7 LAB TEST RESULTS CRITICAL
|
---|
111 | ;;R^"860.3:",.02,"E"
|
---|
112 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
113 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
114 | ;;D^1
|
---|
115 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
116 | ;;D^FILLER
|
---|
117 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
118 | ;;D^STARTS WITH
|
---|
119 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
120 | ;;D^LR
|
---|
121 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
122 | ;;D^2
|
---|
123 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
124 | ;;D^RESULT STATUS (OBX)
|
---|
125 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
126 | ;;D^EQUALS ELEMENT IN SET
|
---|
127 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
128 | ;;D^F,C
|
---|
129 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
130 | ;;D^3
|
---|
131 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
132 | ;;D^ABNORMAL FLAG
|
---|
133 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
134 | ;;D^EQUALS ELEMENT IN SET
|
---|
135 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
136 | ;;D^HH,LL
|
---|
137 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
138 | ;;D^4
|
---|
139 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
140 | ;;D^CONTROL CODE
|
---|
141 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
142 | ;;D^EQUALS ELEMENT IN SET
|
---|
143 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
144 | ;;D^RE
|
---|
145 | ;;EOR^
|
---|
146 | ;;KEY^860.3:^HL7 LAB TEST RESULTS CRITICAL HIGH
|
---|
147 | ;;R^"860.3:",.01,"E"
|
---|
148 | ;;D^HL7 LAB TEST RESULTS CRITICAL HIGH
|
---|
149 | ;;R^"860.3:",.02,"E"
|
---|
150 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
151 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
152 | ;;D^1
|
---|
153 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
154 | ;;D^FILLER
|
---|
155 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
156 | ;;D^STARTS WITH
|
---|
157 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
158 | ;;D^LR
|
---|
159 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
160 | ;;D^2
|
---|
161 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
162 | ;;D^RESULT STATUS (OBX)
|
---|
163 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
164 | ;;D^EQUALS ELEMENT IN SET
|
---|
165 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
166 | ;;D^F,C
|
---|
167 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
168 | ;;D^3
|
---|
169 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
170 | ;;D^ABNORMAL FLAG
|
---|
171 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
172 | ;;D^EQ FREE TEXT
|
---|
173 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
174 | ;;D^HH
|
---|
175 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
176 | ;;D^4
|
---|
177 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
178 | ;;D^CONTROL CODE
|
---|
179 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
180 | ;;D^EQUALS ELEMENT IN SET
|
---|
181 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
182 | ;;D^RE
|
---|
183 | ;;EOR^
|
---|
184 | ;;KEY^860.3:^RADIOLOGY PROCEDURE
|
---|
185 | ;;R^"860.3:",.01,"E"
|
---|
186 | ;;D^RADIOLOGY PROCEDURE
|
---|
187 | ;;R^"860.3:",.02,"E"
|
---|
188 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
189 | ;;EOR^
|
---|
190 | ;;KEY^860.3:^RADIOLOGY ORDER
|
---|
191 | ;;R^"860.3:",.01,"E"
|
---|
192 | ;;D^RADIOLOGY ORDER
|
---|
193 | ;;R^"860.3:",.02,"E"
|
---|
194 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
195 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
196 | ;;D^1
|
---|
197 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
198 | ;;D^FILLER
|
---|
199 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
200 | ;;D^EQ FREE TEXT
|
---|
201 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
202 | ;;D^RA
|
---|
203 | ;;EOR^
|
---|
204 | ;;KEY^860.3:^ORDER DISCONTINUED
|
---|
205 | ;;R^"860.3:",.01,"E"
|
---|
206 | ;;D^ORDER DISCONTINUED
|
---|
207 | ;;R^"860.3:",.02,"E"
|
---|
208 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
209 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
210 | ;;D^1
|
---|
211 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
212 | ;;D^CONTROL CODE
|
---|
213 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
214 | ;;D^EQ FREE TEXT
|
---|
215 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
216 | ;;D^OD
|
---|
217 | ;;EOR^
|
---|
218 | ;;KEY^860.3:^RADIOLOGY ORDER PUT ON-HOLD
|
---|
219 | ;;R^"860.3:",.01,"E"
|
---|
220 | ;;D^RADIOLOGY ORDER PUT ON-HOLD
|
---|
221 | ;;R^"860.3:",.02,"E"
|
---|
222 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
223 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
224 | ;;D^1
|
---|
225 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
226 | ;1;
|
---|
227 | ;
|
---|