source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI02S.m@ 1042

Last change on this file since 1042 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 5.1 KB
Line 
1OCXDI02S ;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 ^OCXDI02T
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^NEW PATIENT MOVEMENT
21 ;;R^"860.4:",101,"E"
22 ;;D^BOOLEAN
23 ;;R^"860.4:","860.41:4",.01,"E"
24 ;;D^DATABASE LOOKUP
25 ;;R^"860.4:","860.41:4",.02,"E"
26 ;;D^DATABASE LOOKUP
27 ;;R^"860.4:","860.41:4",1,"E"
28 ;;D^PATIENT.NEW_MOVEMENT
29 ;;EOR^
30 ;;KEY^860.4:^GLUCOPHAGE MEDS
31 ;;R^"860.4:",.01,"E"
32 ;;D^GLUCOPHAGE MEDS
33 ;;R^"860.4:","860.41:4",.01,"E"
34 ;;D^DATABASE LOOKUP
35 ;;R^"860.4:","860.41:4",.02,"E"
36 ;;D^DATABASE LOOKUP
37 ;;R^"860.4:","860.41:4",1,"E"
38 ;;D^LOCAL GLUCOPHAGE MEDS
39 ;;EOR^
40 ;;KEY^860.4:^PATIENT CURRENTLY ON LITHIUM FLAG
41 ;;R^"860.4:",.01,"E"
42 ;;D^PATIENT CURRENTLY ON LITHIUM FLAG
43 ;;R^"860.4:",101,"E"
44 ;;D^BOOLEAN
45 ;;R^"860.4:","860.41:4",.01,"E"
46 ;;D^DATABASE LOOKUP
47 ;;R^"860.4:","860.41:4",.02,"E"
48 ;;D^DATABASE LOOKUP
49 ;;R^"860.4:","860.41:4",1,"E"
50 ;;D^PATIENT.TAKING_LITHIUM
51 ;;EOR^
52 ;;KEY^860.4:^DATE OF LAST LITHIUM LAB TEST
53 ;;R^"860.4:",.01,"E"
54 ;;D^DATE OF LAST LITHIUM LAB TEST
55 ;;R^"860.4:",101,"E"
56 ;;D^DATE/TIME
57 ;;R^"860.4:","860.41:4",.01,"E"
58 ;;D^DATABASE LOOKUP
59 ;;R^"860.4:","860.41:4",.02,"E"
60 ;;D^DATABASE LOOKUP
61 ;;R^"860.4:","860.41:4",1,"E"
62 ;;D^PATIENT.DATE_LAST_LITHIUM_TEST
63 ;;EOR^
64 ;;KEY^860.4:^LITHIUM LAB TEST NID
65 ;;R^"860.4:",.01,"E"
66 ;;D^LITHIUM LAB TEST NID
67 ;;R^"860.4:",101,"E"
68 ;;D^FREE TEXT
69 ;;R^"860.4:","860.41:4",.01,"E"
70 ;;D^DATABASE LOOKUP
71 ;;R^"860.4:","860.41:4",.02,"E"
72 ;;D^DATABASE LOOKUP
73 ;;R^"860.4:","860.41:4",1,"E"
74 ;;D^LITHIUM LAB TEST NID
75 ;;EOR^
76 ;;KEY^860.4:^PATIENT CURRENTLY ON GLUCOPHAGE
77 ;;R^"860.4:",.01,"E"
78 ;;D^PATIENT CURRENTLY ON GLUCOPHAGE
79 ;;R^"860.4:",101,"E"
80 ;;D^BOOLEAN
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.TAKING_GLUCOPHAGE
87 ;;EOR^
88 ;;KEY^860.4:^PATIENT HAS DIABETES
89 ;;R^"860.4:",.01,"E"
90 ;;D^PATIENT HAS DIABETES
91 ;;R^"860.4:",101,"E"
92 ;;D^BOOLEAN
93 ;;R^"860.4:","860.41:4",.01,"E"
94 ;;D^DATABASE LOOKUP
95 ;;R^"860.4:","860.41:4",.02,"E"
96 ;;D^DATABASE LOOKUP
97 ;;R^"860.4:","860.41:4",1,"E"
98 ;;D^PATIENT.HAS_DIABETES
99 ;;EOR^
100 ;;KEY^860.4:^ORDER TEXT (51 CHARS)
101 ;;R^"860.4:",.01,"E"
102 ;;D^ORDER TEXT (51 CHARS)
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.ORDER TEXT (51 CHARS)
111 ;;EOR^
112 ;;KEY^860.4:^DATE OF LAST LITHIUM LAB ORDER
113 ;;R^"860.4:",.01,"E"
114 ;;D^DATE OF LAST LITHIUM LAB ORDER
115 ;;R^"860.4:","860.41:4",.01,"E"
116 ;;D^DATABASE LOOKUP
117 ;;R^"860.4:","860.41:4",.02,"E"
118 ;;D^DATABASE LOOKUP
119 ;;R^"860.4:","860.41:4",1,"E"
120 ;;D^PATIENT.DATE_LAST_LITH_ORDER
121 ;;EOR^
122 ;;KEY^860.4:^LITHIUM LAB TEST OI IEN
123 ;;R^"860.4:",.01,"E"
124 ;;D^LITHIUM LAB TEST OI IEN
125 ;;R^"860.4:","860.41:4",.01,"E"
126 ;;D^DATABASE LOOKUP
127 ;;R^"860.4:","860.41:4",.02,"E"
128 ;;D^DATABASE LOOKUP
129 ;;R^"860.4:","860.41:4",1,"E"
130 ;;D^LITHIUM LAB TEST OI IEN
131 ;;EOR^
132 ;;KEY^860.4:^PATIENT MOVEMENT DATE PREVIOUS
133 ;;R^"860.4:",.01,"E"
134 ;;D^PATIENT MOVEMENT DATE PREVIOUS
135 ;;R^"860.4:","860.41:3",.01,"E"
136 ;;D^DGPM PATIENT MOVEMENT PROTOCOL
137 ;;R^"860.4:","860.41:3",.02,"E"
138 ;;D^DGPM MOVEMENT EVENTS PROTOCOL
139 ;;R^"860.4:","860.41:3",1,"E"
140 ;;D^PATIENT.MOVE_DATE_PREV
141 ;;EOR^
142 ;;KEY^860.4:^NUMBER OF MEDS
143 ;;R^"860.4:",.01,"E"
144 ;;D^NUMBER OF MEDS
145 ;;R^"860.4:",101,"E"
146 ;;D^NUMERIC
147 ;;R^"860.4:","860.41:4",.01,"E"
148 ;;D^DATABASE LOOKUP
149 ;;R^"860.4:","860.41:4",.02,"E"
150 ;;D^DATABASE LOOKUP
151 ;;R^"860.4:","860.41:4",1,"E"
152 ;;D^NUMMEDS
153 ;;EOR^
154 ;;KEY^860.4:^RECENT SERUM CREATININE RESULT
155 ;;R^"860.4:",.01,"E"
156 ;;D^RECENT SERUM CREATININE RESULT
157 ;;R^"860.4:",101,"E"
158 ;;D^NUMERIC
159 ;;R^"860.4:","860.41:4",.01,"E"
160 ;;D^DATABASE LOOKUP
161 ;;R^"860.4:","860.41:4",.02,"E"
162 ;;D^DATABASE LOOKUP
163 ;;R^"860.4:","860.41:4",1,"E"
164 ;;D^PATIENT.REC_CREATININE_RESULT
165 ;;EOR^
166 ;;KEY^860.4:^ENTERED BY
167 ;;R^"860.4:",.01,"E"
168 ;;D^ENTERED BY
169 ;;R^"860.4:",101,"E"
170 ;;D^FREE TEXT
171 ;;R^"860.4:","860.41:1",.01,"E"
172 ;;D^GENERIC HL7 MESSAGE ARRAY
173 ;;R^"860.4:","860.41:1",.02,"E"
174 ;;D^HL7 COMMON ORDER SEGMENT
175 ;;R^"860.4:","860.41:1",1,"E"
176 ;;D^HL7_ENTERED BY
177 ;;EOR^
178 ;;KEY^860.4:^ORDERED BY
179 ;;R^"860.4:",.01,"E"
180 ;;D^ORDERED BY
181 ;;R^"860.4:",101,"E"
182 ;;D^FREE TEXT
183 ;;R^"860.4:","860.41:4",.01,"E"
184 ;;D^DATABASE LOOKUP
185 ;;R^"860.4:","860.41:4",.02,"E"
186 ;;D^DATABASE LOOKUP
187 ;;R^"860.4:","860.41:4",1,"E"
188 ;;D^ORDER.ORDERED BY
189 ;;EOR^
190 ;;KEY^860.4:^LAB TEST ID
191 ;;R^"860.4:",.01,"E"
192 ;;D^LAB TEST ID
193 ;;R^"860.4:",101,"E"
194 ;;D^NUMERIC
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.HL7_LAB_LOCAL_ID
201 ;;EOR^
202 ;;KEY^860.4:^LAB TEST PRINT NAME
203 ;;R^"860.4:",.01,"E"
204 ;;D^LAB TEST PRINT NAME
205 ;;R^"860.4:",101,"E"
206 ;;D^FREE TEXT
207 ;;R^"860.4:","860.41:4",.01,"E"
208 ;1;
209 ;
Note: See TracBrowser for help on using the repository browser.