source: FOIAVistA/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI033.m

Last change on this file was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 5.1 KB
Line 
1OCXDI033 ;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 ;
5S ;
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 ^OCXDI034
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^1
21 ;;R^"860.3:","860.31:1",1,"E"
22 ;;D^PHARMACY LOCAL ORDERABLE ITEM TEXT
23 ;;R^"860.3:","860.31:1",2,"E"
24 ;;D^CONTAINS
25 ;;R^"860.3:","860.31:1",3,"E"
26 ;;D^LITHIUM
27 ;;R^"860.3:","860.31:2",.01,"E"
28 ;;D^2
29 ;;R^"860.3:","860.31:2",1,"E"
30 ;;D^CONTROL CODE
31 ;;R^"860.3:","860.31:2",2,"E"
32 ;;D^EQUALS ELEMENT IN SET
33 ;;R^"860.3:","860.31:2",3,"E"
34 ;;D^NW,SN
35 ;;EOR^
36 ;;KEY^860.3:^PATIENT WITH LITHIUM MEDS
37 ;;R^"860.3:",.01,"E"
38 ;;D^PATIENT WITH LITHIUM MEDS
39 ;;R^"860.3:",.02,"E"
40 ;;D^TIMED ORDER CHECK
41 ;;R^"860.3:","860.31:1",.01,"E"
42 ;;D^1
43 ;;R^"860.3:","860.31:1",1,"E"
44 ;;D^PATIENT CURRENTLY ON LITHIUM FLAG
45 ;;R^"860.3:","860.31:1",2,"E"
46 ;;D^LOGICAL TRUE
47 ;;EOR^
48 ;;KEY^860.3:^PATIENT WITHOUT LITHIUM MEDS
49 ;;R^"860.3:",.01,"E"
50 ;;D^PATIENT WITHOUT LITHIUM MEDS
51 ;;R^"860.3:",.02,"E"
52 ;;D^TIMED ORDER CHECK
53 ;;R^"860.3:","860.31:1",.01,"E"
54 ;;D^1
55 ;;R^"860.3:","860.31:1",1,"E"
56 ;;D^PATIENT CURRENTLY ON LITHIUM FLAG
57 ;;R^"860.3:","860.31:1",2,"E"
58 ;;D^LOGICAL FALSE
59 ;;EOR^
60 ;;KEY^860.3:^PATIENT WITH GLUCOPHAGE MED
61 ;;R^"860.3:",.01,"E"
62 ;;D^PATIENT WITH GLUCOPHAGE MED
63 ;;R^"860.3:",.02,"E"
64 ;;D^DATABASE LOOKUP
65 ;;R^"860.3:","860.31:1",.01,"E"
66 ;;D^1
67 ;;R^"860.3:","860.31:1",1,"E"
68 ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
69 ;;R^"860.3:","860.31:1",2,"E"
70 ;;D^LOGICAL TRUE
71 ;;EOR^
72 ;;KEY^860.3:^PATIENT HAS DIABETES ON PROBLEM LIST
73 ;;R^"860.3:",.01,"E"
74 ;;D^PATIENT HAS DIABETES ON PROBLEM LIST
75 ;;R^"860.3:",.02,"E"
76 ;;D^DATABASE LOOKUP
77 ;;R^"860.3:","860.31:1",.01,"E"
78 ;;D^1
79 ;;R^"860.3:","860.31:1",1,"E"
80 ;;D^PATIENT HAS DIABETES
81 ;;R^"860.3:","860.31:1",2,"E"
82 ;;D^LOGICAL TRUE
83 ;;EOR^
84 ;;KEY^860.3:^PATIENT NEEDS LITHIUM LEVEL PERFORMED
85 ;;R^"860.3:",.01,"E"
86 ;;D^PATIENT NEEDS LITHIUM LEVEL PERFORMED
87 ;;R^"860.3:",.02,"E"
88 ;;D^TIMED ORDER CHECK
89 ;;R^"860.3:","860.31:1",.01,"E"
90 ;;D^1
91 ;;R^"860.3:","860.31:1",1,"E"
92 ;;D^DATE OF LAST LITHIUM LAB TEST
93 ;;R^"860.3:","860.31:1",2,"E"
94 ;;D^DATE BEFORE
95 ;;R^"860.3:","860.31:1",3,"E"
96 ;;D^T-120
97 ;;EOR^
98 ;;KEY^860.3:^PATIENT NEEDS LITHIUM LAB LEVEL ORDERED
99 ;;R^"860.3:",.01,"E"
100 ;;D^PATIENT NEEDS LITHIUM LAB LEVEL ORDERED
101 ;;R^"860.3:",.02,"E"
102 ;;D^TIMED ORDER CHECK
103 ;;R^"860.3:","860.31:1",.01,"E"
104 ;;D^1
105 ;;R^"860.3:","860.31:1",1,"E"
106 ;;D^DATE OF LAST LITHIUM LAB ORDER
107 ;;R^"860.3:","860.31:1",2,"E"
108 ;;D^DATE BEFORE
109 ;;R^"860.3:","860.31:1",3,"E"
110 ;;D^T-120
111 ;;EOR^
112 ;;KEY^860.3:^POLYPHARMACY
113 ;;R^"860.3:",.01,"E"
114 ;;D^POLYPHARMACY
115 ;;R^"860.3:",.02,"E"
116 ;;D^CPRS ORDER PRESCAN
117 ;;R^"860.3:","860.31:1",.01,"E"
118 ;;D^1
119 ;;R^"860.3:","860.31:1",1,"E"
120 ;;D^ORDER MODE
121 ;;R^"860.3:","860.31:1",2,"E"
122 ;;D^EQ FREE TEXT
123 ;;R^"860.3:","860.31:1",3,"E"
124 ;;D^DISPLAY
125 ;;R^"860.3:","860.31:2",.01,"E"
126 ;;D^2
127 ;;R^"860.3:","860.31:2",1,"E"
128 ;;D^FILLER
129 ;;R^"860.3:","860.31:2",2,"E"
130 ;;D^STARTS WITH
131 ;;R^"860.3:","860.31:2",3,"E"
132 ;;D^PS
133 ;;R^"860.3:","860.31:3",.01,"E"
134 ;;D^3
135 ;;R^"860.3:","860.31:3",1,"E"
136 ;;D^POLYPHARMACY
137 ;;R^"860.3:","860.31:3",2,"E"
138 ;;D^LOGICAL TRUE
139 ;;EOR^
140 ;;KEY^860.3:^CREATININE CLEARANCE DATE/TIME
141 ;;R^"860.3:",.01,"E"
142 ;;D^CREATININE CLEARANCE DATE/TIME
143 ;;R^"860.3:",.02,"E"
144 ;;D^DATABASE LOOKUP
145 ;;R^"860.3:","860.31:1",.01,"E"
146 ;;D^1
147 ;;R^"860.3:","860.31:1",1,"E"
148 ;;D^CREATININE CLEARANCE (ESTIM) DATE
149 ;;R^"860.3:","860.31:1",2,"E"
150 ;;D^DATE AFTER
151 ;;R^"860.3:","860.31:1",3,"E"
152 ;;D^0
153 ;;EOR^
154 ;;KEY^860.3:^RENAL RESULTS
155 ;;R^"860.3:",.01,"E"
156 ;;D^RENAL RESULTS
157 ;;R^"860.3:",.02,"E"
158 ;;D^DATABASE LOOKUP
159 ;;R^"860.3:","860.31:1",.01,"E"
160 ;;D^1
161 ;;R^"860.3:","860.31:1",1,"E"
162 ;;D^FORMATTED RENAL LAB RESULTS
163 ;;R^"860.3:","860.31:1",2,"E"
164 ;;D^NOT EQUAL TO
165 ;;R^"860.3:","860.31:1",3,"E"
166 ;;D^<Results Not Found>
167 ;;EOR^
168 ;;KEY^860.3:^CANCELLED BY NON-ORDERER
169 ;;R^"860.3:",.01,"E"
170 ;;D^CANCELLED BY NON-ORDERER
171 ;;R^"860.3:",.02,"E"
172 ;;D^GENERIC HL7 MESSAGE ARRAY
173 ;;EOR^
174 ;;KEY^860.3:^ORDER ENTERED BY
175 ;;R^"860.3:",.01,"E"
176 ;;D^ORDER ENTERED BY
177 ;;R^"860.3:",.02,"E"
178 ;;D^GENERIC HL7 MESSAGE ARRAY
179 ;;R^"860.3:","860.31:1",.01,"E"
180 ;;D^1
181 ;;R^"860.3:","860.31:1",1,"E"
182 ;;D^ENTERED BY
183 ;;R^"860.3:","860.31:1",2,"E"
184 ;;D^FREE TEXT LENGTH GREATER THAN
185 ;;R^"860.3:","860.31:1",3,"E"
186 ;;D^0
187 ;;EOR^
188 ;;KEY^860.3:^CANCELED BY NON-ORIG ORDERING PROVIDER
189 ;;R^"860.3:",.01,"E"
190 ;;D^CANCELED BY NON-ORIG ORDERING PROVIDER
191 ;;R^"860.3:",.02,"E"
192 ;;D^GENERIC HL7 MESSAGE ARRAY
193 ;;R^"860.3:","860.31:1",.01,"E"
194 ;;D^1
195 ;;R^"860.3:","860.31:1",1,"E"
196 ;;D^ENTERED BY
197 ;;R^"860.3:","860.31:1",2,"E"
198 ;;D^NOT EQUAL TO
199 ;;R^"860.3:","860.31:1",4,"E"
200 ;;D^ORDERED BY
201 ;;EOR^
202 ;;KEY^860.3:^HL7 FINAL IMAGING RESULT
203 ;;R^"860.3:",.01,"E"
204 ;;D^HL7 FINAL IMAGING RESULT
205 ;;R^"860.3:",.02,"E"
206 ;;D^GENERIC HL7 MESSAGE ARRAY
207 ;;R^"860.3:","860.31:1",.01,"E"
208 ;;D^1
209 ;;R^"860.3:","860.31:1",1,"E"
210 ;;D^REQUEST STATUS (OBR)
211 ;;R^"860.3:","860.31:1",2,"E"
212 ;;D^EQ FREE TEXT
213 ;;R^"860.3:","860.31:1",3,"E"
214 ;1;
215 ;
Note: See TracBrowser for help on using the repository browser.