1 | OCXDI021 ;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 ^OCXDI022
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;R^"863.3:",.06,"E"
|
---|
21 | ;;D^99
|
---|
22 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
23 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
24 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
25 | ;;D^STATUS^ORQOR2(|ORDER NUMBER|)
|
---|
26 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
27 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
28 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
29 | ;;D^2
|
---|
30 | ;;EOR^
|
---|
31 | ;;KEY^863.3:^PATIENT.ORD_ITEM_IEN
|
---|
32 | ;;R^"863.3:",.01,"E"
|
---|
33 | ;;D^PATIENT.ORD_ITEM_IEN
|
---|
34 | ;;R^"863.3:",.02,"E"
|
---|
35 | ;;D^PATIENT
|
---|
36 | ;;R^"863.3:",.04,"E"
|
---|
37 | ;;D^OPS
|
---|
38 | ;;R^"863.3:",.05,"E"
|
---|
39 | ;;D^ORDERABLE ITEM IEN
|
---|
40 | ;;R^"863.3:",.06,"E"
|
---|
41 | ;;D^99
|
---|
42 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
43 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
44 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
45 | ;;D^OCXO VARIABLE NAME
|
---|
46 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
47 | ;;D^OCXPSD
|
---|
48 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
49 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
50 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
51 | ;;D^1
|
---|
52 | ;;EOR^
|
---|
53 | ;;KEY^863.3:^PATIENT.OPS_FILLER
|
---|
54 | ;;R^"863.3:",.01,"E"
|
---|
55 | ;;D^PATIENT.OPS_FILLER
|
---|
56 | ;;R^"863.3:",.02,"E"
|
---|
57 | ;;D^PATIENT
|
---|
58 | ;;R^"863.3:",.04,"E"
|
---|
59 | ;;D^OPS
|
---|
60 | ;;R^"863.3:",.05,"E"
|
---|
61 | ;;D^FILLER
|
---|
62 | ;;R^"863.3:",.06,"E"
|
---|
63 | ;;D^99
|
---|
64 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
65 | ;;D^OCXO VARIABLE NAME
|
---|
66 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
67 | ;;D^OCXPSD
|
---|
68 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
69 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
70 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
71 | ;;D^1
|
---|
72 | ;;EOR^
|
---|
73 | ;;KEY^863.3:^PATIENT.OPS_NAT_ID
|
---|
74 | ;;R^"863.3:",.01,"E"
|
---|
75 | ;;D^PATIENT.OPS_NAT_ID
|
---|
76 | ;;R^"863.3:",.02,"E"
|
---|
77 | ;;D^PATIENT
|
---|
78 | ;;R^"863.3:",.04,"E"
|
---|
79 | ;;D^OPS
|
---|
80 | ;;R^"863.3:",.05,"E"
|
---|
81 | ;;D^NATIONAL ID
|
---|
82 | ;;R^"863.3:",.06,"E"
|
---|
83 | ;;D^99
|
---|
84 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
85 | ;;D^OCXO VARIABLE NAME
|
---|
86 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
87 | ;;D^OCXPSD
|
---|
88 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
89 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
90 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
91 | ;;D^2
|
---|
92 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
93 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
94 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
95 | ;;D^1
|
---|
96 | ;;EOR^
|
---|
97 | ;;KEY^863.3:^PATIENT.OPS_NAT_TEXT
|
---|
98 | ;;R^"863.3:",.01,"E"
|
---|
99 | ;;D^PATIENT.OPS_NAT_TEXT
|
---|
100 | ;;R^"863.3:",.02,"E"
|
---|
101 | ;;D^PATIENT
|
---|
102 | ;;R^"863.3:",.04,"E"
|
---|
103 | ;;D^OPS
|
---|
104 | ;;R^"863.3:",.05,"E"
|
---|
105 | ;;D^NATIONAL ID TEXT
|
---|
106 | ;;R^"863.3:",.06,"E"
|
---|
107 | ;;D^99
|
---|
108 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
109 | ;;D^OCXO VARIABLE NAME
|
---|
110 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
111 | ;;D^OCXPSD
|
---|
112 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
113 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
114 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
115 | ;;D^2
|
---|
116 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
117 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
118 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
119 | ;;D^2
|
---|
120 | ;;EOR^
|
---|
121 | ;;KEY^863.3:^PATIENT.OPS_NAT_COD_SYS
|
---|
122 | ;;R^"863.3:",.01,"E"
|
---|
123 | ;;D^PATIENT.OPS_NAT_COD_SYS
|
---|
124 | ;;R^"863.3:",.02,"E"
|
---|
125 | ;;D^PATIENT
|
---|
126 | ;;R^"863.3:",.04,"E"
|
---|
127 | ;;D^OPS
|
---|
128 | ;;R^"863.3:",.05,"E"
|
---|
129 | ;;D^CODING SYSTEM
|
---|
130 | ;;R^"863.3:",.06,"E"
|
---|
131 | ;;D^99
|
---|
132 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
133 | ;;D^OCXO VARIABLE NAME
|
---|
134 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
135 | ;;D^OCXPSD
|
---|
136 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
137 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
138 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
139 | ;;D^2
|
---|
140 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
141 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
142 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
143 | ;;D^3
|
---|
144 | ;;EOR^
|
---|
145 | ;;KEY^863.3:^PATIENT.OPS_LOCAL ID
|
---|
146 | ;;R^"863.3:",.01,"E"
|
---|
147 | ;;D^PATIENT.OPS_LOCAL ID
|
---|
148 | ;;R^"863.3:",.02,"E"
|
---|
149 | ;;D^PATIENT
|
---|
150 | ;;R^"863.3:",.04,"E"
|
---|
151 | ;;D^OPS
|
---|
152 | ;;R^"863.3:",.05,"E"
|
---|
153 | ;;D^LOCAL ID
|
---|
154 | ;;R^"863.3:",.06,"E"
|
---|
155 | ;;D^99
|
---|
156 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
157 | ;;D^OCXO VARIABLE NAME
|
---|
158 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
159 | ;;D^OCXPSD
|
---|
160 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
161 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
162 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
163 | ;;D^0
|
---|
164 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
165 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
166 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
167 | ;;D^OCXO FILE POINTER
|
---|
168 | ;;EOR^
|
---|
169 | ;;KEY^863.3:^PATIENT.OPS_LOCAL_TEXT
|
---|
170 | ;;R^"863.3:",.01,"E"
|
---|
171 | ;;D^PATIENT.OPS_LOCAL_TEXT
|
---|
172 | ;;R^"863.3:",.02,"E"
|
---|
173 | ;;D^PATIENT
|
---|
174 | ;;R^"863.3:",.04,"E"
|
---|
175 | ;;D^OPS
|
---|
176 | ;;R^"863.3:",.05,"E"
|
---|
177 | ;;D^LOCAL TEXT
|
---|
178 | ;;R^"863.3:",.06,"E"
|
---|
179 | ;;D^99
|
---|
180 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
181 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
182 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
183 | ;;D^5
|
---|
184 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
185 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
186 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
187 | ;;D^2
|
---|
188 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
189 | ;;D^OCXO VARIABLE NAME
|
---|
190 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
191 | ;;D^OCXPSD
|
---|
192 | ;;EOR^
|
---|
193 | ;;KEY^863.3:^PATIENT.OPS_ORD_EFF_DATE
|
---|
194 | ;;R^"863.3:",.01,"E"
|
---|
195 | ;;D^PATIENT.OPS_ORD_EFF_DATE
|
---|
196 | ;;R^"863.3:",.02,"E"
|
---|
197 | ;;D^PATIENT
|
---|
198 | ;;R^"863.3:",.04,"E"
|
---|
199 | ;;D^OPS
|
---|
200 | ;;R^"863.3:",.05,"E"
|
---|
201 | ;;D^ORDER EFFECTIVE DATE
|
---|
202 | ;;R^"863.3:",.06,"E"
|
---|
203 | ;;D^99
|
---|
204 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
205 | ;;D^OCXO VARIABLE NAME
|
---|
206 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
207 | ;;D^OCXPSD
|
---|
208 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
209 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
210 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
211 | ;;D^3
|
---|
212 | ;;EOR^
|
---|
213 | ;;KEY^863.3:^PATIENT.OPS_ORDER NUMBER
|
---|
214 | ;;R^"863.3:",.01,"E"
|
---|
215 | ;;D^PATIENT.OPS_ORDER NUMBER
|
---|
216 | ;;R^"863.3:",.02,"E"
|
---|
217 | ;;D^PATIENT
|
---|
218 | ;;R^"863.3:",.04,"E"
|
---|
219 | ;;D^OPS
|
---|
220 | ;;R^"863.3:",.05,"E"
|
---|
221 | ;;D^ORDER NUMBER
|
---|
222 | ;;R^"863.3:",.06,"E"
|
---|
223 | ;;D^99
|
---|
224 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
225 | ;;D^OCXO VARIABLE NAME
|
---|
226 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
227 | ;;D^OCXPSD
|
---|
228 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
229 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
230 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
231 | ;;D^4
|
---|
232 | ;;EOR^
|
---|
233 | ;;KEY^863.3:^PATIENT.OPS_ORD_MODE
|
---|
234 | ;;R^"863.3:",.01,"E"
|
---|
235 | ;;D^PATIENT.OPS_ORD_MODE
|
---|
236 | ;;R^"863.3:",.02,"E"
|
---|
237 | ;;D^PATIENT
|
---|
238 | ;;R^"863.3:",.04,"E"
|
---|
239 | ;1;
|
---|
240 | ;
|
---|