source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI02O.m@ 1739

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

initial load of WorldVistAEHR

File size: 5.1 KB
Line 
1OCXDI02O ;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 ^OCXDI02P
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^ORDER FLAGGED FOR RESULTS
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^ORDER FLAGGED FOR RESULTS
29 ;;EOR^
30 ;;KEY^860.4:^OBSERVATION VALUE
31 ;;R^"860.4:",.01,"E"
32 ;;D^OBSERVATION VALUE
33 ;;R^"860.4:",101,"E"
34 ;;D^FREE TEXT
35 ;;R^"860.4:","860.41:1",.01,"E"
36 ;;D^GENERIC HL7 MESSAGE ARRAY
37 ;;R^"860.4:","860.41:1",.02,"E"
38 ;;D^HL7 OBSERVATION/RESULT SEGMENT
39 ;;R^"860.4:","860.41:1",1,"E"
40 ;;D^PATIENT.HL7_OBSERVATION_VALUE
41 ;;EOR^
42 ;;KEY^860.4:^ORDER NUMBER
43 ;;R^"860.4:",.01,"E"
44 ;;D^ORDER NUMBER
45 ;;R^"860.4:",101,"E"
46 ;;D^NUMERIC
47 ;;R^"860.4:","860.41:1",.01,"E"
48 ;;D^GENERIC HL7 MESSAGE ARRAY
49 ;;R^"860.4:","860.41:1",.02,"E"
50 ;;D^HL7 COMMON ORDER SEGMENT
51 ;;R^"860.4:","860.41:1",1,"E"
52 ;;D^PATIENT.HL7 ORDER NUMBER
53 ;;R^"860.4:","860.41:2",.01,"E"
54 ;;D^CPRS ORDER PROTOCOL
55 ;;R^"860.4:","860.41:2",.02,"E"
56 ;;D^OERR ORDER EVENT FLAG PROTOCOL
57 ;;R^"860.4:","860.41:2",1,"E"
58 ;;D^PATIENT.OERR ORDER NUMBER
59 ;;R^"860.4:","860.41:5",.01,"E"
60 ;;D^CPRS ORDER PRESCAN
61 ;;R^"860.4:","860.41:5",.02,"E"
62 ;;D^ORDER ENTRY ORDER PRESCAN
63 ;;R^"860.4:","860.41:5",1,"E"
64 ;;D^PATIENT.OPS_ORDER NUMBER
65 ;;EOR^
66 ;;KEY^860.4:^ORDERABLE ITEM
67 ;;R^"860.4:",.01,"E"
68 ;;D^ORDERABLE ITEM
69 ;;R^"860.4:",101,"E"
70 ;;D^FREE TEXT
71 ;;R^"860.4:","860.41:1",.01,"E"
72 ;;D^GENERIC HL7 MESSAGE ARRAY
73 ;;R^"860.4:","860.41:1",.02,"E"
74 ;;D^HL7 OBSERVATION/RESULT SEGMENT
75 ;;R^"860.4:","860.41:1",1,"E"
76 ;;D^PATIENT.ORDERABLE ITEM
77 ;;EOR^
78 ;;KEY^860.4:^PATIENT IEN
79 ;;R^"860.4:",.01,"E"
80 ;;D^PATIENT IEN
81 ;;R^"860.4:",101,"E"
82 ;;D^NUMERIC
83 ;;R^"860.4:","860.41:1",.01,"E"
84 ;;D^GENERIC HL7 MESSAGE ARRAY
85 ;;R^"860.4:","860.41:1",.02,"E"
86 ;;D^HL7 PATIENT ID SEGMENT
87 ;;R^"860.4:","860.41:1",1,"E"
88 ;;D^PATIENT.HL7_PATIENT_ID
89 ;;R^"860.4:","860.41:4",.01,"E"
90 ;;D^DATABASE LOOKUP
91 ;;R^"860.4:","860.41:4",.02,"E"
92 ;;D^DATABASE LOOKUP
93 ;;R^"860.4:","860.41:4",1,"E"
94 ;;D^PATIENT.IEN
95 ;;EOR^
96 ;;KEY^860.4:^PATIENT DATE OF BIRTH
97 ;;R^"860.4:",.01,"E"
98 ;;D^PATIENT DATE OF BIRTH
99 ;;R^"860.4:",101,"E"
100 ;;D^DATE/TIME
101 ;;R^"860.4:","860.41:4",.01,"E"
102 ;;D^DATABASE LOOKUP
103 ;;R^"860.4:","860.41:4",.02,"E"
104 ;;D^DATABASE LOOKUP
105 ;;R^"860.4:","860.41:4",1,"E"
106 ;;D^PATIENT.DATE OF BIRTH
107 ;;EOR^
108 ;;KEY^860.4:^ORDER MODE
109 ;;R^"860.4:",.01,"E"
110 ;;D^ORDER MODE
111 ;;R^"860.4:",101,"E"
112 ;;D^FREE TEXT
113 ;;R^"860.4:","860.41:5",.01,"E"
114 ;;D^CPRS ORDER PRESCAN
115 ;;R^"860.4:","860.41:5",.02,"E"
116 ;;D^ORDER ENTRY ORDER PRESCAN
117 ;;R^"860.4:","860.41:5",1,"E"
118 ;;D^PATIENT.OPS_ORD_MODE
119 ;;EOR^
120 ;;KEY^860.4:^OI NATIONAL ID
121 ;;R^"860.4:",.01,"E"
122 ;;D^OI NATIONAL ID
123 ;;R^"860.4:",101,"E"
124 ;;D^FREE TEXT
125 ;;R^"860.4:","860.41:5",.01,"E"
126 ;;D^CPRS ORDER PRESCAN
127 ;;R^"860.4:","860.41:5",.02,"E"
128 ;;D^ORDER ENTRY ORDER PRESCAN
129 ;;R^"860.4:","860.41:5",1,"E"
130 ;;D^PATIENT.OPS_NAT_ID
131 ;;EOR^
132 ;;KEY^860.4:^OI NATIONAL ID TEXT
133 ;;R^"860.4:",.01,"E"
134 ;;D^OI NATIONAL ID TEXT
135 ;;R^"860.4:",101,"E"
136 ;;D^FREE TEXT
137 ;;R^"860.4:","860.41:5",.01,"E"
138 ;;D^CPRS ORDER PRESCAN
139 ;;R^"860.4:","860.41:5",.02,"E"
140 ;;D^ORDER ENTRY ORDER PRESCAN
141 ;;R^"860.4:","860.41:5",1,"E"
142 ;;D^PATIENT.OPS_NAT_TEXT
143 ;;EOR^
144 ;;KEY^860.4:^OI NATIONAL CODING SYSTEM
145 ;;R^"860.4:",.01,"E"
146 ;;D^OI NATIONAL CODING SYSTEM
147 ;;R^"860.4:","860.41:5",.01,"E"
148 ;;D^CPRS ORDER PRESCAN
149 ;;R^"860.4:","860.41:5",.02,"E"
150 ;;D^ORDER ENTRY ORDER PRESCAN
151 ;;R^"860.4:","860.41:5",1,"E"
152 ;;D^PATIENT.OPS_NAT_COD_SYS
153 ;;EOR^
154 ;;KEY^860.4:^OI LOCAL ID
155 ;;R^"860.4:",.01,"E"
156 ;;D^OI LOCAL ID
157 ;;R^"860.4:",101,"E"
158 ;;D^FREE TEXT
159 ;;R^"860.4:","860.41:5",.01,"E"
160 ;;D^CPRS ORDER PRESCAN
161 ;;R^"860.4:","860.41:5",.02,"E"
162 ;;D^ORDER ENTRY ORDER PRESCAN
163 ;;R^"860.4:","860.41:5",1,"E"
164 ;;D^PATIENT.OPS_LOCAL ID
165 ;;EOR^
166 ;;KEY^860.4:^OI LOCAL TEXT
167 ;;R^"860.4:",.01,"E"
168 ;;D^OI LOCAL TEXT
169 ;;R^"860.4:",101,"E"
170 ;;D^FREE TEXT
171 ;;R^"860.4:","860.41:5",.01,"E"
172 ;;D^CPRS ORDER PRESCAN
173 ;;R^"860.4:","860.41:5",.02,"E"
174 ;;D^ORDER ENTRY ORDER PRESCAN
175 ;;R^"860.4:","860.41:5",1,"E"
176 ;;D^PATIENT.OPS_LOCAL_TEXT
177 ;;EOR^
178 ;;KEY^860.4:^OI LOCAL CODING SYSTEM
179 ;;R^"860.4:",.01,"E"
180 ;;D^OI LOCAL CODING SYSTEM
181 ;;R^"860.4:","860.41:5",.01,"E"
182 ;;D^CPRS ORDER PRESCAN
183 ;;R^"860.4:","860.41:5",.02,"E"
184 ;;D^ORDER ENTRY ORDER PRESCAN
185 ;;R^"860.4:","860.41:5",1,"E"
186 ;;D^PATIENT.OPS_LOC_COD_SYS
187 ;;EOR^
188 ;;KEY^860.4:^ORDER EFFECTIVE DATE
189 ;;R^"860.4:",.01,"E"
190 ;;D^ORDER EFFECTIVE DATE
191 ;;R^"860.4:","860.41:5",.01,"E"
192 ;;D^CPRS ORDER PRESCAN
193 ;;R^"860.4:","860.41:5",.02,"E"
194 ;;D^ORDER ENTRY ORDER PRESCAN
195 ;;R^"860.4:","860.41:5",1,"E"
196 ;;D^PATIENT.OPS_ORD_EFF_DATE
197 ;;EOR^
198 ;;KEY^860.4:^DIET ORDERABLE ITEM
199 ;;R^"860.4:",.01,"E"
200 ;;D^DIET ORDERABLE ITEM
201 ;;R^"860.4:",101,"E"
202 ;;D^FREE TEXT
203 ;;R^"860.4:","860.41:1",.01,"E"
204 ;;D^GENERIC HL7 MESSAGE ARRAY
205 ;1;
206 ;
Note: See TracBrowser for help on using the repository browser.