1 | ORY22101 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*221) ;AUG 30,2005 at 11:41
|
---|
2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**221**;Dec 17,1997
|
---|
3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
4 | ;
|
---|
5 | S ;
|
---|
6 | ;
|
---|
7 | D DOT^ORY221ES
|
---|
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 | G ^ORY22102
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;ROOT^OCXS(860.2,0)^ORDER CHECK RULE^860.2I
|
---|
21 | ;;ROOT^OCXS(860.3,0)^ORDER CHECK ELEMENT^860.3
|
---|
22 | ;;ROOT^OCXS(860.4,0)^ORDER CHECK DATA FIELD^860.4I
|
---|
23 | ;;ROOT^OCXS(860.5,0)^ORDER CHECK DATA SOURCE^860.5
|
---|
24 | ;;ROOT^OCXS(860.6,0)^ORDER CHECK DATA CONTEXT^860.6
|
---|
25 | ;;ROOT^OCXS(860.8,0)^ORDER CHECK COMPILER FUNCTIONS^860.8
|
---|
26 | ;;ROOT^OCXS(860.9,0)^ORDER CHECK NATIONAL TERM^860.9
|
---|
27 | ;;ROOT^OCXS(863,0)^OCX MDD CLASS^863
|
---|
28 | ;;ROOT^OCXS(863.1,0)^OCX MDD APPLICATION^863.1
|
---|
29 | ;;ROOT^OCXS(863.2,0)^OCX MDD SUBJECT^863.2
|
---|
30 | ;;ROOT^OCXS(863.3,0)^OCX MDD LINK^863.3I
|
---|
31 | ;;ROOT^OCXS(863.4,0)^OCX MDD ATTRIBUTE^863.4
|
---|
32 | ;;ROOT^OCXS(863.5,0)^OCX MDD VALUES^863.5
|
---|
33 | ;;ROOT^OCXS(863.6,0)^OCX MDD METHOD^863.6
|
---|
34 | ;;ROOT^OCXS(863.7,0)^OCX MDD PUBLIC FUNCTION^863.7
|
---|
35 | ;;ROOT^OCXS(863.8,0)^OCX MDD PARAMETER^863.8
|
---|
36 | ;;ROOT^OCXS(863.9,0)^OCX MDD CONDITION/FUNCTION^863.9I
|
---|
37 | ;;ROOT^OCXS(864,0)^OCX MDD SITE PREFERENCES^864P
|
---|
38 | ;;ROOT^OCXS(864.1,0)^OCX MDD DATATYPE^864.1
|
---|
39 | ;;ROOT^OCXD(860.1,0)^ORDER CHECK PATIENT ACTIVE DATA^860.1P
|
---|
40 | ;;ROOT^OCXD(860.7,0)^ORDER CHECK PATIENT RULE EVENT^860.7P
|
---|
41 | ;;ROOT^OCXD(861,0)^ORDER CHECK RAW DATA LOG^861
|
---|
42 | ;;SOF^863.8 OCX MDD PARAMETER
|
---|
43 | ;;KEY^863.8:^COMPARISON VALUE
|
---|
44 | ;;R^"863.8:",.01,"E"
|
---|
45 | ;;D^COMPARISON VALUE
|
---|
46 | ;;R^"863.8:",.02,"E"
|
---|
47 | ;;D^CVAL
|
---|
48 | ;;R^"863.8:",1,1
|
---|
49 | ;;D^
|
---|
50 | ;;R^"863.8:",1,2
|
---|
51 | ;;D^ This is a value to be compared with PRIMARY DATA FIELD
|
---|
52 | ;;R^"863.8:",1,3
|
---|
53 | ;;D^ in a truth conditional.
|
---|
54 | ;;R^"863.8:",1,4
|
---|
55 | ;;D^
|
---|
56 | ;;EOR^
|
---|
57 | ;;KEY^863.8:^CONDITION CALL
|
---|
58 | ;;R^"863.8:",.01,"E"
|
---|
59 | ;;D^CONDITION CALL
|
---|
60 | ;;R^"863.8:",.02,"E"
|
---|
61 | ;;D^COND CALL
|
---|
62 | ;;R^"863.8:",1,1
|
---|
63 | ;;D^tag^routine which manages the dialogue for selecting and validating a
|
---|
64 | ;;R^"863.8:",1,2
|
---|
65 | ;;D^condition.
|
---|
66 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
67 | ;;D^QUERY
|
---|
68 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
69 | ;;D^Tag^routine which manages the condition
|
---|
70 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
71 | ;;D^DATA TYPE
|
---|
72 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
73 | ;;D^LINE TAG
|
---|
74 | ;;EOR^
|
---|
75 | ;;KEY^863.8:^DATA TYPE
|
---|
76 | ;;R^"863.8:",.01,"E"
|
---|
77 | ;;D^DATA TYPE
|
---|
78 | ;;R^"863.8:",.02,"E"
|
---|
79 | ;;D^DATA TYPE
|
---|
80 | ;;R^"863.8:",1,1
|
---|
81 | ;;D^An MDD data type; i.e., an entry in the OCX MDD DATA TYPE file.
|
---|
82 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
83 | ;;D^QUERY
|
---|
84 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
85 | ;;D^Enter the datatype
|
---|
86 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
87 | ;;D^DIC
|
---|
88 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
89 | ;;D^864.1
|
---|
90 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
91 | ;;D^DATA TYPE
|
---|
92 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
93 | ;;D^POINTER TO A FILEMAN FILE
|
---|
94 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
95 | ;;D^DIC LOOKUP INDEX STRING
|
---|
96 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
97 | ;;D^B^C
|
---|
98 | ;;EOR^
|
---|
99 | ;;KEY^863.8:^DATE EXACT
|
---|
100 | ;;R^"863.8:",.01,"E"
|
---|
101 | ;;D^DATE EXACT
|
---|
102 | ;;R^"863.8:",.02,"E"
|
---|
103 | ;;D^DATE X
|
---|
104 | ;;R^"863.8:",1,1
|
---|
105 | ;;D^Exact date required. "X"=EXACT DATE REQUIRED
|
---|
106 | ;;R^"863.8:","863.84:10",.01,"E"
|
---|
107 | ;;D^FM MASK
|
---|
108 | ;;R^"863.8:","863.84:10",1,"E"
|
---|
109 | ;;D^DEX^OCXF6
|
---|
110 | ;;R^"863.8:","863.84:11",.01,"E"
|
---|
111 | ;;D^DATA TYPE
|
---|
112 | ;;R^"863.8:","863.84:11",1,"E"
|
---|
113 | ;;D^SET OF CODES
|
---|
114 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
115 | ;;D^QUERY
|
---|
116 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
117 | ;;D^Enter an 'X' if exact date is required
|
---|
118 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
119 | ;;D^SET CODES
|
---|
120 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
121 | ;;D^X:EXACT DATE REQUIRED
|
---|
122 | ;;EOR^
|
---|
123 | ;;KEY^863.8:^DATE INPUT FORMAT
|
---|
124 | ;;R^"863.8:",.01,"E"
|
---|
125 | ;;D^DATE INPUT FORMAT
|
---|
126 | ;;R^"863.8:",.02,"E"
|
---|
127 | ;;D^DATE INPUT
|
---|
128 | ;;R^"863.8:",1,1
|
---|
129 | ;;D^Can numeric input format (MMDDYY) be used? "N"=NO
|
---|
130 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
131 | ;;D^QUERY
|
---|
132 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
133 | ;;D^Enter 'N' if numeric date input (MMDDYY) cannot be used
|
---|
134 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
135 | ;;D^SET CODES
|
---|
136 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
137 | ;;D^N:NO
|
---|
138 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
139 | ;;D^DATA TYPE
|
---|
140 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
141 | ;;D^SET OF CODES
|
---|
142 | ;;EOR^
|
---|
143 | ;;KEY^863.8:^DATE LIMIT
|
---|
144 | ;;R^"863.8:",.01,"E"
|
---|
145 | ;;D^DATE LIMIT
|
---|
146 | ;;R^"863.8:",.02,"E"
|
---|
147 | ;;D^DATE LIM
|
---|
148 | ;;R^"863.8:",1,1
|
---|
149 | ;;D^Equivalent to %DT(0); e.g., 2940101=MUst be > or = to 1/1/94, -2940101=
|
---|
150 | ;;R^"863.8:",1,2
|
---|
151 | ;;D^Must be < or = 1/1/94
|
---|
152 | ;;R^"863.8:",2,"E"
|
---|
153 | ;;D^
|
---|
154 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
155 | ;;D^QUERY
|
---|
156 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
157 | ;;D^Max or min date allowed [(-)yyymmdd]
|
---|
158 | ;;R^"863.8:","863.84:5",.01,"E"
|
---|
159 | ;;D^DATA TYPE
|
---|
160 | ;;R^"863.8:","863.84:5",1,"E"
|
---|
161 | ;;D^FILEMAN DATE INTERNAL FORMAT
|
---|
162 | ;;EOR^
|
---|
163 | ;;KEY^863.8:^DATE MAXIMUM
|
---|
164 | ;;R^"863.8:",.01,"E"
|
---|
165 | ;;D^DATE MAXIMUM
|
---|
166 | ;;R^"863.8:",.02,"E"
|
---|
167 | ;;D^DATE MAX
|
---|
168 | ;;R^"863.8:",1,1
|
---|
169 | ;;D^Maximum date allowed in internal FM format
|
---|
170 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
171 | ;;D^QUERY
|
---|
172 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
173 | ;;D^Maximum date
|
---|
174 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
175 | ;;D^DATA TYPE
|
---|
176 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
177 | ;;D^FILEMAN DATE INTERNAL FORMAT
|
---|
178 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
179 | ;;D^FM MASK
|
---|
180 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
181 | ;;D^DMAX^OCXF6
|
---|
182 | ;;EOR^
|
---|
183 | ;;KEY^863.8:^DATE MINIMUM
|
---|
184 | ;;R^"863.8:",.01,"E"
|
---|
185 | ;;D^DATE MINIMUM
|
---|
186 | ;;R^"863.8:",.02,"E"
|
---|
187 | ;;D^DATE MIN
|
---|
188 | ;;R^"863.8:",1,1
|
---|
189 | ;;D^Earliest date allowed
|
---|
190 | ;;R^"863.8:","863.84:6",.01,"E"
|
---|
191 | ;;D^QUERY
|
---|
192 | ;;R^"863.8:","863.84:6",1,"E"
|
---|
193 | ;;D^Enter earliest date allowed
|
---|
194 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
195 | ;;D^DATA TYPE
|
---|
196 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
197 | ;;D^FILEMAN DATE INTERNAL FORMAT
|
---|
198 | ;;R^"863.8:","863.84:8",.01,"E"
|
---|
199 | ;;D^FM MASK
|
---|
200 | ;;R^"863.8:","863.84:8",1,"E"
|
---|
201 | ;;D^DMIN^OCXF6
|
---|
202 | ;;EOR^
|
---|
203 | ;;KEY^863.8:^DATE SECONDS
|
---|
204 | ;;R^"863.8:",.01,"E"
|
---|
205 | ;;D^DATE SECONDS
|
---|
206 | ;;R^"863.8:",.02,"E"
|
---|
207 | ;;D^DATE SEC
|
---|
208 | ;;R^"863.8:",1,1
|
---|
209 | ;;D^Seconds allowed and returned. "S"=SECONDS RETURNED
|
---|
210 | ;;R^"863.8:","863.84:10",.01,"E"
|
---|
211 | ;;D^SET CODES
|
---|
212 | ;;R^"863.8:","863.84:10",1,"E"
|
---|
213 | ;;D^S:SECONDS RETURNED
|
---|
214 | ;;R^"863.8:","863.84:11",.01,"E"
|
---|
215 | ;;D^FM MASK
|
---|
216 | ;;R^"863.8:","863.84:11",1,"E"
|
---|
217 | ;;D^DSEC^OCXF6
|
---|
218 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
219 | ;;D^QUERY
|
---|
220 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
221 | ;;D^Enter 'S' if you want seconds returned
|
---|
222 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
223 | ;;D^DATA TYPE
|
---|
224 | ;;R^"863.8:","863.84:9",1,"E"
|
---|
225 | ;;D^SET OF CODES
|
---|
226 | ;;EOR^
|
---|
227 | ;;KEY^863.8:^DATE SPECIAL MASK
|
---|
228 | ;;R^"863.8:",.01,"E"
|
---|
229 | ;;D^DATE SPECIAL MASK
|
---|
230 | ;;R^"863.8:",.02,"E"
|
---|
231 | ;;D^DATE MASK
|
---|
232 | ;;R^"863.8:",1,1
|
---|
233 | ;;D^Executable code using the date in internal FM format and returning a
|
---|
234 | ;;R^"863.8:",1,2
|
---|
235 | ;;D^truth value which checks the validity of the date outside of %DT
|
---|
236 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
237 | ;;D^QUERY
|
---|
238 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
239 | ;;D^Date mask code
|
---|
240 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
241 | ;;D^DATA TYPE
|
---|
242 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
243 | ;;D^MUMPS CODE
|
---|
244 | ;;EOR^
|
---|
245 | ;;KEY^863.8:^DATE SPECIAL OUTPUT FORMAT
|
---|
246 | ;;R^"863.8:",.01,"E"
|
---|
247 | ;;D^DATE SPECIAL OUTPUT FORMAT
|
---|
248 | ;;R^"863.8:",.02,"E"
|
---|
249 | ;;D^DATE OUT
|
---|
250 | ;;R^"863.8:",1,1
|
---|
251 | ;;D^M code which transforms internal FM date format to external format
|
---|
252 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
253 | ;;D^QUERY
|
---|
254 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
255 | ;;D^Output format code
|
---|
256 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
257 | ;;D^DATA TYPE
|
---|
258 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
259 | ;;D^MUMPS CODE
|
---|
260 | ;;EOR^
|
---|
261 | ;;KEY^863.8:^DATE TIME
|
---|
262 | ;;R^"863.8:",.01,"E"
|
---|
263 | ;;D^DATE TIME
|
---|
264 | ;;R^"863.8:",.02,"E"
|
---|
265 | ;;D^DATE TIME
|
---|
266 | ;;R^"863.8:",1,1
|
---|
267 | ;;D^Can time be entered along with the date? "T"=TIME ALLOWED, "R"=TIME REQUIRED
|
---|
268 | ;;R^"863.8:","863.84:10",.01,"E"
|
---|
269 | ;;D^DATA TYPE
|
---|
270 | ;;R^"863.8:","863.84:10",1,"E"
|
---|
271 | ;;D^SET OF CODES
|
---|
272 | ;;R^"863.8:","863.84:11",.01,"E"
|
---|
273 | ;;D^FM MASK
|
---|
274 | ;;R^"863.8:","863.84:11",1,"E"
|
---|
275 | ;;D^DTIME^OCXF6
|
---|
276 | ;;R^"863.8:","863.84:7",.01,"E"
|
---|
277 | ;;D^QUERY
|
---|
278 | ;;R^"863.8:","863.84:7",1,"E"
|
---|
279 | ;;D^Time parameter
|
---|
280 | ;;R^"863.8:","863.84:9",.01,"E"
|
---|
281 | ;1;
|
---|
282 | ;
|
---|