1 | OCXDI02A ;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 ^OCXDI02B
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;R^"863.3:",.01,"E"
|
---|
21 | ;;D^PATIENT.WBC_W/IN_7_DAYS_FLAG
|
---|
22 | ;;R^"863.3:",.02,"E"
|
---|
23 | ;;D^PATIENT
|
---|
24 | ;;R^"863.3:",.05,"E"
|
---|
25 | ;;D^WBC W/IN 7 DAYS
|
---|
26 | ;;R^"863.3:",.06,"E"
|
---|
27 | ;;D^999
|
---|
28 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
29 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
30 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
31 | ;;D^RECWBC(|PATIENT IEN|,7)
|
---|
32 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
33 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
34 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
35 | ;;D^1
|
---|
36 | ;;EOR^
|
---|
37 | ;;KEY^863.3:^QUERY.DATA
|
---|
38 | ;;R^"863.3:",.01,"E"
|
---|
39 | ;;D^QUERY.DATA
|
---|
40 | ;;R^"863.3:",.02,"E"
|
---|
41 | ;;D^PATIENT
|
---|
42 | ;;R^"863.3:",.05,"E"
|
---|
43 | ;;D^QUERY DATA
|
---|
44 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
45 | ;;D^OCXO VARIABLE NAME
|
---|
46 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
47 | ;;D^OCXGND
|
---|
48 | ;;EOR^
|
---|
49 | ;;KEY^863.3:^PATIENT.CLOZ_ANC_W/IN_7_FLAG
|
---|
50 | ;;R^"863.3:",.01,"E"
|
---|
51 | ;;D^PATIENT.CLOZ_ANC_W/IN_7_FLAG
|
---|
52 | ;;R^"863.3:",.02,"E"
|
---|
53 | ;;D^PATIENT
|
---|
54 | ;;R^"863.3:",.05,"E"
|
---|
55 | ;;D^CLOZAPINE ANC W/IN 7 FLAG
|
---|
56 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
57 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
58 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
59 | ;;D^CLOZLABS^ORKLR(|PATIENT IEN|,7,|DISP DRUG IEN|)
|
---|
60 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
61 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
62 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
63 | ;;D^3
|
---|
64 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
65 | ;;D^OCXO SEMI-COLON PIECE NUMBER
|
---|
66 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
67 | ;;D^1
|
---|
68 | ;;EOR^
|
---|
69 | ;;KEY^863.3:^PATIENT.CLOZ_ANC_W/IN_7_RSLT
|
---|
70 | ;;R^"863.3:",.01,"E"
|
---|
71 | ;;D^PATIENT.CLOZ_ANC_W/IN_7_RSLT
|
---|
72 | ;;R^"863.3:",.02,"E"
|
---|
73 | ;;D^PATIENT
|
---|
74 | ;;R^"863.3:",.05,"E"
|
---|
75 | ;;D^CLOZAPINE ANC W/IN 7 RESULT
|
---|
76 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
77 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
78 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
79 | ;;D^CLOZLABS^ORKLR(|PATIENT IEN|,7,|DISP DRUG IEN|)
|
---|
80 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
81 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
82 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
83 | ;;D^3
|
---|
84 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
85 | ;;D^OCXO SEMI-COLON PIECE NUMBER
|
---|
86 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
87 | ;;D^2
|
---|
88 | ;;EOR^
|
---|
89 | ;;KEY^863.3:^PATIENT.CLOZ_WBC_W/IN_7_FLAG
|
---|
90 | ;;R^"863.3:",.01,"E"
|
---|
91 | ;;D^PATIENT.CLOZ_WBC_W/IN_7_FLAG
|
---|
92 | ;;R^"863.3:",.02,"E"
|
---|
93 | ;;D^PATIENT
|
---|
94 | ;;R^"863.3:",.05,"E"
|
---|
95 | ;;D^CLOZAPINE WBC W/IN 7 FLAG
|
---|
96 | ;;R^"863.3:",.06,"E"
|
---|
97 | ;;D^999
|
---|
98 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
99 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
100 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
101 | ;;D^CLOZLABS^ORKLR(|PATIENT IEN|,7,|DISP DRUG IEN|)
|
---|
102 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
103 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
104 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
105 | ;;D^2
|
---|
106 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
107 | ;;D^OCXO SEMI-COLON PIECE NUMBER
|
---|
108 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
109 | ;;D^1
|
---|
110 | ;;EOR^
|
---|
111 | ;;KEY^863.3:^PATIENT.CLOZ_WBC_W/IN_7_RSLT
|
---|
112 | ;;R^"863.3:",.01,"E"
|
---|
113 | ;;D^PATIENT.CLOZ_WBC_W/IN_7_RSLT
|
---|
114 | ;;R^"863.3:",.02,"E"
|
---|
115 | ;;D^PATIENT
|
---|
116 | ;;R^"863.3:",.05,"E"
|
---|
117 | ;;D^CLOZAPINE WBC W/IN 7 RESULT
|
---|
118 | ;;R^"863.3:","863.32:1",.01,"E"
|
---|
119 | ;;D^OCXO EXTERNAL FUNCTION CALL
|
---|
120 | ;;R^"863.3:","863.32:1",1,"E"
|
---|
121 | ;;D^CLOZLABS^ORKLR(|PATIENT IEN|,7,|DISP DRUG IEN|)
|
---|
122 | ;;R^"863.3:","863.32:2",.01,"E"
|
---|
123 | ;;D^OCXO UP-ARROW PIECE NUMBER
|
---|
124 | ;;R^"863.3:","863.32:2",1,"E"
|
---|
125 | ;;D^2
|
---|
126 | ;;R^"863.3:","863.32:3",.01,"E"
|
---|
127 | ;;D^OCXO SEMI-COLON PIECE NUMBER
|
---|
128 | ;;R^"863.3:","863.32:3",1,"E"
|
---|
129 | ;;D^2
|
---|
130 | ;;EOR^
|
---|
131 | ;;EOF^OCXS(863.3)^1
|
---|
132 | ;;SOF^863 OCX MDD CLASS
|
---|
133 | ;;KEY^863:^APPLICATION
|
---|
134 | ;;R^"863:",.01,"E"
|
---|
135 | ;;D^APPLICATION
|
---|
136 | ;;R^"863:",.02,"E"
|
---|
137 | ;;D^863.1
|
---|
138 | ;;R^"863:",2,1
|
---|
139 | ;;D^The "application" determines what subjects are available to the end user.
|
---|
140 | ;;R^"863:","863.01:1",.01,"E"
|
---|
141 | ;;D^ADD CALL
|
---|
142 | ;;R^"863:","863.01:1",1,"E"
|
---|
143 | ;;D^ADD^OCXMGRU
|
---|
144 | ;;R^"863:","863.01:2",.01,"E"
|
---|
145 | ;;D^DEL CALL
|
---|
146 | ;;R^"863:","863.01:2",1,"E"
|
---|
147 | ;;D^DEL^OCXMGRU
|
---|
148 | ;;R^"863:","863.01:3",.01,"E"
|
---|
149 | ;;D^EDIT CALL
|
---|
150 | ;;R^"863:","863.01:3",1,"E"
|
---|
151 | ;;D^EDIT^OCXMGRU
|
---|
152 | ;;R^"863:","863.01:4",.01,"E"
|
---|
153 | ;;D^VIEW CALL
|
---|
154 | ;;R^"863:","863.01:4",1,"E"
|
---|
155 | ;;D^VIEW^OCXMGRU
|
---|
156 | ;;EOR^
|
---|
157 | ;;KEY^863:^SUBJECT
|
---|
158 | ;;R^"863:",.01,"E"
|
---|
159 | ;;D^SUBJECT
|
---|
160 | ;;R^"863:",.02,"E"
|
---|
161 | ;;D^863.2
|
---|
162 | ;;R^"863:",2,1
|
---|
163 | ;;D^The view. What you are looking for; e.g., patients , providers, etc.
|
---|
164 | ;;R^"863:","863.01:1",.01,"E"
|
---|
165 | ;;D^ADD CALL
|
---|
166 | ;;R^"863:","863.01:1",1,"E"
|
---|
167 | ;;D^ADD^OCXMGRU
|
---|
168 | ;;R^"863:","863.01:2",.01,"E"
|
---|
169 | ;;D^DEL CALL
|
---|
170 | ;;R^"863:","863.01:2",1,"E"
|
---|
171 | ;;D^DEL^OCXMGRU
|
---|
172 | ;;R^"863:","863.01:3",.01,"E"
|
---|
173 | ;;D^EDIT CALL
|
---|
174 | ;;R^"863:","863.01:3",1,"E"
|
---|
175 | ;;D^EDIT^OCXMGRU
|
---|
176 | ;;R^"863:","863.01:4",.01,"E"
|
---|
177 | ;;D^VIEW CALL
|
---|
178 | ;;R^"863:","863.01:4",1,"E"
|
---|
179 | ;;D^VIEW^OCXMGRU
|
---|
180 | ;;EOR^
|
---|
181 | ;;KEY^863:^LINK
|
---|
182 | ;;R^"863:",.01,"E"
|
---|
183 | ;;D^LINK
|
---|
184 | ;;R^"863:",.02,"E"
|
---|
185 | ;;D^863.3
|
---|
186 | ;;R^"863:",2,1
|
---|
187 | ;;D^The pathway between a subject and atrribute.
|
---|
188 | ;;R^"863:","863.01:1",.01,"E"
|
---|
189 | ;;D^ADD CALL
|
---|
190 | ;;R^"863:","863.01:1",1,"E"
|
---|
191 | ;;D^ADD^OCXMGRU
|
---|
192 | ;;R^"863:","863.01:2",.01,"E"
|
---|
193 | ;;D^DEL CALL
|
---|
194 | ;;R^"863:","863.01:2",1,"E"
|
---|
195 | ;;D^DEL^OCXMGRU
|
---|
196 | ;;R^"863:","863.01:3",.01,"E"
|
---|
197 | ;;D^EDIT CALL
|
---|
198 | ;;R^"863:","863.01:3",1,"E"
|
---|
199 | ;;D^EDIT^OCXMGRU
|
---|
200 | ;;R^"863:","863.01:4",.01,"E"
|
---|
201 | ;;D^VIEW CALL
|
---|
202 | ;;R^"863:","863.01:4",1,"E"
|
---|
203 | ;;D^VIEW^OCXMGRU
|
---|
204 | ;;EOR^
|
---|
205 | ;;KEY^863:^ATTRIBUTE
|
---|
206 | ;;R^"863:",.01,"E"
|
---|
207 | ;;D^ATTRIBUTE
|
---|
208 | ;;R^"863:",.02,"E"
|
---|
209 | ;;D^863.4
|
---|
210 | ;;R^"863:",2,1
|
---|
211 | ;;D^Some destinguishing characteristic of the subject; e.g., sex, DOB, etc.
|
---|
212 | ;;R^"863:","863.01:1",.01,"E"
|
---|
213 | ;1;
|
---|
214 | ;
|
---|