source: FOIAVistA/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI028.m@ 1015

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

initial load of FOIAVistA 6/30/08 version

File size: 5.1 KB
Line 
1OCXDI028 ;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 ^OCXDI029
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^
21 ;;R^"863.3:",.05,"E"
22 ;;D^LAB TEST PRINT NAME
23 ;;R^"863.3:",.06,"E"
24 ;;D^997
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^PRINTNAM^ORQQLR1(|LAB TEST ID|)
29 ;;R^"863.3:","863.32:2",.01,"E"
30 ;;D^OCXO UP-ARROW PIECE NUMBER
31 ;;EOR^
32 ;;KEY^863.3:^ORDER FLAGGED FOR RESULTS
33 ;;R^"863.3:",.01,"E"
34 ;;D^ORDER FLAGGED FOR RESULTS
35 ;;R^"863.3:",.02,"E"
36 ;;D^PATIENT
37 ;;R^"863.3:",.04,"E"
38 ;;D^99
39 ;;R^"863.3:",.05,"E"
40 ;;D^ORDER FLAGGED
41 ;;R^"863.3:",.06,"E"
42 ;;D^99
43 ;;R^"863.3:","863.32:1",.01,"E"
44 ;;D^OCXO EXTERNAL FUNCTION CALL
45 ;;R^"863.3:","863.32:1",1,"E"
46 ;;D^RSLTFLG^ORQOR2(|ORDER NUMBER|)
47 ;;EOR^
48 ;;KEY^863.3:^CURRENT_DATE/TIME
49 ;;R^"863.3:",.01,"E"
50 ;;D^CURRENT_DATE/TIME
51 ;;R^"863.3:",.02,"E"
52 ;;D^PATIENT
53 ;;R^"863.3:",.05,"E"
54 ;;D^DATE/TIME
55 ;;R^"863.3:",.06,"E"
56 ;;D^999
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^INT2DT($$DT2INT("N"),0)
61 ;;EOR^
62 ;;KEY^863.3:^PATIENT.REC_CREATININE_RESULT
63 ;;R^"863.3:",.01,"E"
64 ;;D^PATIENT.REC_CREATININE_RESULT
65 ;;R^"863.3:",.02,"E"
66 ;;D^PATIENT
67 ;;R^"863.3:",.05,"E"
68 ;;D^SERUM CREATININE VALUE
69 ;;R^"863.3:","863.32:1",.01,"E"
70 ;;D^OCXO EXTERNAL FUNCTION CALL
71 ;;R^"863.3:","863.32:1",1,"E"
72 ;;D^RECCREAT(|PATIENT IEN|,60)
73 ;;R^"863.3:","863.32:2",.01,"E"
74 ;;D^OCXO UP-ARROW PIECE NUMBER
75 ;;R^"863.3:","863.32:2",1,"E"
76 ;;D^3
77 ;;EOR^
78 ;;KEY^863.3:^PATIENT.REC_CREATININE_TEXT
79 ;;R^"863.3:",.01,"E"
80 ;;D^PATIENT.REC_CREATININE_TEXT
81 ;;R^"863.3:",.02,"E"
82 ;;D^PATIENT
83 ;;R^"863.3:",.05,"E"
84 ;;D^SERUM CREATININE TEXT
85 ;;R^"863.3:","863.32:1",.01,"E"
86 ;;D^OCXO EXTERNAL FUNCTION CALL
87 ;;R^"863.3:","863.32:1",1,"E"
88 ;;D^RECCREAT(|PATIENT IEN|,60)
89 ;;R^"863.3:","863.32:2",.01,"E"
90 ;;D^OCXO UP-ARROW PIECE NUMBER
91 ;;R^"863.3:","863.32:2",1,"E"
92 ;;D^2
93 ;;EOR^
94 ;;KEY^863.3:^PATIENT.REC_CREATININE_FLAG
95 ;;R^"863.3:",.01,"E"
96 ;;D^PATIENT.REC_CREATININE_FLAG
97 ;;R^"863.3:",.02,"E"
98 ;;D^PATIENT
99 ;;R^"863.3:",.05,"E"
100 ;;D^CREATININE FLAG
101 ;;R^"863.3:","863.32:1",.01,"E"
102 ;;D^OCXO EXTERNAL FUNCTION CALL
103 ;;R^"863.3:","863.32:1",1,"E"
104 ;;D^RECCREAT(|PATIENT IEN|,60)
105 ;;R^"863.3:","863.32:2",.01,"E"
106 ;;D^OCXO UP-ARROW PIECE NUMBER
107 ;;R^"863.3:","863.32:2",1,"E"
108 ;;D^1
109 ;;EOR^
110 ;;KEY^863.3:^PATIENT.WBC_W/IN_13_DAYS
111 ;;R^"863.3:",.01,"E"
112 ;;D^PATIENT.WBC_W/IN_13_DAYS
113 ;;R^"863.3:",.02,"E"
114 ;;D^PATIENT
115 ;;R^"863.3:","863.32:1",.01,"E"
116 ;;D^OCXO EXTERNAL FUNCTION CALL
117 ;;R^"863.3:","863.32:1",1,"E"
118 ;;D^RECWBC(|PATIENT IEN|,13)
119 ;;R^"863.3:","863.32:2",.01,"E"
120 ;;D^OCXO UP-ARROW PIECE NUMBER
121 ;;R^"863.3:","863.32:2",1,"E"
122 ;;D^2
123 ;;EOR^
124 ;;KEY^863.3:^PATIENT.WBC_W/IN_13_DAYS_FLAG
125 ;;R^"863.3:",.01,"E"
126 ;;D^PATIENT.WBC_W/IN_13_DAYS_FLAG
127 ;;R^"863.3:",.02,"E"
128 ;;D^PATIENT
129 ;;R^"863.3:",.05,"E"
130 ;;D^WBC W/IN 13 DAYS
131 ;;R^"863.3:","863.32:1",.01,"E"
132 ;;D^OCXO EXTERNAL FUNCTION CALL
133 ;;R^"863.3:","863.32:1",1,"E"
134 ;;D^RECWBC(|PATIENT IEN|,13)
135 ;;R^"863.3:","863.32:2",.01,"E"
136 ;;D^OCXO UP-ARROW PIECE NUMBER
137 ;;R^"863.3:","863.32:2",1,"E"
138 ;;D^1
139 ;;EOR^
140 ;;KEY^863.3:^PATIENT.RECENT WBC RESULT
141 ;;R^"863.3:",.01,"E"
142 ;;D^PATIENT.RECENT WBC RESULT
143 ;;R^"863.3:",.02,"E"
144 ;;D^PATIENT
145 ;;R^"863.3:",.05,"E"
146 ;;D^RECENT WBC RESULT
147 ;;R^"863.3:","863.32:1",.01,"E"
148 ;;D^OCXO EXTERNAL FUNCTION CALL
149 ;;R^"863.3:","863.32:1",1,"E"
150 ;;D^RECWBC(|PATIENT IEN|,"")
151 ;;R^"863.3:","863.32:2",.01,"E"
152 ;;D^OCXO UP-ARROW PIECE NUMBER
153 ;;R^"863.3:","863.32:2",1,"E"
154 ;;D^2
155 ;;EOR^
156 ;;KEY^863.3:^PATIENT.REC_BAR_ORDER_STATUS
157 ;;R^"863.3:",.01,"E"
158 ;;D^PATIENT.REC_BAR_ORDER_STATUS
159 ;;R^"863.3:",.02,"E"
160 ;;D^PATIENT
161 ;;R^"863.3:",.05,"E"
162 ;;D^BARIUM ORDER STATUS
163 ;;R^"863.3:","863.32:1",.01,"E"
164 ;;D^OCXO EXTERNAL FUNCTION CALL
165 ;;R^"863.3:","863.32:1",1,"E"
166 ;;D^RECBARST(|PATIENT IEN|,48)
167 ;;R^"863.3:","863.32:2",.01,"E"
168 ;;D^OCXO UP-ARROW PIECE NUMBER
169 ;;R^"863.3:","863.32:2",1,"E"
170 ;;D^2
171 ;;EOR^
172 ;;KEY^863.3:^PATIENT.REC_CHOLEC_ORD_STATUS
173 ;;R^"863.3:",.01,"E"
174 ;;D^PATIENT.REC_CHOLEC_ORD_STATUS
175 ;;R^"863.3:",.02,"E"
176 ;;D^PATIENT
177 ;;R^"863.3:",.05,"E"
178 ;;D^CHOLECYSTOGRAM ORDER STATUS
179 ;;R^"863.3:","863.32:1",.01,"E"
180 ;;D^OCXO EXTERNAL FUNCTION CALL
181 ;;R^"863.3:","863.32:1",1,"E"
182 ;;D^RECCHST(|PATIENT IEN|,7)
183 ;;R^"863.3:","863.32:2",.01,"E"
184 ;;D^OCXO UP-ARROW PIECE NUMBER
185 ;;R^"863.3:","863.32:2",1,"E"
186 ;;D^2
187 ;;EOR^
188 ;;KEY^863.3:^PATIENT.POLYPHARMACY
189 ;;R^"863.3:",.01,"E"
190 ;;D^PATIENT.POLYPHARMACY
191 ;;R^"863.3:",.02,"E"
192 ;;D^PATIENT
193 ;;R^"863.3:",.05,"E"
194 ;;D^POLYPHARMACY
195 ;;R^"863.3:","863.32:1",.01,"E"
196 ;;D^OCXO EXTERNAL FUNCTION CALL
197 ;;R^"863.3:","863.32:1",1,"E"
198 ;;D^POLYRX^ORKPS(|PATIENT IEN|)
199 ;;R^"863.3:","863.32:2",.01,"E"
200 ;;D^OCXO UP-ARROW PIECE NUMBER
201 ;;R^"863.3:","863.32:2",1,"E"
202 ;;D^1
203 ;;EOR^
204 ;;KEY^863.3:^PATIENT.GLUCOPHAGE_CREAT_FLAG
205 ;;R^"863.3:",.01,"E"
206 ;1;
207 ;
Note: See TracBrowser for help on using the repository browser.