source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI029.m@ 619

Last change on this file since 619 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 5.1 KB
Line 
1OCXDI029 ;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 ;
5S ;
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 ^OCXDI02A
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^PATIENT.GLUCOPHAGE_CREAT_FLAG
21 ;;R^"863.3:",.02,"E"
22 ;;D^PATIENT
23 ;;R^"863.3:",.05,"E"
24 ;;D^GLUCO-CREATININE FLAG
25 ;;R^"863.3:","863.32:1",.01,"E"
26 ;;D^OCXO EXTERNAL FUNCTION CALL
27 ;;R^"863.3:","863.32:1",1,"E"
28 ;;D^GLCREAT^ORKPS(|PATIENT IEN|)
29 ;;R^"863.3:","863.32:2",.01,"E"
30 ;;D^OCXO UP-ARROW PIECE NUMBER
31 ;;R^"863.3:","863.32:2",1,"E"
32 ;;D^1
33 ;;EOR^
34 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_TEXT
35 ;;R^"863.3:",.01,"E"
36 ;;D^PATIENT.GLUCOPHAGE_CREAT_TEXT
37 ;;R^"863.3:",.02,"E"
38 ;;D^PATIENT
39 ;;R^"863.3:",.05,"E"
40 ;;D^GLUCO-CREATININE TEXT
41 ;;R^"863.3:","863.32:1",.01,"E"
42 ;;D^OCXO EXTERNAL FUNCTION CALL
43 ;;R^"863.3:","863.32:1",1,"E"
44 ;;D^GLCREAT^ORKPS(|PATIENT IEN|)
45 ;;R^"863.3:","863.32:2",.01,"E"
46 ;;D^OCXO UP-ARROW PIECE NUMBER
47 ;;R^"863.3:","863.32:2",1,"E"
48 ;;D^2
49 ;;EOR^
50 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_RSLT
51 ;;R^"863.3:",.01,"E"
52 ;;D^PATIENT.GLUCOPHAGE_CREAT_RSLT
53 ;;R^"863.3:",.02,"E"
54 ;;D^PATIENT
55 ;;R^"863.3:",.05,"E"
56 ;;D^GLUCO-CREATININE RESULT
57 ;;R^"863.3:","863.32:1",.01,"E"
58 ;;D^OCXO EXTERNAL FUNCTION CALL
59 ;;R^"863.3:","863.32:1",1,"E"
60 ;;D^GLCREAT^ORKPS(|PATIENT IEN|)
61 ;;R^"863.3:","863.32:2",.01,"E"
62 ;;D^OCXO UP-ARROW PIECE NUMBER
63 ;;R^"863.3:","863.32:2",1,"E"
64 ;;D^3
65 ;;EOR^
66 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_DAYS
67 ;;R^"863.3:",.01,"E"
68 ;;D^PATIENT.GLUCOPHAGE_CREAT_DAYS
69 ;;R^"863.3:",.02,"E"
70 ;;D^PATIENT
71 ;;R^"863.3:",.05,"E"
72 ;;D^GLUCO_CREATININE DAYS
73 ;;R^"863.3:","863.32:1",.01,"E"
74 ;;D^OCXO EXTERNAL FUNCTION CALL
75 ;;R^"863.3:","863.32:1",1,"E"
76 ;;D^GCDAYS^ORKPS(|PATIENT IEN|)
77 ;;R^"863.3:","863.32:2",.01,"E"
78 ;;D^OCXO UP-ARROW PIECE NUMBER
79 ;;R^"863.3:","863.32:2",1,"E"
80 ;;D^1
81 ;;EOR^
82 ;;KEY^863.3:^PATIENT.CLOZ_LABS_W/IN_6_DAYS
83 ;;R^"863.3:",.01,"E"
84 ;;D^PATIENT.CLOZ_LABS_W/IN_6_DAYS
85 ;;R^"863.3:",.02,"E"
86 ;;D^PATIENT
87 ;;R^"863.3:",.05,"E"
88 ;;D^CLOZAPINE LABS W/IN 6 DAYS
89 ;;R^"863.3:",.06,"E"
90 ;;D^999
91 ;;R^"863.3:","863.32:1",.01,"E"
92 ;;D^OCXO EXTERNAL FUNCTION CALL
93 ;;R^"863.3:","863.32:1",1,"E"
94 ;;D^CLOZLABS^ORKLR(|PATIENT IEN|,6,|DISP DRUG IEN|)
95 ;;R^"863.3:","863.32:2",.01,"E"
96 ;;D^OCXO UP-ARROW PIECE NUMBER
97 ;;R^"863.3:","863.32:2",1,"E"
98 ;;D^1
99 ;;EOR^
100 ;;KEY^863.3:^PATIENT.ANC_W/IN_6_DAYS_FLAG
101 ;;R^"863.3:",.01,"E"
102 ;;D^PATIENT.ANC_W/IN_6_DAYS_FLAG
103 ;;R^"863.3:",.02,"E"
104 ;;D^PATIENT
105 ;;R^"863.3:",.05,"E"
106 ;;D^ANC W/IN 6 DAYS
107 ;;R^"863.3:",.06,"E"
108 ;;D^999
109 ;;R^"863.3:","863.32:1",.01,"E"
110 ;;D^OCXO EXTERNAL FUNCTION CALL
111 ;;R^"863.3:","863.32:1",1,"E"
112 ;;D^RECNTANC^ORKLR(|PATIENT IEN|,6)
113 ;;R^"863.3:","863.32:2",.01,"E"
114 ;;D^OCXO UP-ARROW PIECE NUMBER
115 ;;R^"863.3:","863.32:2",1,"E"
116 ;;D^1
117 ;;EOR^
118 ;;KEY^863.3:^PATIENT.RECENT ANC RESULT
119 ;;R^"863.3:",.01,"E"
120 ;;D^PATIENT.RECENT ANC RESULT
121 ;;R^"863.3:",.02,"E"
122 ;;D^PATIENT
123 ;;R^"863.3:",.05,"E"
124 ;;D^RECENT ANC
125 ;;R^"863.3:",.06,"E"
126 ;;D^99
127 ;;R^"863.3:","863.32:1",.01,"E"
128 ;;D^OCXO EXTERNAL FUNCTION CALL
129 ;;R^"863.3:","863.32:1",1,"E"
130 ;;D^RECNTANC^ORKLR(|PATIENT IEN|,"")
131 ;;R^"863.3:","863.32:2",.01,"E"
132 ;;D^OCXO UP-ARROW PIECE NUMBER
133 ;;R^"863.3:","863.32:2",1,"E"
134 ;;D^2
135 ;;EOR^
136 ;;KEY^863.3:^PATIENT.CLOZ_LAB_RESULTS
137 ;;R^"863.3:",.01,"E"
138 ;;D^PATIENT.CLOZ_LAB_RESULTS
139 ;;R^"863.3:",.02,"E"
140 ;;D^PATIENT
141 ;;R^"863.3:",.05,"E"
142 ;;D^CLOZAPINE LAB RESULTS
143 ;;R^"863.3:","863.32:1",.01,"E"
144 ;;D^OCXO EXTERNAL FUNCTION CALL
145 ;;R^"863.3:","863.32:1",1,"E"
146 ;;D^CLOZLABS^ORKLR(|PATIENT IEN|,"",|DISP DRUG IEN|)
147 ;;R^"863.3:","863.32:2",.01,"E"
148 ;;D^OCXO UP-ARROW PIECE NUMBER
149 ;;R^"863.3:","863.32:2",1,"E"
150 ;;D^4
151 ;;EOR^
152 ;;KEY^863.3:^PATIENT.OPS_DRUG_ID
153 ;;R^"863.3:",.01,"E"
154 ;;D^PATIENT.OPS_DRUG_ID
155 ;;R^"863.3:",.02,"E"
156 ;;D^PATIENT
157 ;;R^"863.3:",.05,"E"
158 ;;D^DISPENSE DRUG
159 ;;R^"863.3:",.06,"E"
160 ;;D^33
161 ;;R^"863.3:","863.32:1",.01,"E"
162 ;;D^OCXO VARIABLE NAME
163 ;;R^"863.3:","863.32:1",1,"E"
164 ;;D^OCXPSD
165 ;;R^"863.3:","863.32:2",.01,"E"
166 ;;D^OCXO VT-BAR PIECE NUMBER
167 ;;R^"863.3:","863.32:2",1,"E"
168 ;;D^2
169 ;;R^"863.3:","863.32:3",.01,"E"
170 ;;D^OCXO UP-ARROW PIECE NUMBER
171 ;;R^"863.3:","863.32:3",1,"E"
172 ;;D^4
173 ;;EOR^
174 ;;KEY^863.3:^PATIENT.CLOZAPINE MED
175 ;;R^"863.3:",.01,"E"
176 ;;D^PATIENT.CLOZAPINE MED
177 ;;R^"863.3:",.02,"E"
178 ;;D^PATIENT
179 ;;R^"863.3:",.05,"E"
180 ;;D^CLOZAPINE MED
181 ;;R^"863.3:",.06,"E"
182 ;;D^3555
183 ;;R^"863.3:","863.32:1",.01,"E"
184 ;;D^OCXO EXTERNAL FUNCTION CALL
185 ;;R^"863.3:","863.32:1",1,"E"
186 ;;D^CLOZLABS^ORKLR(|PATIENT IEN|,7,|DISP DRUG IEN|)
187 ;;R^"863.3:","863.32:2",.01,"E"
188 ;;D^OCXO UP-ARROW PIECE NUMBER
189 ;;R^"863.3:","863.32:2",1,"E"
190 ;;D^1
191 ;;EOR^
192 ;;KEY^863.3:^QUERY.MODE
193 ;;R^"863.3:",.01,"E"
194 ;;D^QUERY.MODE
195 ;;R^"863.3:",.02,"E"
196 ;;D^PATIENT
197 ;;R^"863.3:",.04,"E"
198 ;;D^QUERY
199 ;;R^"863.3:",.05,"E"
200 ;;D^QUERY MODE
201 ;;R^"863.3:",.06,"E"
202 ;;D^999
203 ;;R^"863.3:","863.32:1",.01,"E"
204 ;;D^OCXO VARIABLE NAME
205 ;;R^"863.3:","863.32:1",1,"E"
206 ;;D^OCXGNM
207 ;;EOR^
208 ;;KEY^863.3:^PATIENT.WBC_W/IN_7_DAYS_FLAG
209 ;1;
210 ;
Note: See TracBrowser for help on using the repository browser.