1 | OCXDI016 ;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 ^OCXDI017
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^32
|
---|
21 | ;;EOR^
|
---|
22 | ;;KEY^863.8:^MESSAGE
|
---|
23 | ;;R^"863.8:",.01,"E"
|
---|
24 | ;;D^MESSAGE
|
---|
25 | ;;R^"863.8:",.02,"E"
|
---|
26 | ;;D^MESSAGE
|
---|
27 | ;;R^"863.8:",1,1
|
---|
28 | ;;D^Free text string
|
---|
29 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
30 | ;;D^DATA TYPE
|
---|
31 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
32 | ;;D^FREE TEXT
|
---|
33 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
34 | ;;D^HELP MESSAGE
|
---|
35 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
36 | ;;D^This is a free text string which will be displayed for the user.
|
---|
37 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
38 | ;;D^QUERY
|
---|
39 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
40 | ;;D^Message
|
---|
41 | ;;EOR^
|
---|
42 | ;;KEY^863.8:^POINTER REFERENCE
|
---|
43 | ;;R^"863.8:",.01,"E"
|
---|
44 | ;;D^POINTER REFERENCE
|
---|
45 | ;;R^"863.8:",.02,"E"
|
---|
46 | ;;D^POINTER
|
---|
47 | ;;R^"863.8:",1,1
|
---|
48 | ;;D^This is a closed global reference which contains the free text value of
|
---|
49 | ;;R^"863.8:",1,2
|
---|
50 | ;;D^a pointer as the 1st piece of the zero node.
|
---|
51 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
52 | ;;D^DATA TYPE
|
---|
53 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
54 | ;;D^FREE TEXT
|
---|
55 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
56 | ;;D^HELP MESSAGE
|
---|
57 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
58 | ;;D^A closed global reference used for subscript indirection such that the 1st piece of the zero node contains the free text value of the pointer (e.g., '^DPT' is the closed reference for a patients name).
|
---|
59 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
60 | ;;D^QUERY
|
---|
61 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
62 | ;;D^Pointer reference
|
---|
63 | ;;EOR^
|
---|
64 | ;;KEY^863.8:^LOOKUP VALUE
|
---|
65 | ;;R^"863.8:",.01,"E"
|
---|
66 | ;;D^LOOKUP VALUE
|
---|
67 | ;;R^"863.8:",.02,"E"
|
---|
68 | ;;D^LOOK
|
---|
69 | ;;R^"863.8:",1,1
|
---|
70 | ;;D^A free text string used as a DIC lookup value
|
---|
71 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
72 | ;;D^DATA TYPE
|
---|
73 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
74 | ;;D^FREE TEXT
|
---|
75 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
76 | ;;D^HELP MESSAGE
|
---|
77 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
78 | ;;D^A free text string used as a valid DIC lookup value
|
---|
79 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
80 | ;;D^QUERY
|
---|
81 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
82 | ;;D^Lookup value
|
---|
83 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
84 | ;;D^FREE TEXT MAXIMUM LENGTH
|
---|
85 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
86 | ;;D^32
|
---|
87 | ;;EOR^
|
---|
88 | ;;KEY^863.8:^INDEX STRING
|
---|
89 | ;;R^"863.8:",.01,"E"
|
---|
90 | ;;D^INDEX STRING
|
---|
91 | ;;R^"863.8:",.02,"E"
|
---|
92 | ;;D^ISTRING
|
---|
93 | ;;R^"863.8:",1,1
|
---|
94 | ;;D^A string of indexes to be used by DIC in FileMan format; e.g.,
|
---|
95 | ;;R^"863.8:",1,2
|
---|
96 | ;;D^'B^C^ADOB'. Lookup will follow the order of indexes specified in the string
|
---|
97 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
98 | ;;D^DATA TYPE
|
---|
99 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
100 | ;;D^FREE TEXT
|
---|
101 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
102 | ;;D^HELP MESSAGE
|
---|
103 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
104 | ;;D^Enter string of index names separated by a '^' delimiter; e.g., 'B^C^ADOB'. The order of indexes determines the order of the lookup.
|
---|
105 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
106 | ;;D^QUERY
|
---|
107 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
108 | ;;D^Index string
|
---|
109 | ;;EOR^
|
---|
110 | ;;KEY^863.8:^PARAMETER IEN
|
---|
111 | ;;R^"863.8:",.01,"E"
|
---|
112 | ;;D^PARAMETER IEN
|
---|
113 | ;;R^"863.8:",.02,"E"
|
---|
114 | ;;D^PIEN
|
---|
115 | ;;R^"863.8:",1,1
|
---|
116 | ;;D^A parameter internal entry number
|
---|
117 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
118 | ;;D^DATA TYPE
|
---|
119 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
120 | ;;D^POINTER TO A FILEMAN FILE
|
---|
121 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
122 | ;;D^HELP MESSAGE
|
---|
123 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
124 | ;;D^Enter the name of a parameter
|
---|
125 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
126 | ;;D^QUERY
|
---|
127 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
128 | ;;D^Parameter
|
---|
129 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
130 | ;;D^DIC
|
---|
131 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
132 | ;;D^863.8
|
---|
133 | ;;EOR^
|
---|
134 | ;;KEY^863.8:^METHOD
|
---|
135 | ;;R^"863.8:",.01,"E"
|
---|
136 | ;;D^METHOD
|
---|
137 | ;;R^"863.8:",.02,"E"
|
---|
138 | ;;D^METHOD
|
---|
139 | ;;R^"863.8:",1,1
|
---|
140 | ;;D^The IEN of a method
|
---|
141 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
142 | ;;D^DATA TYPE
|
---|
143 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
144 | ;;D^POINTER TO A FILEMAN FILE
|
---|
145 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
146 | ;;D^HELP MESSAGE
|
---|
147 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
148 | ;;D^Enter the name of a method
|
---|
149 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
150 | ;;D^QUERY
|
---|
151 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
152 | ;;D^Method
|
---|
153 | ;;R^"863.8:","863.84:4",.01,"E"
|
---|
154 | ;;D^DIC
|
---|
155 | ;;R^"863.8:","863.84:4",1,"E"
|
---|
156 | ;;D^863.6
|
---|
157 | ;;EOR^
|
---|
158 | ;;KEY^863.8:^OVERRIDE ARRAY
|
---|
159 | ;;R^"863.8:",.01,"E"
|
---|
160 | ;;D^OVERRIDE ARRAY
|
---|
161 | ;;R^"863.8:",.02,"E"
|
---|
162 | ;;D^OVRAY
|
---|
163 | ;;R^"863.8:",1,1
|
---|
164 | ;;D^The closed reference for the ^OCXM override array
|
---|
165 | ;;R^"863.8:",2,"E"
|
---|
166 | ;;D^OCXM
|
---|
167 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
168 | ;;D^DATA TYPE
|
---|
169 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
170 | ;;D^CLOSED REFERENCE
|
---|
171 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
172 | ;;D^HELP MESSAGE
|
---|
173 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
174 | ;;D^A variable name, usually 'OCXM'
|
---|
175 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
176 | ;;D^QUERY
|
---|
177 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
178 | ;;D^Override array reference
|
---|
179 | ;;EOR^
|
---|
180 | ;;KEY^863.8:^TRANSFORM
|
---|
181 | ;;R^"863.8:",.01,"E"
|
---|
182 | ;;D^TRANSFORM
|
---|
183 | ;;R^"863.8:",.02,"E"
|
---|
184 | ;;D^TRANSFORM
|
---|
185 | ;;R^"863.8:",1,1
|
---|
186 | ;;D^If 'YES' do an output transform
|
---|
187 | ;;R^"863.8:","863.84:1",.01,"E"
|
---|
188 | ;;D^DATA TYPE
|
---|
189 | ;;R^"863.8:","863.84:1",1,"E"
|
---|
190 | ;;D^YES NO
|
---|
191 | ;;R^"863.8:","863.84:2",.01,"E"
|
---|
192 | ;;D^HELP MESSAGE
|
---|
193 | ;;R^"863.8:","863.84:2",1,"E"
|
---|
194 | ;;D^Answer 'YES' to do an output transform
|
---|
195 | ;;R^"863.8:","863.84:3",.01,"E"
|
---|
196 | ;;D^QUERY
|
---|
197 | ;;R^"863.8:","863.84:3",1,"E"
|
---|
198 | ;;D^OK to do an output transform
|
---|
199 | ;;EOR^
|
---|
200 | ;;KEY^863.8:^BRIEF NAME OK
|
---|
201 | ;;R^"863.8:",.01,"E"
|
---|
202 | ;1;
|
---|
203 | ;
|
---|