1 | OCXDI02N ;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 ^OCXDI02O
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;R^"860.4:",.01,"E"
|
---|
21 | ;;D^LAB LOCAL ORDERABLE ITEM
|
---|
22 | ;;R^"860.4:",101,"E"
|
---|
23 | ;;D^FREE TEXT
|
---|
24 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
25 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
26 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
27 | ;;D^HL7 OBSERVATION/RESULT SEGMENT
|
---|
28 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
29 | ;;D^PATIENT.LAB_LOCAL_OI
|
---|
30 | ;;EOR^
|
---|
31 | ;;KEY^860.4:^ORDER D/T
|
---|
32 | ;;R^"860.4:",.01,"E"
|
---|
33 | ;;D^ORDER D/T
|
---|
34 | ;;R^"860.4:",101,"E"
|
---|
35 | ;;D^DATE/TIME
|
---|
36 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
37 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
38 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
39 | ;;D^HL7 COMMON ORDER SEGMENT
|
---|
40 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
41 | ;;D^PATIENT.HL7_ORDER_PLACED_DT
|
---|
42 | ;;EOR^
|
---|
43 | ;;KEY^860.4:^RADIOLOGY PROCEDURE
|
---|
44 | ;;R^"860.4:",.01,"E"
|
---|
45 | ;;D^RADIOLOGY PROCEDURE
|
---|
46 | ;;R^"860.4:",101,"E"
|
---|
47 | ;;D^FREE TEXT
|
---|
48 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
49 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
50 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
51 | ;;D^HL7 OBSERVATION/RESULT SEGMENT
|
---|
52 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
53 | ;;D^PATIENT.RADIOLOGY_PROCEDURE
|
---|
54 | ;;EOR^
|
---|
55 | ;;KEY^860.4:^ORDER PRIORITY (ORC)
|
---|
56 | ;;R^"860.4:",.01,"E"
|
---|
57 | ;;D^ORDER PRIORITY (ORC)
|
---|
58 | ;;R^"860.4:",101,"E"
|
---|
59 | ;;D^FREE TEXT
|
---|
60 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
61 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
62 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
63 | ;;D^HL7 COMMON ORDER SEGMENT
|
---|
64 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
65 | ;;D^PATIENT.ORDER_PRIORITY(ORC)
|
---|
66 | ;;EOR^
|
---|
67 | ;;KEY^860.4:^ORDER STATUS
|
---|
68 | ;;R^"860.4:",.01,"E"
|
---|
69 | ;;D^ORDER STATUS
|
---|
70 | ;;R^"860.4:",101,"E"
|
---|
71 | ;;D^FREE TEXT
|
---|
72 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
73 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
74 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
75 | ;;D^HL7 COMMON ORDER SEGMENT
|
---|
76 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
77 | ;;D^PATIENT.HL7_ORDER_STATUS
|
---|
78 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
79 | ;;D^DATABASE LOOKUP
|
---|
80 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
81 | ;;D^DATABASE LOOKUP
|
---|
82 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
83 | ;;D^PATIENT.ORDER STATUS
|
---|
84 | ;;EOR^
|
---|
85 | ;;KEY^860.4:^REQUEST STATUS (OBR)
|
---|
86 | ;;R^"860.4:",.01,"E"
|
---|
87 | ;;D^REQUEST STATUS (OBR)
|
---|
88 | ;;R^"860.4:",101,"E"
|
---|
89 | ;;D^FREE TEXT
|
---|
90 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
91 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
92 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
93 | ;;D^HL7 OBSERVATION REQUEST SEGMENT
|
---|
94 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
95 | ;;D^PATIENT.HL7_REQUEST_STATUS
|
---|
96 | ;;EOR^
|
---|
97 | ;;KEY^860.4:^ORDERABLE ITEM LOCAL TEXT
|
---|
98 | ;;R^"860.4:",.01,"E"
|
---|
99 | ;;D^ORDERABLE ITEM LOCAL TEXT
|
---|
100 | ;;R^"860.4:",101,"E"
|
---|
101 | ;;D^FREE TEXT
|
---|
102 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
103 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
104 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
105 | ;;D^HL7 OBSERVATION REQUEST SEGMENT
|
---|
106 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
107 | ;;D^PATIENT.HL7_LOCAL_OI_TEXT
|
---|
108 | ;;EOR^
|
---|
109 | ;;KEY^860.4:^PATIENT MOVEMENT TYPE CURRENT
|
---|
110 | ;;R^"860.4:",.01,"E"
|
---|
111 | ;;D^PATIENT MOVEMENT TYPE CURRENT
|
---|
112 | ;;R^"860.4:",101,"E"
|
---|
113 | ;;D^FREE TEXT
|
---|
114 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
115 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
116 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
117 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
118 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
119 | ;;D^PATIENT.MOVE_TYPE_CURRENT
|
---|
120 | ;;EOR^
|
---|
121 | ;;KEY^860.4:^PATIENT MOVEMENT DATE CURRENT
|
---|
122 | ;;R^"860.4:",.01,"E"
|
---|
123 | ;;D^PATIENT MOVEMENT DATE CURRENT
|
---|
124 | ;;R^"860.4:",101,"E"
|
---|
125 | ;;D^DATE/TIME
|
---|
126 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
127 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
128 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
129 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
130 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
131 | ;;D^PATIENT.MOV_DATE_CUR
|
---|
132 | ;;EOR^
|
---|
133 | ;;KEY^860.4:^ORDER FLAGGED FOR CLARIFICATION
|
---|
134 | ;;R^"860.4:",.01,"E"
|
---|
135 | ;;D^ORDER FLAGGED FOR CLARIFICATION
|
---|
136 | ;;R^"860.4:",101,"E"
|
---|
137 | ;;D^BOOLEAN
|
---|
138 | ;;R^"860.4:","860.41:2",.01,"E"
|
---|
139 | ;;D^CPRS ORDER PROTOCOL
|
---|
140 | ;;R^"860.4:","860.41:2",.02,"E"
|
---|
141 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
142 | ;;R^"860.4:","860.41:2",1,"E"
|
---|
143 | ;;D^PATIENT.OERR_ORDER_FLAGGED
|
---|
144 | ;;EOR^
|
---|
145 | ;;KEY^860.4:^ORDER REQ. CHART SIGN.
|
---|
146 | ;;R^"860.4:",.01,"E"
|
---|
147 | ;;D^ORDER REQ. CHART SIGN.
|
---|
148 | ;;R^"860.4:",101,"E"
|
---|
149 | ;;D^BOOLEAN
|
---|
150 | ;;R^"860.4:","860.41:2",.01,"E"
|
---|
151 | ;;D^CPRS ORDER PROTOCOL
|
---|
152 | ;;R^"860.4:","860.41:2",.02,"E"
|
---|
153 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
154 | ;;R^"860.4:","860.41:2",1,"E"
|
---|
155 | ;;D^PATIENT.OERR_ORD_REQ_CHART_SIG
|
---|
156 | ;;EOR^
|
---|
157 | ;;KEY^860.4:^SERV. ORDER REQ CHART SIG.
|
---|
158 | ;;R^"860.4:",.01,"E"
|
---|
159 | ;;D^SERV. ORDER REQ CHART SIG.
|
---|
160 | ;;R^"860.4:",101,"E"
|
---|
161 | ;;D^BOOLEAN
|
---|
162 | ;;R^"860.4:","860.41:2",.01,"E"
|
---|
163 | ;;D^CPRS ORDER PROTOCOL
|
---|
164 | ;;R^"860.4:","860.41:2",.02,"E"
|
---|
165 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
166 | ;;R^"860.4:","860.41:2",1,"E"
|
---|
167 | ;;D^PATIENT.SERV_ORD_REQ_SIG
|
---|
168 | ;;EOR^
|
---|
169 | ;;KEY^860.4:^ORDER REQ. CO-SIG.
|
---|
170 | ;;R^"860.4:",.01,"E"
|
---|
171 | ;;D^ORDER REQ. CO-SIG.
|
---|
172 | ;;R^"860.4:",101,"E"
|
---|
173 | ;;D^BOOLEAN
|
---|
174 | ;;R^"860.4:","860.41:2",.01,"E"
|
---|
175 | ;;D^CPRS ORDER PROTOCOL
|
---|
176 | ;;R^"860.4:","860.41:2",.02,"E"
|
---|
177 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
178 | ;;R^"860.4:","860.41:2",1,"E"
|
---|
179 | ;;D^PATIENT.ORD_REQ_CO_SIG
|
---|
180 | ;;EOR^
|
---|
181 | ;;KEY^860.4:^ORDER REQ. ELEC. SIG.
|
---|
182 | ;;R^"860.4:",.01,"E"
|
---|
183 | ;;D^ORDER REQ. ELEC. SIG.
|
---|
184 | ;;R^"860.4:",101,"E"
|
---|
185 | ;;D^BOOLEAN
|
---|
186 | ;;R^"860.4:","860.41:2",.01,"E"
|
---|
187 | ;;D^CPRS ORDER PROTOCOL
|
---|
188 | ;;R^"860.4:","860.41:2",.02,"E"
|
---|
189 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
190 | ;;R^"860.4:","860.41:2",1,"E"
|
---|
191 | ;;D^PATIENT.ORD_REQ_ELEC_SIG
|
---|
192 | ;;EOR^
|
---|
193 | ;;KEY^860.4:^ORDER FLAGGED FOR RESULTS
|
---|
194 | ;;R^"860.4:",.01,"E"
|
---|
195 | ;1;
|
---|
196 | ;
|
---|