1 | OCXDI017 ;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 ^OCXDI018
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^BRIEF NAME OK
|
---|
21 | ;;R^"863.8:",.02,"E"
|
---|
22 | ;;D^BRIEF
|
---|
23 | ;;R^"863.8:",1,1
|
---|
24 | ;;D^OK to use the brief name of an object
|
---|
25 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
26 | ;;D^DATA TYPE
|
---|
27 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
28 | ;;D^YES NO
|
---|
29 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
30 | ;;D^HELP MESSAGE
|
---|
31 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
32 | ;;D^Answer yes if it is ok to use a brief name
|
---|
33 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
34 | ;;D^QUERY
|
---|
35 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
36 | ;;D^OK to use brief name
|
---|
37 | ;;EOR^
|
---|
38 | ;;KEY^863.8:^PARAMETER QUERY
|
---|
39 | ;;R^"863.8:",.01,"E"
|
---|
40 | ;;D^PARAMETER QUERY
|
---|
41 | ;;R^"863.8:",.02,"E"
|
---|
42 | ;;D^PQUERY
|
---|
43 | ;;R^"863.8:",1,1
|
---|
44 | ;;D^A query which asks for a valid parameter value
|
---|
45 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
46 | ;;D^DATA TYPE
|
---|
47 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
48 | ;;D^FREE TEXT
|
---|
49 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
50 | ;;D^HELP MESSAGE
|
---|
51 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
52 | ;;D^Enter the text which asks a user for a parameter query
|
---|
53 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
54 | ;;D^QUERY
|
---|
55 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
56 | ;;D^Query
|
---|
57 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
58 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
59 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
60 | ;;D^240
|
---|
61 | ;;EOR^
|
---|
62 | ;;KEY^863.8:^DATA TYPE IEN
|
---|
63 | ;;R^"863.8:",.01,"E"
|
---|
64 | ;;D^DATA TYPE IEN
|
---|
65 | ;;R^"863.8:",.02,"E"
|
---|
66 | ;;D^DTIEN
|
---|
67 | ;;R^"863.8:",1,1
|
---|
68 | ;;D^The IEN of a data type in the DATA TYPE file.
|
---|
69 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
70 | ;;D^DATA TYPE
|
---|
71 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
72 | ;;D^POINTER TO A FILEMAN FILE
|
---|
73 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
74 | ;;D^HELP MESSAGE
|
---|
75 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
76 | ;;D^Enter the data type name
|
---|
77 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
78 | ;;D^QUERY
|
---|
79 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
80 | ;;D^Data type
|
---|
81 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
82 | ;;D^DIC
|
---|
83 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
84 | ;;D^864.1
|
---|
85 | ;;EOR^
|
---|
86 | ;;KEY^863.8:^NO DISPLAY
|
---|
87 | ;;R^"863.8:",.01,"E"
|
---|
88 | ;;D^NO DISPLAY
|
---|
89 | ;;R^"863.8:",.02,"E"
|
---|
90 | ;;D^NO DISP
|
---|
91 | ;;R^"863.8:",1,1
|
---|
92 | ;;D^Supress the display of results
|
---|
93 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
94 | ;;D^DATA TYPE
|
---|
95 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
96 | ;;D^YES NO
|
---|
97 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
98 | ;;D^HELP MESSAGE
|
---|
99 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
100 | ;;D^Answer 'YES' to supress the display
|
---|
101 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
102 | ;;D^QUERY
|
---|
103 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
104 | ;;D^Supress display
|
---|
105 | ;;EOR^
|
---|
106 | ;;KEY^863.8:^OCXO VARIABLE NAME
|
---|
107 | ;;R^"863.8:",.01,"E"
|
---|
108 | ;;D^OCXO VARIABLE NAME
|
---|
109 | ;;EOR^
|
---|
110 | ;;KEY^863.8:^OCXO VT-BAR PIECE NUMBER
|
---|
111 | ;;R^"863.8:",.01,"E"
|
---|
112 | ;;D^OCXO VT-BAR PIECE NUMBER
|
---|
113 | ;;EOR^
|
---|
114 | ;;KEY^863.8:^OCXO UP-ARROW PIECE NUMBER
|
---|
115 | ;;R^"863.8:",.01,"E"
|
---|
116 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
117 | ;;EOR^
|
---|
118 | ;;KEY^863.8:^OCXO OPERATOR CODE TEMPLATE
|
---|
119 | ;;R^"863.8:",.01,"E"
|
---|
120 | ;;D^OCXO OPERATOR CODE TEMPLATE
|
---|
121 | ;;EOR^
|
---|
122 | ;;KEY^863.8:^OCXO HL7 SEGMENT ID
|
---|
123 | ;;R^"863.8:",.01,"E"
|
---|
124 | ;;D^OCXO HL7 SEGMENT ID
|
---|
125 | ;;R^"863.8:",.02,"E"
|
---|
126 | ;;D^HL7SEGID
|
---|
127 | ;;EOR^
|
---|
128 | ;;KEY^863.8:^OCXO UNARY OPERATOR FLAG
|
---|
129 | ;;R^"863.8:",.01,"E"
|
---|
130 | ;;D^OCXO UNARY OPERATOR FLAG
|
---|
131 | ;;EOR^
|
---|
132 | ;;KEY^863.8:^OCXO OPERATOR CODE ROUTINE
|
---|
133 | ;;R^"863.8:",.01,"E"
|
---|
134 | ;;D^OCXO OPERATOR CODE ROUTINE
|
---|
135 | ;;R^"863.8:",.02,"E"
|
---|
136 | ;;D^CODE RTN
|
---|
137 | ;;EOR^
|
---|
138 | ;;KEY^863.8:^OCXO GENERATE CODE FUNCTION
|
---|
139 | ;;R^"863.8:",.01,"E"
|
---|
140 | ;;D^OCXO GENERATE CODE FUNCTION
|
---|
141 | ;;R^"863.8:",.02,"E"
|
---|
142 | ;;D^GEN
|
---|
143 | ;;EOR^
|
---|
144 | ;;KEY^863.8:^PRIMARY DATA FIELD
|
---|
145 | ;;R^"863.8:",.01,"E"
|
---|
146 | ;;D^PRIMARY DATA FIELD
|
---|
147 | ;;R^"863.8:",.02,"E"
|
---|
148 | ;;D^PDFLD
|
---|
149 | ;;R^"863.8:",1,1
|
---|
150 | ;;D^
|
---|
151 | ;;R^"863.8:",1,2
|
---|
152 | ;;D^ Primary data field in a comparison expression that
|
---|
153 | ;;R^"863.8:",1,3
|
---|
154 | ;;D^ is to be tested.
|
---|
155 | ;;R^"863.8:",1,4
|
---|
156 | ;;D^
|
---|
157 | ;;EOR^
|
---|
158 | ;;KEY^863.8:^COMPARISON VALUE
|
---|
159 | ;;R^"863.8:",.01,"E"
|
---|
160 | ;;D^COMPARISON VALUE
|
---|
161 | ;;R^"863.8:",.02,"E"
|
---|
162 | ;;D^CVAL
|
---|
163 | ;;R^"863.8:",1,1
|
---|
164 | ;;D^
|
---|
165 | ;;R^"863.8:",1,2
|
---|
166 | ;;D^ This is a value to be compared with PRIMARY DATA FIELD
|
---|
167 | ;;R^"863.8:",1,3
|
---|
168 | ;;D^ in a truth conditional.
|
---|
169 | ;;R^"863.8:",1,4
|
---|
170 | ;;D^
|
---|
171 | ;;EOR^
|
---|
172 | ;;KEY^863.8:^COMPARISON LOW VALUE
|
---|
173 | ;;R^"863.8:",.01,"E"
|
---|
174 | ;;D^COMPARISON LOW VALUE
|
---|
175 | ;;R^"863.8:",.02,"E"
|
---|
176 | ;;D^CLVAL
|
---|
177 | ;;R^"863.8:",1,1
|
---|
178 | ;;D^
|
---|
179 | ;;R^"863.8:",1,2
|
---|
180 | ;;D^ This is the low value in a range that is compared
|
---|
181 | ;;R^"863.8:",1,3
|
---|
182 | ;;D^ to the PRIMARY DATA FIELD in a boolean expression.
|
---|
183 | ;;R^"863.8:",1,4
|
---|
184 | ;;D^
|
---|
185 | ;;EOR^
|
---|
186 | ;;KEY^863.8:^COMPARISON HIGH VALUE
|
---|
187 | ;;R^"863.8:",.01,"E"
|
---|
188 | ;;D^COMPARISON HIGH VALUE
|
---|
189 | ;;R^"863.8:",.02,"E"
|
---|
190 | ;;D^CHVAL
|
---|
191 | ;;R^"863.8:",1,1
|
---|
192 | ;;D^
|
---|
193 | ;;R^"863.8:",1,2
|
---|
194 | ;;D^ This is the high value in a range that is compared
|
---|
195 | ;;R^"863.8:",1,3
|
---|
196 | ;;D^ to the PRIMARY DATA FIELD in a boolean expression.
|
---|
197 | ;;R^"863.8:",1,4
|
---|
198 | ;;D^
|
---|
199 | ;;EOR^
|
---|
200 | ;;KEY^863.8:^OCXO NULL VALUE ALLOWED
|
---|
201 | ;;R^"863.8:",.01,"E"
|
---|
202 | ;;D^OCXO NULL VALUE ALLOWED
|
---|
203 | ;;R^"863.8:",.02,"E"
|
---|
204 | ;;D^NVAL
|
---|
205 | ;;EOR^
|
---|
206 | ;;KEY^863.8:^OCXO DATA DRIVE SOURCE
|
---|
207 | ;;R^"863.8:",.01,"E"
|
---|
208 | ;;D^OCXO DATA DRIVE SOURCE
|
---|
209 | ;;EOR^
|
---|
210 | ;;KEY^863.8:^REPEAT THE QUERY
|
---|
211 | ;;R^"863.8:",.01,"E"
|
---|
212 | ;;D^REPEAT THE QUERY
|
---|
213 | ;;R^"863.8:",.02,"E"
|
---|
214 | ;;D^LOOP
|
---|
215 | ;;R^"863.8:",1,1
|
---|
216 | ;;D^Set this = 1 to repetatively ask the user to enter a value
|
---|
217 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
218 | ;;D^DATA TYPE
|
---|
219 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
220 | ;;D^YES NO
|
---|
221 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
222 | ;;D^HELP MESSAGE
|
---|
223 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
224 | ;;D^Answer 'YES' if you want the user to repetaively enter a value.
|
---|
225 | ;1;
|
---|
226 | ;
|
---|