1 | ORY23407 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*234) ;MAY 13,2005 at 09:31
|
---|
2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**234**;Dec 17,1997
|
---|
3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
4 | ;
|
---|
5 | S ;
|
---|
6 | ;
|
---|
7 | D DOT^ORY234ES
|
---|
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^CMC
|
---|
21 | ;;R^"860.4:",101,"E"
|
---|
22 | ;;D^FREE TEXT
|
---|
23 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
24 | ;;D^DATABASE LOOKUP
|
---|
25 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
26 | ;;D^DATABASE LOOKUP
|
---|
27 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
28 | ;;D^PATIENT.CONTR_MED_CODE
|
---|
29 | ;;EOR^
|
---|
30 | ;;KEY^860.4:^CONTRAST MEDIA CODE TRANSLATION
|
---|
31 | ;;R^"860.4:",.01,"E"
|
---|
32 | ;;D^CONTRAST MEDIA CODE TRANSLATION
|
---|
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_TRANS
|
---|
41 | ;;EOR^
|
---|
42 | ;;KEY^860.4:^FILLER
|
---|
43 | ;;R^"860.4:",.01,"E"
|
---|
44 | ;;D^FILLER
|
---|
45 | ;;R^"860.4:",1,"E"
|
---|
46 | ;;D^FILL
|
---|
47 | ;;R^"860.4:",101,"E"
|
---|
48 | ;;D^FREE TEXT
|
---|
49 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
50 | ;;D^CPRS ORDER PRESCAN
|
---|
51 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
52 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
53 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
54 | ;;D^PATIENT.OPS_FILLER
|
---|
55 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
|
---|
56 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
57 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
|
---|
58 | ;;D^HL7 COMMON ORDER SEGMENT
|
---|
59 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
|
---|
60 | ;;D^PATIENT.HL7_FILLER
|
---|
61 | ;;EOR^
|
---|
62 | ;;KEY^860.4:^ORDER MODE
|
---|
63 | ;;R^"860.4:",.01,"E"
|
---|
64 | ;;D^ORDER MODE
|
---|
65 | ;;R^"860.4:",101,"E"
|
---|
66 | ;;D^FREE TEXT
|
---|
67 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
68 | ;;D^CPRS ORDER PRESCAN
|
---|
69 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
70 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
71 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
72 | ;;D^PATIENT.OPS_ORD_MODE
|
---|
73 | ;;EOR^
|
---|
74 | ;;KEY^860.4:^ORDERABLE ITEM IEN
|
---|
75 | ;;R^"860.4:",.01,"E"
|
---|
76 | ;;D^ORDERABLE ITEM IEN
|
---|
77 | ;;R^"860.4:",101,"E"
|
---|
78 | ;;D^NUMERIC
|
---|
79 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.01,"E"
|
---|
80 | ;;D^CPRS ORDER PRESCAN
|
---|
81 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",.02,"E"
|
---|
82 | ;;D^ORDER ENTRY ORDER PRESCAN
|
---|
83 | ;;R^"860.4:","860.41:CPRS ORDER PRESCAN^860.6",1,"E"
|
---|
84 | ;;D^PATIENT.ORDER_ITEM_IEN
|
---|
85 | ;;EOR^
|
---|
86 | ;;KEY^860.4:^PATIENT IEN
|
---|
87 | ;;R^"860.4:",.01,"E"
|
---|
88 | ;;D^PATIENT IEN
|
---|
89 | ;;R^"860.4:",101,"E"
|
---|
90 | ;;D^NUMERIC
|
---|
91 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.01,"E"
|
---|
92 | ;;D^CPRS ORDER PROTOCOL
|
---|
93 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",.02,"E"
|
---|
94 | ;;D^OERR ORDER EVENT FLAG PROTOCOL
|
---|
95 | ;;R^"860.4:","860.41:CPRS ORDER PROTOCOL^860.6",1,"E"
|
---|
96 | ;;D^PATIENT.OERR_ORDER_PATIENT
|
---|
97 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.01,"E"
|
---|
98 | ;;D^DATABASE LOOKUP
|
---|
99 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",.02,"E"
|
---|
100 | ;;D^DATABASE LOOKUP
|
---|
101 | ;;R^"860.4:","860.41:DATABASE LOOKUP^860.6",1,"E"
|
---|
102 | ;;D^PATIENT.IEN
|
---|
103 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.01,"E"
|
---|
104 | ;;D^GENERIC HL7 MESSAGE ARRAY
|
---|
105 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",.02,"E"
|
---|
106 | ;;D^HL7 PATIENT ID SEGMENT
|
---|
107 | ;;R^"860.4:","860.41:GENERIC HL7 MESSAGE ARRAY^860.6",1,"E"
|
---|
108 | ;;D^PATIENT.HL7_PATIENT_ID
|
---|
109 | ;;EOR^
|
---|
110 | ;;EOF^OCXS(860.4)^1
|
---|
111 | ;;SOF^860.3 ORDER CHECK ELEMENT
|
---|
112 | ;;KEY^860.3:^CONTRAST MEDIA ALLERGY
|
---|
113 | ;;R^"860.3:",.01,"E"
|
---|
114 | ;;D^CONTRAST MEDIA ALLERGY
|
---|
115 | ;;R^"860.3:",.02,"E"
|
---|
116 | ;;D^CPRS ORDER PRESCAN
|
---|
117 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
118 | ;;D^1
|
---|
119 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
120 | ;;D^ORDER MODE
|
---|
121 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
122 | ;;D^EQ FREE TEXT
|
---|
123 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
124 | ;;D^SELECT
|
---|
125 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
126 | ;;D^2
|
---|
127 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
128 | ;;D^FILLER
|
---|
129 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
130 | ;;D^EQ FREE TEXT
|
---|
131 | ;;R^"860.3:","860.31:2",3,"E"
|
---|
132 | ;;D^RA
|
---|
133 | ;;R^"860.3:","860.31:3",.01,"E"
|
---|
134 | ;;D^3
|
---|
135 | ;;R^"860.3:","860.31:3",1,"E"
|
---|
136 | ;;D^CONTRAST MEDIA CODE
|
---|
137 | ;;R^"860.3:","860.31:3",2,"E"
|
---|
138 | ;;D^CONTAINS ELEMENT IN SET
|
---|
139 | ;;R^"860.3:","860.31:3",3,"E"
|
---|
140 | ;;D^M,I,N,L,C,G,B
|
---|
141 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
142 | ;;D^4
|
---|
143 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
144 | ;;D^CONTRAST MEDIA ALLERGY FLAG
|
---|
145 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
146 | ;;D^LOGICAL TRUE
|
---|
147 | ;;EOR^
|
---|
148 | ;;EOF^OCXS(860.3)^1
|
---|
149 | ;;SOF^860.2 ORDER CHECK RULE
|
---|
150 | ;;KEY^860.2:^ALLERGY - CONTRAST MEDIA REACTION
|
---|
151 | ;;R^"860.2:",.01,"E"
|
---|
152 | ;;D^ALLERGY - CONTRAST MEDIA REACTION
|
---|
153 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
154 | ;;D^ALLERGY
|
---|
155 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
156 | ;;D^CONTRAST MEDIA ALLERGY
|
---|
157 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
158 | ;;D^1
|
---|
159 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
160 | ;;D^ALLERGY
|
---|
161 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
162 | ;;D^ALLERGY-CONTRAST MEDIA INTERACTION
|
---|
163 | ;;R^"860.2:","860.22:1",6,"E"
|
---|
164 | ;;D^Patient allergic to contrast media. This procedure uses: |CONTRAST MEDIA CODE TRANSLATION|
|
---|
165 | ;;EOR^
|
---|
166 | ;;EOF^OCXS(860.2)^1
|
---|
167 | ;1;
|
---|
168 | ;
|
---|