1 | ORY26707 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*267) ;OCT 23,2006 at 10:42
|
---|
2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**267**;Dec 17,1997;Build 6
|
---|
3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
4 | ;
|
---|
5 | S ;
|
---|
6 | ;
|
---|
7 | D DOT^ORY267ES
|
---|
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("OCXRULE",$J,$O(^TMP("OCXRULE",$J,"A"),-1)+1)=TEXT
|
---|
13 | ;
|
---|
14 | ;
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^CPRS ORDER PROTOCOL
|
---|
21 | ;;EOR^
|
---|
22 | ;;KEY^860.5:^ORDER ENTRY ORDER PRESCAN
|
---|
23 | ;;R^"860.5:",.01,"E"
|
---|
24 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
25 | ;;R^"860.5:",.02,"E"
|
---|
26 | ;;D^CPRS ORDER PRESCAN
|
---|
27 | ;;EOR^
|
---|
28 | ;;EOF^OCXS(860.5)^1
|
---|
29 | ;;SOF^860.4 ORDER CHECK DATA FIELD
|
---|
30 | ;;KEY^860.4:^ALLERGY CONTRAST MEDIA LOCATION
|
---|
31 | ;;R^"860.4:",.01,"E"
|
---|
32 | ;;D^ALLERGY CONTRAST MEDIA LOCATION
|
---|
33 | ;;R^"860.4:",101,"E"
|
---|
34 | ;;D^FREE TEXT
|
---|
35 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
36 | ;;D^DATABASE LOOKUP
|
---|
37 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
38 | ;;D^DATABASE LOOKUP
|
---|
39 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
40 | ;;D^PATIENT.CON_MEDIA_LOCATION
|
---|
41 | ;;EOR^
|
---|
42 | ;;KEY^860.4:^CONTRAST MEDIA ALLERGY FLAG
|
---|
43 | ;;R^"860.4:",.01,"E"
|
---|
44 | ;;D^CONTRAST MEDIA ALLERGY FLAG
|
---|
45 | ;;R^"860.4:",1,"E"
|
---|
46 | ;;D^ConMedAlgyFlag
|
---|
47 | ;;R^"860.4:",101,"E"
|
---|
48 | ;;D^BOOLEAN
|
---|
49 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
50 | ;;D^DATABASE LOOKUP
|
---|
51 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
52 | ;;D^DATABASE LOOKUP
|
---|
53 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
54 | ;;D^PATIENT.CONT_MED_ALGY
|
---|
55 | ;;EOR^
|
---|
56 | ;;KEY^860.4:^CONTRAST MEDIA CODE
|
---|
57 | ;;R^"860.4:",.01,"E"
|
---|
58 | ;;D^CONTRAST MEDIA CODE
|
---|
59 | ;;R^"860.4:",1,"E"
|
---|
60 | ;;D^CMC
|
---|
61 | ;;R^"860.4:",101,"E"
|
---|
62 | ;;D^FREE TEXT
|
---|
63 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
64 | ;;D^DATABASE LOOKUP
|
---|
65 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
66 | ;;D^DATABASE LOOKUP
|
---|
67 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
68 | ;;D^PATIENT.CONTR_MED_CODE
|
---|
69 | ;;EOR^
|
---|
70 | ;;KEY^860.4:^CONTRAST MEDIA CODE TRANSLATION
|
---|
71 | ;;R^"860.4:",.01,"E"
|
---|
72 | ;;D^CONTRAST MEDIA CODE TRANSLATION
|
---|
73 | ;;R^"860.4:",101,"E"
|
---|
74 | ;;D^FREE TEXT
|
---|
75 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
76 | ;;D^DATABASE LOOKUP
|
---|
77 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
78 | ;;D^DATABASE LOOKUP
|
---|
79 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
80 | ;;D^PATIENT.CON_MEDIA_TRANS
|
---|
81 | ;;EOR^
|
---|
82 | ;;KEY^860.4:^FILLER
|
---|
83 | ;;R^"860.4:",.01,"E"
|
---|
84 | ;;D^FILLER
|
---|
85 | ;;R^"860.4:",1,"E"
|
---|
86 | ;;D^FILL
|
---|
87 | ;;R^"860.4:",101,"E"
|
---|
88 | ;;D^FREE TEXT
|
---|
89 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
90 | ;;D^CPRS ORDER PRESCAN
|
---|
91 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
92 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
93 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
94 | ;;D^PATIENT.OPS_FILLER
|
---|
95 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
|
---|
96 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
97 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
|
---|
98 | ;;D^HL7 COMMON ORDER SEGMENT
|
---|
99 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
|
---|
100 | ;;D^PATIENT.HL7_FILLER
|
---|
101 | ;;EOR^
|
---|
102 | ;;KEY^860.4:^ORDER MODE
|
---|
103 | ;;R^"860.4:",.01,"E"
|
---|
104 | ;;D^ORDER MODE
|
---|
105 | ;;R^"860.4:",101,"E"
|
---|
106 | ;;D^FREE TEXT
|
---|
107 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
108 | ;;D^CPRS ORDER PRESCAN
|
---|
109 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
110 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
111 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
112 | ;;D^PATIENT.OPS_ORD_MODE
|
---|
113 | ;;EOR^
|
---|
114 | ;;KEY^860.4:^ORDERABLE ITEM IEN
|
---|
115 | ;;R^"860.4:",.01,"E"
|
---|
116 | ;;D^ORDERABLE ITEM IEN
|
---|
117 | ;;R^"860.4:",101,"E"
|
---|
118 | ;;D^NUMERIC
|
---|
119 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
120 | ;;D^CPRS ORDER PRESCAN
|
---|
121 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
122 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
123 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
124 | ;;D^PATIENT.ORDER_ITEM_IEN
|
---|
125 | ;;EOR^
|
---|
126 | ;;KEY^860.4:^PATIENT IEN
|
---|
127 | ;;R^"860.4:",.01,"E"
|
---|
128 | ;;D^PATIENT IEN
|
---|
129 | ;;R^"860.4:",101,"E"
|
---|
130 | ;;D^NUMERIC
|
---|
131 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
|
---|
132 | ;;D^CPRS ORDER PROTOCOL
|
---|
133 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
|
---|
134 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
135 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
|
---|
136 | ;;D^PATIENT.OERR_ORDER_PATIENT
|
---|
137 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
138 | ;;D^DATABASE LOOKUP
|
---|
139 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
140 | ;;D^DATABASE LOOKUP
|
---|
141 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
142 | ;;D^PATIENT.IEN
|
---|
143 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
|
---|
144 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
145 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
|
---|
146 | ;;D^HL7 PATIENT ID SEGMENT
|
---|
147 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
|
---|
148 | ;;D^PATIENT.HL7_PATIENT_ID
|
---|
149 | ;;EOR^
|
---|
150 | ;;EOF^OCXS(860.4)^1
|
---|
151 | ;;SOF^860.3 ORDER CHECK ELEMENT
|
---|
152 | ;;KEY^860.3:^CONTRAST MEDIA ALLERGY
|
---|
153 | ;;R^"860.3:",.01,"E"
|
---|
154 | ;;D^CONTRAST MEDIA ALLERGY
|
---|
155 | ;;R^"860.3:",.02,"E"
|
---|
156 | ;;D^CPRS ORDER PRESCAN
|
---|
157 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
158 | ;;D^1
|
---|
159 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
160 | ;;D^ORDER MODE
|
---|
161 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
162 | ;;D^EQ FREE TEXT
|
---|
163 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
164 | ;;D^SELECT
|
---|
165 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
166 | ;;D^2
|
---|
167 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
168 | ;;D^FILLER
|
---|
169 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
170 | ;;D^EQ FREE TEXT
|
---|
171 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
172 | ;;D^RA
|
---|
173 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
174 | ;;D^3
|
---|
175 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
176 | ;;D^CONTRAST MEDIA CODE
|
---|
177 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
178 | ;;D^CONTAINS ELEMENT IN SET
|
---|
179 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
180 | ;;D^M,I,N,L,C,G,B
|
---|
181 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
182 | ;;D^4
|
---|
183 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
184 | ;;D^CONTRAST MEDIA ALLERGY FLAG
|
---|
185 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
186 | ;;D^LOGICAL TRUE
|
---|
187 | ;;EOR^
|
---|
188 | ;;EOF^OCXS(860.3)^1
|
---|
189 | ;;SOF^860.2 ORDER CHECK RULE
|
---|
190 | ;;KEY^860.2:^ALLERGY - CONTRAST MEDIA REACTION
|
---|
191 | ;;R^"860.2:",.01,"E"
|
---|
192 | ;;D^ALLERGY - CONTRAST MEDIA REACTION
|
---|
193 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
194 | ;;D^ALLERGY
|
---|
195 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
196 | ;;D^CONTRAST MEDIA ALLERGY
|
---|
197 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
198 | ;;D^1
|
---|
199 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
200 | ;;D^ALLERGY
|
---|
201 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
202 | ;;D^ALLERGY-CONTRAST MEDIA INTERACTION
|
---|
203 | ;;R^"860.2:","860.22:1",6,"E"
|
---|
204 | ;;D^Patient allergic to contrast media. (|ALLERGY CONTRAST MEDIA LOCATION|) This procedure uses: |CONTRAST MEDIA CODE TRANSLATION|
|
---|
205 | ;;EOR^
|
---|
206 | ;;EOF^OCXS(860.2)^1
|
---|
207 | ;1;
|
---|
208 | ;
|
---|