1 | OCXDI01W ;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 ^OCXDI01X
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^HL7
|
---|
21 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
22 | ;;D^OCXO FILE POINTER
|
---|
23 | ;;EOR^
|
---|
24 | ;;KEY^863.3:^PATIENT.HL7_CONTROL_CODE
|
---|
25 | ;;R^"863.3:",.01,"E"
|
---|
26 | ;;D^PATIENT.HL7_CONTROL_CODE
|
---|
27 | ;;R^"863.3:",.02,"E"
|
---|
28 | ;;D^PATIENT
|
---|
29 | ;;R^"863.3:",.04,"E"
|
---|
30 | ;;D^HL7
|
---|
31 | ;;R^"863.3:",.05,"E"
|
---|
32 | ;;D^HL7 CONTROL CODE
|
---|
33 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
34 | ;;D^OCXO VARIABLE NAME
|
---|
35 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
36 | ;;D^OCXODATA("ORC",1)
|
---|
37 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
38 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
39 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
40 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
41 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
42 | ;;D^1
|
---|
43 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
44 | ;;D^OCXO HL7 SEGMENT ID
|
---|
45 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
46 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
47 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
48 | ;;D^HL7
|
---|
49 | ;;EOR^
|
---|
50 | ;;KEY^863.3:^PATIENT.HL7_ORDERING_PROVIDER
|
---|
51 | ;;R^"863.3:",.01,"E"
|
---|
52 | ;;D^PATIENT.HL7_ORDERING_PROVIDER
|
---|
53 | ;;R^"863.3:",.02,"E"
|
---|
54 | ;;D^PATIENT
|
---|
55 | ;;R^"863.3:",.04,"E"
|
---|
56 | ;;D^HL7
|
---|
57 | ;;R^"863.3:",.05,"E"
|
---|
58 | ;;D^HL7 ORDERING PROVIDER
|
---|
59 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
60 | ;;D^OCXO VARIABLE NAME
|
---|
61 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
62 | ;;D^OCXODATA("ORC",12)
|
---|
63 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
64 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
65 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
66 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
67 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
68 | ;;D^1
|
---|
69 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
70 | ;;D^OCXO HL7 SEGMENT ID
|
---|
71 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
72 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
73 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
74 | ;;D^HL7
|
---|
75 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
76 | ;;D^OCXO FILE POINTER
|
---|
77 | ;;R^"863.3:","863.32:6",1,"E"
|
---|
78 | ;;D^200
|
---|
79 | ;;EOR^
|
---|
80 | ;;KEY^863.3:^PATIENT.HL7_STATUS
|
---|
81 | ;;R^"863.3:",.01,"E"
|
---|
82 | ;;D^PATIENT.HL7_STATUS
|
---|
83 | ;;R^"863.3:",.02,"E"
|
---|
84 | ;;D^PATIENT
|
---|
85 | ;;R^"863.3:",.04,"E"
|
---|
86 | ;;D^HL7
|
---|
87 | ;;R^"863.3:",.05,"E"
|
---|
88 | ;;D^HL7 STATUS
|
---|
89 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
90 | ;;D^OCXO VARIABLE NAME
|
---|
91 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
92 | ;;D^OCXODATA("OBX",11)
|
---|
93 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
94 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
95 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
96 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
97 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
98 | ;;D^1
|
---|
99 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
100 | ;;D^OCXO HL7 SEGMENT ID
|
---|
101 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
102 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
103 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
104 | ;;D^HL7
|
---|
105 | ;;EOR^
|
---|
106 | ;;KEY^863.3:^PATIENT.HL7_ORDER_START_D/T
|
---|
107 | ;;R^"863.3:",.01,"E"
|
---|
108 | ;;D^PATIENT.HL7_ORDER_START_D/T
|
---|
109 | ;;R^"863.3:",.02,"E"
|
---|
110 | ;;D^PATIENT
|
---|
111 | ;;R^"863.3:",.04,"E"
|
---|
112 | ;;D^HL7
|
---|
113 | ;;R^"863.3:",.05,"E"
|
---|
114 | ;;D^HL7 ORDER START D/T
|
---|
115 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
116 | ;;D^OCXO VARIABLE NAME
|
---|
117 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
118 | ;;D^OCXODATA("ORC",15)
|
---|
119 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
120 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
121 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
122 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
123 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
124 | ;;D^1
|
---|
125 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
126 | ;;D^OCXO HL7 SEGMENT ID
|
---|
127 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
128 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
129 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
130 | ;;D^HL7
|
---|
131 | ;;EOR^
|
---|
132 | ;;KEY^863.3:^PATIENT.HL7_ORDER_PRIORITY
|
---|
133 | ;;R^"863.3:",.01,"E"
|
---|
134 | ;;D^PATIENT.HL7_ORDER_PRIORITY
|
---|
135 | ;;R^"863.3:",.02,"E"
|
---|
136 | ;;D^PATIENT
|
---|
137 | ;;R^"863.3:",.04,"E"
|
---|
138 | ;;D^HL7
|
---|
139 | ;;R^"863.3:",.05,"E"
|
---|
140 | ;;D^ORDER PRIORITY
|
---|
141 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
142 | ;;D^OCXO VARIABLE NAME
|
---|
143 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
144 | ;;D^OCXODATA("OBR",27)
|
---|
145 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
146 | ;;D^OCXO HL7 SEGMENT ID
|
---|
147 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
148 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
149 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
150 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
151 | ;;R^"863.3:","863.32:4",1,"E"
|
---|
152 | ;;D^6
|
---|
153 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
154 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
155 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
156 | ;;D^HL7
|
---|
157 | ;;R^"863.3:","863.32:6",.01,"E"
|
---|
158 | ;;D^OCXO SEMI-COLON PIECE NUMBER
|
---|
159 | ;;R^"863.3:","863.32:6",1,"E"
|
---|
160 | ;;D^1
|
---|
161 | ;;EOR^
|
---|
162 | ;;KEY^863.3:^PATIENT.RESULT_STATUS
|
---|
163 | ;;R^"863.3:",.01,"E"
|
---|
164 | ;;D^PATIENT.RESULT_STATUS
|
---|
165 | ;;R^"863.3:",.02,"E"
|
---|
166 | ;;D^PATIENT
|
---|
167 | ;;R^"863.3:",.04,"E"
|
---|
168 | ;;D^HL7
|
---|
169 | ;;R^"863.3:",.05,"E"
|
---|
170 | ;;D^RESULT STATUS OBX
|
---|
171 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
172 | ;;D^OCXO VARIABLE NAME
|
---|
173 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
174 | ;;D^OCXODATA("OBX",11)
|
---|
175 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
176 | ;;D^OCXO HL7 SEGMENT ID
|
---|
177 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
178 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
179 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
180 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
181 | ;;R^"863.3:","863.32:4",1,"E"
|
---|
182 | ;;D^1
|
---|
183 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
184 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
185 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
186 | ;;D^HL7
|
---|
187 | ;;EOR^
|
---|
188 | ;;KEY^863.3:^PATIENT.HL7_ABNORMAL_FLAG
|
---|
189 | ;;R^"863.3:",.01,"E"
|
---|
190 | ;;D^PATIENT.HL7_ABNORMAL_FLAG
|
---|
191 | ;;R^"863.3:",.02,"E"
|
---|
192 | ;;D^PATIENT
|
---|
193 | ;;R^"863.3:",.04,"E"
|
---|
194 | ;;D^HL7
|
---|
195 | ;;R^"863.3:",.05,"E"
|
---|
196 | ;;D^ABNORM FLAG
|
---|
197 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
198 | ;;D^OCXO VARIABLE NAME
|
---|
199 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
200 | ;;D^OCXODATA("OBX",8)
|
---|
201 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
202 | ;;D^OCXO HL7 SEGMENT ID
|
---|
203 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
204 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
205 | ;;R^"863.3:","863.32:4",.01,"E"
|
---|
206 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
207 | ;;R^"863.3:","863.32:4",1,"E"
|
---|
208 | ;;D^1
|
---|
209 | ;;R^"863.3:","863.32:5",.01,"E"
|
---|
210 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
211 | ;;R^"863.3:","863.32:5",1,"E"
|
---|
212 | ;1;
|
---|
213 | ;
|
---|