1 | OCXDI02R ;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 ^OCXDI02S
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
21 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
22 | ;;D^HL7 PHARMACY PRESCRIPTION ORDER SEGMENT
|
---|
23 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
24 | ;;D^PATIENT.HL7_RX_OI_TEXT
|
---|
25 | ;;EOR^
|
---|
26 | ;;KEY^860.4:^PATIENT WARD ROOM-BED
|
---|
27 | ;;R^"860.4:",.01,"E"
|
---|
28 | ;;D^PATIENT WARD ROOM-BED
|
---|
29 | ;;R^"860.4:",101,"E"
|
---|
30 | ;;D^FREE TEXT
|
---|
31 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
32 | ;;D^DATABASE LOOKUP
|
---|
33 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
34 | ;;D^DATABASE LOOKUP
|
---|
35 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
36 | ;;D^PATIENT.WARD_ROOM-BED
|
---|
37 | ;;EOR^
|
---|
38 | ;;KEY^860.4:^INPATIENT
|
---|
39 | ;;R^"860.4:",.01,"E"
|
---|
40 | ;;D^INPATIENT
|
---|
41 | ;;R^"860.4:",101,"E"
|
---|
42 | ;;D^BOOLEAN
|
---|
43 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
44 | ;;D^DATABASE LOOKUP
|
---|
45 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
46 | ;;D^DATABASE LOOKUP
|
---|
47 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
48 | ;;D^INPATIENT
|
---|
49 | ;;EOR^
|
---|
50 | ;;KEY^860.4:^SENDING APPLICATION
|
---|
51 | ;;R^"860.4:",.01,"E"
|
---|
52 | ;;D^SENDING APPLICATION
|
---|
53 | ;;R^"860.4:",101,"E"
|
---|
54 | ;;D^FREE TEXT
|
---|
55 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
56 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
57 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
58 | ;;D^HL7 MESSAGE HEADER
|
---|
59 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
60 | ;;D^PATIENT.HL7_SEND_APP
|
---|
61 | ;;EOR^
|
---|
62 | ;;KEY^860.4:^RECIEVING APPLICATION
|
---|
63 | ;;R^"860.4:",.01,"E"
|
---|
64 | ;;D^RECIEVING APPLICATION
|
---|
65 | ;;R^"860.4:",101,"E"
|
---|
66 | ;;D^FREE TEXT
|
---|
67 | ;;R^"860.4:","860.41:1",.01,"E"
|
---|
68 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
69 | ;;R^"860.4:","860.41:1",.02,"E"
|
---|
70 | ;;D^HL7 MESSAGE HEADER
|
---|
71 | ;;R^"860.4:","860.41:1",1,"E"
|
---|
72 | ;;D^PATIENT.HL7_RECV_APP
|
---|
73 | ;;EOR^
|
---|
74 | ;;KEY^860.4:^EXTERNAL APPLICATION
|
---|
75 | ;;R^"860.4:",.01,"E"
|
---|
76 | ;;D^EXTERNAL APPLICATION
|
---|
77 | ;;R^"860.4:",101,"E"
|
---|
78 | ;;D^FREE TEXT
|
---|
79 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
80 | ;;D^DATABASE LOOKUP
|
---|
81 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
82 | ;;D^DATABASE LOOKUP
|
---|
83 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
84 | ;;D^PATIENT.HL7_EXT_APP
|
---|
85 | ;;EOR^
|
---|
86 | ;;KEY^860.4:^PATIENT FAC. TREAT. SPEC. CURRENT
|
---|
87 | ;;R^"860.4:",.01,"E"
|
---|
88 | ;;D^PATIENT FAC. TREAT. SPEC. CURRENT
|
---|
89 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
90 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
91 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
92 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
93 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
94 | ;;D^PATIENT.FAC_TREAT_SPEC_CURR
|
---|
95 | ;;EOR^
|
---|
96 | ;;KEY^860.4:^PATIENT FAC. TREAT. SPEC. PREVIOUS
|
---|
97 | ;;R^"860.4:",.01,"E"
|
---|
98 | ;;D^PATIENT FAC. TREAT. SPEC. PREVIOUS
|
---|
99 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
100 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
101 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
102 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
103 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
104 | ;;D^PATIENT.FAC_TREAT_SPEC_PREV
|
---|
105 | ;;EOR^
|
---|
106 | ;;KEY^860.4:^PATIENT MOVEMENT WARD CURRENT
|
---|
107 | ;;R^"860.4:",.01,"E"
|
---|
108 | ;;D^PATIENT MOVEMENT WARD CURRENT
|
---|
109 | ;;R^"860.4:",101,"E"
|
---|
110 | ;;D^FREE TEXT
|
---|
111 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
112 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
113 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
114 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
115 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
116 | ;;D^PATIENT.MOVE_WARD_CURR
|
---|
117 | ;;EOR^
|
---|
118 | ;;KEY^860.4:^PATIENT MOVEMENT SERVICE CURRENT
|
---|
119 | ;;R^"860.4:",.01,"E"
|
---|
120 | ;;D^PATIENT MOVEMENT SERVICE CURRENT
|
---|
121 | ;;R^"860.4:",101,"E"
|
---|
122 | ;;D^FREE TEXT
|
---|
123 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
124 | ;;D^DATABASE LOOKUP
|
---|
125 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
126 | ;;D^DATABASE LOOKUP
|
---|
127 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
128 | ;;D^PATIENT.MOVE_SERV_CURR
|
---|
129 | ;;EOR^
|
---|
130 | ;;KEY^860.4:^PATIENT MOVEMENT WARD IEN CURRENT
|
---|
131 | ;;R^"860.4:",.01,"E"
|
---|
132 | ;;D^PATIENT MOVEMENT WARD IEN CURRENT
|
---|
133 | ;;R^"860.4:",1,"E"
|
---|
134 | ;;D^PMWIENC
|
---|
135 | ;;R^"860.4:",101,"E"
|
---|
136 | ;;D^NUMERIC
|
---|
137 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
138 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
139 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
140 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
141 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
142 | ;;D^PATIENT.MOV_WARD_IEN_CURR
|
---|
143 | ;;EOR^
|
---|
144 | ;;KEY^860.4:^PATIENT MOVEMENT WARD IEN PREVIOUS
|
---|
145 | ;;R^"860.4:",.01,"E"
|
---|
146 | ;;D^PATIENT MOVEMENT WARD IEN PREVIOUS
|
---|
147 | ;;R^"860.4:",1,"E"
|
---|
148 | ;;D^PMWIENP
|
---|
149 | ;;R^"860.4:",101,"E"
|
---|
150 | ;;D^NUMERIC
|
---|
151 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
152 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
153 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
154 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
155 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
156 | ;;D^PATIENT.MOV_WARD_IEN_PREV
|
---|
157 | ;;EOR^
|
---|
158 | ;;KEY^860.4:^PATIENT MOVEMENT SERVICE PREVIOUS
|
---|
159 | ;;R^"860.4:",.01,"E"
|
---|
160 | ;;D^PATIENT MOVEMENT SERVICE PREVIOUS
|
---|
161 | ;;R^"860.4:",101,"E"
|
---|
162 | ;;D^FREE TEXT
|
---|
163 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
164 | ;;D^DATABASE LOOKUP
|
---|
165 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
166 | ;;D^DATABASE LOOKUP
|
---|
167 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
168 | ;;D^PATIENT.MOVE_SERV_PREV
|
---|
169 | ;;EOR^
|
---|
170 | ;;KEY^860.4:^PATIENT MOVEMENT WARD PREVIOUS
|
---|
171 | ;;R^"860.4:",.01,"E"
|
---|
172 | ;;D^PATIENT MOVEMENT WARD PREVIOUS
|
---|
173 | ;;R^"860.4:",101,"E"
|
---|
174 | ;;D^FREE TEXT
|
---|
175 | ;;R^"860.4:","860.41:3",.01,"E"
|
---|
176 | ;;D^DGPM PATIENT MOVEMENT PROTOCOL
|
---|
177 | ;;R^"860.4:","860.41:3",.02,"E"
|
---|
178 | ;;D^DGPM MOVEMENT EVENTS PROTOCOL
|
---|
179 | ;;R^"860.4:","860.41:3",1,"E"
|
---|
180 | ;;D^PATIENT.MOVE_WARD_PREV
|
---|
181 | ;;EOR^
|
---|
182 | ;;KEY^860.4:^ORDERABLE ITEM NAME
|
---|
183 | ;;R^"860.4:",.01,"E"
|
---|
184 | ;;D^ORDERABLE ITEM NAME
|
---|
185 | ;;R^"860.4:",101,"E"
|
---|
186 | ;;D^FREE TEXT
|
---|
187 | ;;R^"860.4:","860.41:4",.01,"E"
|
---|
188 | ;;D^DATABASE LOOKUP
|
---|
189 | ;;R^"860.4:","860.41:4",.02,"E"
|
---|
190 | ;;D^DATABASE LOOKUP
|
---|
191 | ;;R^"860.4:","860.41:4",1,"E"
|
---|
192 | ;;D^PATIENT.ORD_ITEM_NAME
|
---|
193 | ;;EOR^
|
---|
194 | ;;KEY^860.4:^NEW PATIENT MOVEMENT
|
---|
195 | ;;R^"860.4:",.01,"E"
|
---|
196 | ;1;
|
---|
197 | ;
|
---|