source: FOIAVistA/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI02Y.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 
1OCXDI02Y ;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 ^OCXDI02Z
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^ABNORMAL FLAG
21 ;;R^"860.3:","860.31:2",2,"E"
22 ;;D^EQ FREE TEXT
23 ;;R^"860.3:","860.31:2",3,"E"
24 ;;D^A
25 ;;R^"860.3:","860.31:3",.01,"E"
26 ;;D^3
27 ;;R^"860.3:","860.31:3",1,"E"
28 ;;D^REQUEST STATUS (OBR)
29 ;;R^"860.3:","860.31:3",2,"E"
30 ;;D^EQ FREE TEXT
31 ;;R^"860.3:","860.31:3",3,"E"
32 ;;D^F
33 ;;EOR^
34 ;;KEY^860.3:^PATIENT TRANSFERRED FROM PSYCH WARD
35 ;;R^"860.3:",.01,"E"
36 ;;D^PATIENT TRANSFERRED FROM PSYCH WARD
37 ;;R^"860.3:",.02,"E"
38 ;;D^DGPM PATIENT MOVEMENT PROTOCOL
39 ;;R^"860.3:","860.31:1",.01,"E"
40 ;;D^1
41 ;;R^"860.3:","860.31:1",1,"E"
42 ;;D^PATIENT MOVEMENT SERVICE PREVIOUS
43 ;;R^"860.3:","860.31:1",2,"E"
44 ;;D^EQ FREE TEXT
45 ;;R^"860.3:","860.31:1",3,"E"
46 ;;D^PSYCHIATRY
47 ;;R^"860.3:","860.31:2",.01,"E"
48 ;;D^2
49 ;;R^"860.3:","860.31:2",1,"E"
50 ;;D^PATIENT MOVEMENT SERVICE CURRENT
51 ;;R^"860.3:","860.31:2",2,"E"
52 ;;D^LENGTH IS GREATER THAN
53 ;;R^"860.3:","860.31:2",3,"E"
54 ;;D^0
55 ;;R^"860.3:","860.31:3",.01,"E"
56 ;;D^3
57 ;;R^"860.3:","860.31:3",1,"E"
58 ;;D^PATIENT MOVEMENT SERVICE CURRENT
59 ;;R^"860.3:","860.31:3",2,"E"
60 ;;D^NOT EQUAL TO
61 ;;R^"860.3:","860.31:3",3,"E"
62 ;;D^PSYCHIATRY
63 ;;EOR^
64 ;;KEY^860.3:^HL7 NEW SERVICE ORDER
65 ;;R^"860.3:",.01,"E"
66 ;;D^HL7 NEW SERVICE ORDER
67 ;;R^"860.3:",.02,"E"
68 ;;D^GENERIC HL7 MESSAGE ARRAY
69 ;;R^"860.3:","860.31:1",.01,"E"
70 ;;D^1
71 ;;R^"860.3:","860.31:1",1,"E"
72 ;;D^CONTROL CODE
73 ;;R^"860.3:","860.31:1",2,"E"
74 ;;D^EQ FREE TEXT
75 ;;R^"860.3:","860.31:1",3,"E"
76 ;;D^SN
77 ;;EOR^
78 ;;KEY^860.3:^ORDER FLAGGED
79 ;;R^"860.3:",.01,"E"
80 ;;D^ORDER FLAGGED
81 ;;R^"860.3:",.02,"E"
82 ;;D^CPRS ORDER PROTOCOL
83 ;;R^"860.3:","860.31:1",.01,"E"
84 ;;D^1
85 ;;R^"860.3:","860.31:1",1,"E"
86 ;;D^ORDER FLAGGED FOR CLARIFICATION
87 ;;R^"860.3:","860.31:1",2,"E"
88 ;;D^LOGICAL TRUE
89 ;;EOR^
90 ;;KEY^860.3:^ORDER REQUIRES CHART SIGNATURE
91 ;;R^"860.3:",.01,"E"
92 ;;D^ORDER REQUIRES CHART SIGNATURE
93 ;;R^"860.3:",.02,"E"
94 ;;D^CPRS ORDER PROTOCOL
95 ;;R^"860.3:","860.31:1",.01,"E"
96 ;;D^1
97 ;;R^"860.3:","860.31:1",1,"E"
98 ;;D^ORDER REQ. CHART SIGN.
99 ;;R^"860.3:","860.31:1",2,"E"
100 ;;D^LOGICAL TRUE
101 ;;EOR^
102 ;;KEY^860.3:^SERVICE ORDER REQUIRES CHART SIGNATURE
103 ;;R^"860.3:",.01,"E"
104 ;;D^SERVICE ORDER REQUIRES CHART SIGNATURE
105 ;;R^"860.3:",.02,"E"
106 ;;D^CPRS ORDER PROTOCOL
107 ;;R^"860.3:","860.31:1",.01,"E"
108 ;;D^1
109 ;;R^"860.3:","860.31:1",1,"E"
110 ;;D^SERV. ORDER REQ CHART SIG.
111 ;;R^"860.3:","860.31:1",2,"E"
112 ;;D^LOGICAL TRUE
113 ;;EOR^
114 ;;KEY^860.3:^ORDER REQUIRES CO-SIGNATURE
115 ;;R^"860.3:",.01,"E"
116 ;;D^ORDER REQUIRES CO-SIGNATURE
117 ;;R^"860.3:",.02,"E"
118 ;;D^CPRS ORDER PROTOCOL
119 ;;R^"860.3:","860.31:1",.01,"E"
120 ;;D^1
121 ;;R^"860.3:","860.31:1",1,"E"
122 ;;D^ORDER REQ. CO-SIG.
123 ;;R^"860.3:","860.31:1",2,"E"
124 ;;D^LOGICAL TRUE
125 ;;EOR^
126 ;;KEY^860.3:^ORDER REQUIRES ELECTRONIC SIGNATURE
127 ;;R^"860.3:",.01,"E"
128 ;;D^ORDER REQUIRES ELECTRONIC SIGNATURE
129 ;;R^"860.3:",.02,"E"
130 ;;D^CPRS ORDER PROTOCOL
131 ;;R^"860.3:","860.31:1",.01,"E"
132 ;;D^1
133 ;;R^"860.3:","860.31:1",1,"E"
134 ;;D^ORDER REQ. ELEC. SIG.
135 ;;R^"860.3:","860.31:1",2,"E"
136 ;;D^LOGICAL TRUE
137 ;;EOR^
138 ;;KEY^860.3:^ORDER FLAGGED FOR RESULTS
139 ;;R^"860.3:",.01,"E"
140 ;;D^ORDER FLAGGED FOR RESULTS
141 ;;R^"860.3:",.02,"E"
142 ;;D^GENERIC HL7 MESSAGE ARRAY
143 ;;R^"860.3:","860.31:1",.01,"E"
144 ;;D^1
145 ;;R^"860.3:","860.31:1",1,"E"
146 ;;D^ORDER FLAGGED FOR RESULTS
147 ;;R^"860.3:","860.31:1",2,"E"
148 ;;D^LOGICAL TRUE
149 ;;EOR^
150 ;;KEY^860.3:^TEST PAP SMEAR ORDER
151 ;;R^"860.3:",.01,"E"
152 ;;D^TEST PAP SMEAR ORDER
153 ;;R^"860.3:",.02,"E"
154 ;;D^GENERIC HL7 MESSAGE ARRAY
155 ;;R^"860.3:","860.31:1",.01,"E"
156 ;;D^1
157 ;;R^"860.3:","860.31:1",1,"E"
158 ;;D^OBSERVATION VALUE
159 ;;R^"860.3:","860.31:1",2,"E"
160 ;;D^EQ FREE TEXT
161 ;;R^"860.3:","860.31:1",3,"E"
162 ;;D^PAP SMEAR
163 ;;EOR^
164 ;;KEY^860.3:^CONSULT CANCELLED
165 ;;R^"860.3:",.01,"E"
166 ;;D^CONSULT CANCELLED
167 ;;R^"860.3:",.02,"E"
168 ;;D^GENERIC HL7 MESSAGE ARRAY
169 ;;R^"860.3:","860.31:1",.01,"E"
170 ;;D^1
171 ;;R^"860.3:","860.31:1",1,"E"
172 ;;D^FILLER
173 ;;R^"860.3:","860.31:1",2,"E"
174 ;;D^EQ FREE TEXT
175 ;;R^"860.3:","860.31:1",3,"E"
176 ;;D^GMRC
177 ;;R^"860.3:","860.31:2",.01,"E"
178 ;;D^2
179 ;;R^"860.3:","860.31:2",1,"E"
180 ;;D^CONTROL CODE
181 ;;R^"860.3:","860.31:2",2,"E"
182 ;;D^EQ FREE TEXT
183 ;;R^"860.3:","860.31:2",3,"E"
184 ;;D^CA
185 ;;R^"860.3:","860.31:3",.01,"E"
186 ;;D^3
187 ;;EOR^
188 ;;KEY^860.3:^HL7 DIET NAME EQUALS NPO
189 ;;R^"860.3:",.01,"E"
190 ;;D^HL7 DIET NAME EQUALS NPO
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^DIET ORDERABLE ITEM
197 ;;R^"860.3:","860.31:1",2,"E"
198 ;;D^EQ FREE TEXT
199 ;;R^"860.3:","860.31:1",3,"E"
200 ;;D^NPO
201 ;;EOR^
202 ;;KEY^860.3:^CONSULT DISCONTINUED
203 ;;R^"860.3:",.01,"E"
204 ;;D^CONSULT DISCONTINUED
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^FILLER
211 ;;R^"860.3:","860.31:1",2,"E"
212 ;;D^EQ FREE TEXT
213 ;;R^"860.3:","860.31:1",3,"E"
214 ;;D^GMRC
215 ;;R^"860.3:","860.31:2",.01,"E"
216 ;1;
217 ;
Note: See TracBrowser for help on using the repository browser.