1 | OCXDI02Q ;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 ^OCXDI02R
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^DATABASE LOOKUP
|
---|
21 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
22 | ;;D^PATIENT.CONTR_MED_CODE
|
---|
23 | ;;EOR^
|
---|
24 | ;;KEY^860.4:^MISSING ANGIOGRAM, CATH PERIF LAB TESTS
|
---|
25 | ;;R^"860.4:",.01,"E"
|
---|
26 | ;;D^MISSING ANGIOGRAM, CATH PERIF LAB TESTS
|
---|
27 | ;;R^"860.4:",101,"E"
|
---|
28 | ;;D^FREE TEXT
|
---|
29 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
30 | ;;D^DATABASE LOOKUP
|
---|
31 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
32 | ;;D^DATABASE LOOKUP
|
---|
33 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
34 | ;;D^PATIENT.MACPLT
|
---|
35 | ;;EOR^
|
---|
36 | ;;KEY^860.4:^RECENT BARIUM STUDY FLAG
|
---|
37 | ;;R^"860.4:",.01,"E"
|
---|
38 | ;;D^RECENT BARIUM STUDY FLAG
|
---|
39 | ;;R^"860.4:",101,"E"
|
---|
40 | ;;D^BOOLEAN
|
---|
41 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
42 | ;;D^DATABASE LOOKUP
|
---|
43 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
44 | ;;D^DATABASE LOOKUP
|
---|
45 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
46 | ;;D^PATIENT.REC_BA_FLAG
|
---|
47 | ;;EOR^
|
---|
48 | ;;KEY^860.4:^RECENT BARIUM STUDY TEXT
|
---|
49 | ;;R^"860.4:",.01,"E"
|
---|
50 | ;;D^RECENT BARIUM STUDY TEXT
|
---|
51 | ;;R^"860.4:",101,"E"
|
---|
52 | ;;D^FREE TEXT
|
---|
53 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
54 | ;;D^DATABASE LOOKUP
|
---|
55 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
56 | ;;D^DATABASE LOOKUP
|
---|
57 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
58 | ;;D^PATIENT.REC_BAR_TEXT
|
---|
59 | ;;EOR^
|
---|
60 | ;;KEY^860.4:^CLOZAPINE LABS W/IN 6 DAYS FLAG
|
---|
61 | ;;R^"860.4:",.01,"E"
|
---|
62 | ;;D^CLOZAPINE LABS W/IN 6 DAYS FLAG
|
---|
63 | ;;R^"860.4:",1,"E"
|
---|
64 | ;;D^CLOZ LABS FLAG
|
---|
65 | ;;R^"860.4:",101,"E"
|
---|
66 | ;;D^BOOLEAN
|
---|
67 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
68 | ;;D^DATABASE LOOKUP
|
---|
69 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
70 | ;;D^DATABASE LOOKUP
|
---|
71 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
72 | ;;D^PATIENT.CLOZ_LABS_W/IN_6_DAYS
|
---|
73 | ;;EOR^
|
---|
74 | ;;KEY^860.4:^RECENT WBC RESULT
|
---|
75 | ;;R^"860.4:",.01,"E"
|
---|
76 | ;;D^RECENT WBC RESULT
|
---|
77 | ;;R^"860.4:",1,"E"
|
---|
78 | ;;D^RECENT WBC
|
---|
79 | ;;R^"860.4:",101,"E"
|
---|
80 | ;;D^FREE TEXT
|
---|
81 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
82 | ;;D^DATABASE LOOKUP
|
---|
83 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
84 | ;;D^DATABASE LOOKUP
|
---|
85 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
86 | ;;D^PATIENT.RECENT WBC RESULT
|
---|
87 | ;;EOR^
|
---|
88 | ;;KEY^860.4:^ORDERABLE ITEM IEN
|
---|
89 | ;;R^"860.4:",.01,"E"
|
---|
90 | ;;D^ORDERABLE ITEM IEN
|
---|
91 | ;;R^"860.4:",101,"E"
|
---|
92 | ;;D^NUMERIC
|
---|
93 | ;;R^"860.4:","860.41:5",.01,"E"
|
---|
94 | ;;D^CPRS ORDER PRESCAN
|
---|
95 | ;;R^"860.4:","860.41:5",.02,"E"
|
---|
96 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
97 | ;;R^"860.4:","860.41:5",1,"E"
|
---|
98 | ;;D^PATIENT.ORDER_ITEM_IEN
|
---|
99 | ;;EOR^
|
---|
100 | ;;KEY^860.4:^VA DRUG CLASS
|
---|
101 | ;;R^"860.4:",.01,"E"
|
---|
102 | ;;D^VA DRUG CLASS
|
---|
103 | ;;R^"860.4:",101,"E"
|
---|
104 | ;;D^FREE TEXT
|
---|
105 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
106 | ;;D^DATABASE LOOKUP
|
---|
107 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
108 | ;;D^DATABASE LOOKUP
|
---|
109 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
110 | ;;D^PATIENT.DRUG_CLASS
|
---|
111 | ;;EOR^
|
---|
112 | ;;KEY^860.4:^RECENT PT AND PTT LAB TEXT
|
---|
113 | ;;R^"860.4:",.01,"E"
|
---|
114 | ;;D^RECENT PT AND PTT LAB TEXT
|
---|
115 | ;;R^"860.4:",101,"E"
|
---|
116 | ;;D^FREE TEXT
|
---|
117 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
118 | ;;D^DATABASE LOOKUP
|
---|
119 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
120 | ;;D^DATABASE LOOKUP
|
---|
121 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
122 | ;;D^PATIENT.PTT_PT_TEXT
|
---|
123 | ;;EOR^
|
---|
124 | ;;KEY^860.4:^CREATININE CLEARANCE (ESTIM) VALUE
|
---|
125 | ;;R^"860.4:",.01,"E"
|
---|
126 | ;;D^CREATININE CLEARANCE (ESTIM) VALUE
|
---|
127 | ;;R^"860.4:",1,"E"
|
---|
128 | ;;D^CRCLV
|
---|
129 | ;;R^"860.4:",101,"E"
|
---|
130 | ;;D^NUMERIC
|
---|
131 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
132 | ;;D^DATABASE LOOKUP
|
---|
133 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
134 | ;;D^DATABASE LOOKUP
|
---|
135 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
136 | ;;D^PATIENT.CRCL_TEXT
|
---|
137 | ;;EOR^
|
---|
138 | ;;KEY^860.4:^CREATININE CLEARANCE (ESTIM) DATE
|
---|
139 | ;;R^"860.4:",.01,"E"
|
---|
140 | ;;D^CREATININE CLEARANCE (ESTIM) DATE
|
---|
141 | ;;R^"860.4:",1,"E"
|
---|
142 | ;;D^CRCLD
|
---|
143 | ;;R^"860.4:",101,"E"
|
---|
144 | ;;D^DATE/TIME
|
---|
145 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
146 | ;;D^DATABASE LOOKUP
|
---|
147 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
148 | ;;D^DATABASE LOOKUP
|
---|
149 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
150 | ;;D^PATIENT.CRCL_DATE
|
---|
151 | ;;EOR^
|
---|
152 | ;;KEY^860.4:^PATIENT TOO BIG FOR SCANNER FLAG
|
---|
153 | ;;R^"860.4:",.01,"E"
|
---|
154 | ;;D^PATIENT TOO BIG FOR SCANNER FLAG
|
---|
155 | ;;R^"860.4:",101,"E"
|
---|
156 | ;;D^BOOLEAN
|
---|
157 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
158 | ;;D^DATABASE LOOKUP
|
---|
159 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
160 | ;;D^DATABASE LOOKUP
|
---|
161 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
162 | ;;D^PATIENT.SCNR_OVRSZ_FLAG
|
---|
163 | ;;EOR^
|
---|
164 | ;;KEY^860.4:^PATIENT TOO BIG FOR SCANNER TEXT
|
---|
165 | ;;R^"860.4:",.01,"E"
|
---|
166 | ;;D^PATIENT TOO BIG FOR SCANNER TEXT
|
---|
167 | ;;R^"860.4:",101,"E"
|
---|
168 | ;;D^FREE TEXT
|
---|
169 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
170 | ;;D^DATABASE LOOKUP
|
---|
171 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
172 | ;;D^DATABASE LOOKUP
|
---|
173 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
174 | ;;D^PATIENT_SCNR_OVRSZ_TEXT
|
---|
175 | ;;EOR^
|
---|
176 | ;;KEY^860.4:^PATIENT TOO BIG FOR SCANNER DEVICE
|
---|
177 | ;;R^"860.4:",.01,"E"
|
---|
178 | ;;D^PATIENT TOO BIG FOR SCANNER DEVICE
|
---|
179 | ;;R^"860.4:",101,"E"
|
---|
180 | ;;D^FREE TEXT
|
---|
181 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
182 | ;;D^DATABASE LOOKUP
|
---|
183 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
184 | ;;D^DATABASE LOOKUP
|
---|
185 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
186 | ;;D^PATIENT.SCNR_OVRSZ_DEV
|
---|
187 | ;;EOR^
|
---|
188 | ;;KEY^860.4:^LAB TEST NATIONAL CODE
|
---|
189 | ;;R^"860.4:",.01,"E"
|
---|
190 | ;;D^LAB TEST NATIONAL CODE
|
---|
191 | ;;R^"860.4:",1,"E"
|
---|
192 | ;;D^LTNC
|
---|
193 | ;;R^"860.4:",101,"E"
|
---|
194 | ;;D^FREE TEXT
|
---|
195 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
196 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
197 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
198 | ;;D^HL7 OBSERVATION/RESULT SEGMENT
|
---|
199 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
200 | ;;D^PATIENT.LAB_TST_NAT_CODE
|
---|
201 | ;;EOR^
|
---|
202 | ;;KEY^860.4:^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
203 | ;;R^"860.4:",.01,"E"
|
---|
204 | ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
|
---|
205 | ;;R^"860.4:",101,"E"
|
---|
206 | ;;D^FREE TEXT
|
---|
207 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
208 | ;1;
|
---|
209 | ;
|
---|