1 | OCXDI01V ;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 ^OCXDI01W
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;R^"863.2:",.01,"E"
|
---|
21 | ;;D^VISIT
|
---|
22 | ;;R^"863.2:","863.21:1",.01,"E"
|
---|
23 | ;;D^FILE
|
---|
24 | ;;R^"863.2:","863.21:1",1,"E"
|
---|
25 | ;;D^9000010
|
---|
26 | ;;EOR^
|
---|
27 | ;;KEY^863.2:^PHYSICIANS
|
---|
28 | ;;R^"863.2:",.01,"E"
|
---|
29 | ;;D^PHYSICIANS
|
---|
30 | ;;R^"863.2:","863.21:1",.01,"E"
|
---|
31 | ;;D^FILE
|
---|
32 | ;;R^"863.2:","863.21:1",1,"E"
|
---|
33 | ;;D^200
|
---|
34 | ;;EOR^
|
---|
35 | ;;EOF^OCXS(863.2)^1
|
---|
36 | ;;SOF^863.1 OCX MDD APPLICATION
|
---|
37 | ;;KEY^863.1:^CLINICAL QUERIES
|
---|
38 | ;;R^"863.1:",.01,"E"
|
---|
39 | ;;D^CLINICAL QUERIES
|
---|
40 | ;;EOR^
|
---|
41 | ;;EOF^OCXS(863.1)^1
|
---|
42 | ;;SOF^863.3 OCX MDD LINK
|
---|
43 | ;;KEY^863.3:^PATIENT.NAME
|
---|
44 | ;;R^"863.3:",.01,"E"
|
---|
45 | ;;D^PATIENT.NAME
|
---|
46 | ;;R^"863.3:",.02,"E"
|
---|
47 | ;;D^PATIENT
|
---|
48 | ;;R^"863.3:",.05,"E"
|
---|
49 | ;;D^NAME OF PATIENT
|
---|
50 | ;;R^"863.3:",3.1,"E"
|
---|
51 | ;;D^NAME
|
---|
52 | ;;R^"863.3:",3.3,"E"
|
---|
53 | ;;D^1
|
---|
54 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
55 | ;;D^FM NAVIGATION CODE
|
---|
56 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
57 | ;;D^.01
|
---|
58 | ;;EOR^
|
---|
59 | ;;KEY^863.3:^PATIENT.DEMOGRAPHIC
|
---|
60 | ;;R^"863.3:",.01,"E"
|
---|
61 | ;;D^PATIENT.DEMOGRAPHIC
|
---|
62 | ;;R^"863.3:",.02,"E"
|
---|
63 | ;;D^PATIENT
|
---|
64 | ;;R^"863.3:",3.1,"E"
|
---|
65 | ;;D^DEMOGRAPHIC
|
---|
66 | ;;R^"863.3:",3.3,"E"
|
---|
67 | ;;D^2
|
---|
68 | ;;EOR^
|
---|
69 | ;;KEY^863.3:^PATIENT.SEX
|
---|
70 | ;;R^"863.3:",.01,"E"
|
---|
71 | ;;D^PATIENT.SEX
|
---|
72 | ;;R^"863.3:",.02,"E"
|
---|
73 | ;;D^PATIENT
|
---|
74 | ;;R^"863.3:",.04,"E"
|
---|
75 | ;;D^DEMOGRAPHIC
|
---|
76 | ;;R^"863.3:",.05,"E"
|
---|
77 | ;;D^SEX OF PATIENT
|
---|
78 | ;;R^"863.3:",3.1,"E"
|
---|
79 | ;;D^SEX
|
---|
80 | ;;R^"863.3:",3.3,"E"
|
---|
81 | ;;D^3
|
---|
82 | ;;R^"863.3:","863.31:1",.01,"E"
|
---|
83 | ;;D^GENDER
|
---|
84 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
85 | ;;D^FM NAVIGATION CODE
|
---|
86 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
87 | ;;D^.02
|
---|
88 | ;;EOR^
|
---|
89 | ;;KEY^863.3:^PATIENT.DOB
|
---|
90 | ;;R^"863.3:",.01,"E"
|
---|
91 | ;;D^PATIENT.DOB
|
---|
92 | ;;R^"863.3:",.02,"E"
|
---|
93 | ;;D^PATIENT
|
---|
94 | ;;R^"863.3:",.04,"E"
|
---|
95 | ;;D^DEMOGRAPHIC
|
---|
96 | ;;R^"863.3:",.05,"E"
|
---|
97 | ;;D^DATE OF BIRTH
|
---|
98 | ;;R^"863.3:",3.3,"E"
|
---|
99 | ;;D^4
|
---|
100 | ;;R^"863.3:","863.31:1",.01,"E"
|
---|
101 | ;;D^DATE OF BIRTH
|
---|
102 | ;;R^"863.3:","863.31:2",.01,"E"
|
---|
103 | ;;D^BIRTHDATE
|
---|
104 | ;;R^"863.3:","863.31:3",.01,"E"
|
---|
105 | ;;D^DOB
|
---|
106 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
107 | ;;D^FM NAVIGATION CODE
|
---|
108 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
109 | ;;D^DOB
|
---|
110 | ;;EOR^
|
---|
111 | ;;KEY^863.3:^PATIENT.BLOOD TYPE
|
---|
112 | ;;R^"863.3:",.01,"E"
|
---|
113 | ;;D^PATIENT.BLOOD TYPE
|
---|
114 | ;;R^"863.3:",.02,"E"
|
---|
115 | ;;D^PATIENT
|
---|
116 | ;;R^"863.3:",.05,"E"
|
---|
117 | ;;D^BLOOD TYPE
|
---|
118 | ;;R^"863.3:",3.3,"E"
|
---|
119 | ;;D^5
|
---|
120 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
121 | ;;D^FM NAVIGATION CODE
|
---|
122 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
123 | ;;D^IHS PATIENT:BLOOD TYPE
|
---|
124 | ;;EOR^
|
---|
125 | ;;KEY^863.3:^PATIENT.VISIT
|
---|
126 | ;;R^"863.3:",.01,"E"
|
---|
127 | ;;D^PATIENT.VISIT
|
---|
128 | ;;R^"863.3:",.02,"E"
|
---|
129 | ;;D^PATIENT
|
---|
130 | ;;R^"863.3:",.03,"E"
|
---|
131 | ;;D^VISIT
|
---|
132 | ;;R^"863.3:",.05,"E"
|
---|
133 | ;;D^RECENT CHOLE FLAG
|
---|
134 | ;;R^"863.3:",3.3,"E"
|
---|
135 | ;;D^6
|
---|
136 | ;;R^"863.3:","863.31:1",.01,"E"
|
---|
137 | ;;D^ENCOUNTER
|
---|
138 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
139 | ;;D^FM NAVIGATION CODE
|
---|
140 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
141 | ;;D^IHS PATIENT:,VISIT:
|
---|
142 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
143 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
144 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
145 | ;;D^RECCH(|PATIENT IEN|,7)
|
---|
146 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
147 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
148 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
149 | ;;D^1
|
---|
150 | ;;EOR^
|
---|
151 | ;;KEY^863.3:^VISIT.DATE
|
---|
152 | ;;R^"863.3:",.01,"E"
|
---|
153 | ;;D^VISIT.DATE
|
---|
154 | ;;R^"863.3:",.02,"E"
|
---|
155 | ;;D^VISIT
|
---|
156 | ;;R^"863.3:",.05,"E"
|
---|
157 | ;;D^DATE OF VISIT
|
---|
158 | ;;R^"863.3:",3.1,"E"
|
---|
159 | ;;D^DATE
|
---|
160 | ;;R^"863.3:",3.3,"E"
|
---|
161 | ;;D^1
|
---|
162 | ;;R^"863.3:","863.31:1",.01,"E"
|
---|
163 | ;;D^VISIT DATE
|
---|
164 | ;;R^"863.3:","863.31:2",.01,"E"
|
---|
165 | ;;D^DATE OF VISIT
|
---|
166 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
167 | ;;D^FM NAVIGATION CODE
|
---|
168 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
169 | ;;D^.01
|
---|
170 | ;;EOR^
|
---|
171 | ;;KEY^863.3:^VISIT.TYPE
|
---|
172 | ;;R^"863.3:",.01,"E"
|
---|
173 | ;;D^VISIT.TYPE
|
---|
174 | ;;R^"863.3:",.02,"E"
|
---|
175 | ;;D^VISIT
|
---|
176 | ;;R^"863.3:",.05,"E"
|
---|
177 | ;;D^TYPE OF VISIT
|
---|
178 | ;;R^"863.3:",3.1,"E"
|
---|
179 | ;;D^TYPE
|
---|
180 | ;;R^"863.3:",3.3,"E"
|
---|
181 | ;;D^2
|
---|
182 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
183 | ;;D^FM NAVIGATION CODE
|
---|
184 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
185 | ;;D^.03
|
---|
186 | ;;EOR^
|
---|
187 | ;;KEY^863.3:^VISIT.SERVICE CATAGORY
|
---|
188 | ;;R^"863.3:",.01,"E"
|
---|
189 | ;;D^VISIT.SERVICE CATAGORY
|
---|
190 | ;;R^"863.3:",.02,"E"
|
---|
191 | ;;D^VISIT
|
---|
192 | ;;R^"863.3:",.05,"E"
|
---|
193 | ;;D^SERVICE CATEGORY
|
---|
194 | ;;R^"863.3:",3.1,"E"
|
---|
195 | ;;D^SERVICE CATEGORY
|
---|
196 | ;;R^"863.3:",3.3,"E"
|
---|
197 | ;;D^3
|
---|
198 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
199 | ;;D^FM NAVIGATION CODE
|
---|
200 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
201 | ;;D^.07
|
---|
202 | ;;EOR^
|
---|
203 | ;;KEY^863.3:^PATIENT.SSN
|
---|
204 | ;;R^"863.3:",.01,"E"
|
---|
205 | ;;D^PATIENT.SSN
|
---|
206 | ;;R^"863.3:",.02,"E"
|
---|
207 | ;;D^PATIENT
|
---|
208 | ;;R^"863.3:",.05,"E"
|
---|
209 | ;;D^SOCIAL SECURITY NUMBER
|
---|
210 | ;;R^"863.3:",3.3,"E"
|
---|
211 | ;;D^4
|
---|
212 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
213 | ;;D^FM NAVIGATION CODE
|
---|
214 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
215 | ;;D^.09
|
---|
216 | ;;EOR^
|
---|
217 | ;;KEY^863.3:^PATIENT.CITY
|
---|
218 | ;;R^"863.3:",.01,"E"
|
---|
219 | ;;D^PATIENT.CITY
|
---|
220 | ;;R^"863.3:",.02,"E"
|
---|
221 | ;;D^PATIENT
|
---|
222 | ;;R^"863.3:",.05,"E"
|
---|
223 | ;;D^CITY
|
---|
224 | ;;R^"863.3:",3.3,"E"
|
---|
225 | ;;D^11
|
---|
226 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
227 | ;;D^FM NAVIGATION CODE
|
---|
228 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
229 | ;;D^.114
|
---|
230 | ;;EOR^
|
---|
231 | ;;KEY^863.3:^PATIENT.HL7_FILLER
|
---|
232 | ;;R^"863.3:",.01,"E"
|
---|
233 | ;;D^PATIENT.HL7_FILLER
|
---|
234 | ;;R^"863.3:",.02,"E"
|
---|
235 | ;;D^PATIENT
|
---|
236 | ;;R^"863.3:",.04,"E"
|
---|
237 | ;;D^HL7
|
---|
238 | ;;R^"863.3:",.05,"E"
|
---|
239 | ;;D^HL7 FILLER
|
---|
240 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
241 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
242 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
243 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
244 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
245 | ;;D^2
|
---|
246 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
247 | ;;D^OCXO VARIABLE NAME
|
---|
248 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
249 | ;;D^OCXODATA("ORC",3)
|
---|
250 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
251 | ;;D^OCXO HL7 SEGMENT ID
|
---|
252 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
253 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
254 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
255 | ;1;
|
---|
256 | ;
|
---|