source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI024.m@ 1716

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

initial load of WorldVistAEHR

File size: 5.1 KB
RevLine 
[613]1OCXDI024 ;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 ^OCXDI025
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;R^"863.3:","863.32:1",1,"E"
21 ;;D^RECBAR(|PATIENT IEN|,48)
22 ;;R^"863.3:","863.32:2",.01,"E"
23 ;;D^OCXO UP-ARROW PIECE NUMBER
24 ;;R^"863.3:","863.32:2",1,"E"
25 ;;D^3
26 ;;EOR^
27 ;;KEY^863.3:^PATIENT.REC_WBC_FLAG
28 ;;R^"863.3:",.01,"E"
29 ;;D^PATIENT.REC_WBC_FLAG
30 ;;R^"863.3:",.02,"E"
31 ;;D^PATIENT
32 ;;R^"863.3:",.05,"E"
33 ;;D^WBC FLAG
34 ;;R^"863.3:",.06,"E"
35 ;;D^99
36 ;;R^"863.3:","863.32:1",.01,"E"
37 ;;D^OCXO EXTERNAL FUNCTION CALL
38 ;;R^"863.3:","863.32:1",1,"E"
39 ;;D^RECWBC(|PATIENT IEN|,13)
40 ;;R^"863.3:","863.32:2",.01,"E"
41 ;;D^OCXO UP-ARROW PIECE NUMBER
42 ;;R^"863.3:","863.32:2",1,"E"
43 ;;D^1
44 ;;EOR^
45 ;;KEY^863.3:^PATIENT.REC_WBC_TEXT
46 ;;R^"863.3:",.01,"E"
47 ;;D^PATIENT.REC_WBC_TEXT
48 ;;R^"863.3:",.02,"E"
49 ;;D^PATIENT
50 ;;R^"863.3:",.05,"E"
51 ;;D^WBC 13 DAYS
52 ;;R^"863.3:",.06,"E"
53 ;;D^99
54 ;;R^"863.3:","863.32:1",.01,"E"
55 ;;D^OCXO EXTERNAL FUNCTION CALL
56 ;;R^"863.3:","863.32:1",1,"E"
57 ;;D^RECWBC(|PATIENT IEN|,13)
58 ;;R^"863.3:","863.32:2",.01,"E"
59 ;;D^OCXO UP-ARROW PIECE NUMBER
60 ;;R^"863.3:","863.32:2",1,"E"
61 ;;D^2
62 ;;EOR^
63 ;;KEY^863.3:^PATIENT.ORDER_ITEM_IEN
64 ;;R^"863.3:",.01,"E"
65 ;;D^PATIENT.ORDER_ITEM_IEN
66 ;;R^"863.3:",.02,"E"
67 ;;D^PATIENT
68 ;;R^"863.3:",.05,"E"
69 ;;D^ORDERABLE ITEM IEN
70 ;;R^"863.3:",.06,"E"
71 ;;D^99
72 ;;R^"863.3:","863.32:1",.01,"E"
73 ;;D^OCXO VARIABLE NAME
74 ;;R^"863.3:","863.32:1",1,"E"
75 ;;D^OCXPSD
76 ;;R^"863.3:","863.32:2",.01,"E"
77 ;;D^OCXO VT-BAR PIECE NUMBER
78 ;;R^"863.3:","863.32:2",1,"E"
79 ;;D^0
80 ;;EOR^
81 ;;KEY^863.3:^PATIENT.DRUG_CLASS
82 ;;R^"863.3:",.01,"E"
83 ;;D^PATIENT.DRUG_CLASS
84 ;;R^"863.3:",.02,"E"
85 ;;D^PATIENT
86 ;;R^"863.3:",.05,"E"
87 ;;D^DRUG CLASS
88 ;;R^"863.3:",.06,"E"
89 ;;D^99
90 ;;R^"863.3:","863.32:1",.01,"E"
91 ;;D^OCXO EXTERNAL FUNCTION CALL
92 ;;R^"863.3:","863.32:1",1,"E"
93 ;;D^ENVAC^PSJORUT2(|OI NATIONAL ID|)
94 ;;R^"863.3:","863.32:2",.01,"E"
95 ;;D^OCXO UP-ARROW PIECE NUMBER
96 ;;R^"863.3:","863.32:2",1,"E"
97 ;;D^2
98 ;;EOR^
99 ;;KEY^863.3:^PATIENT.PTT_PT_TEXT
100 ;;R^"863.3:",.01,"E"
101 ;;D^PATIENT.PTT_PT_TEXT
102 ;;R^"863.3:",.02,"E"
103 ;;D^PATIENT
104 ;;R^"863.3:",.05,"E"
105 ;;D^LAB RESULT TEXT
106 ;;R^"863.3:",.06,"E"
107 ;;D^99
108 ;;R^"863.3:","863.32:1",.01,"E"
109 ;;D^OCXO EXTERNAL FUNCTION CALL
110 ;;R^"863.3:","863.32:1",1,"E"
111 ;;D^FLAB(|PATIENT IEN|,"PROTHROMBIN TIME^THROMBOPLASTIN TIME PARTIAL")
112 ;;EOR^
113 ;;KEY^863.3:^PATIENT.CRCL_TEXT
114 ;;R^"863.3:",.01,"E"
115 ;;D^PATIENT.CRCL_TEXT
116 ;;R^"863.3:",.02,"E"
117 ;;D^PATIENT
118 ;;R^"863.3:",.05,"E"
119 ;;D^CREAT. CLEAR. VALUE
120 ;;R^"863.3:",.06,"E"
121 ;;D^99
122 ;;R^"863.3:","863.32:1",.01,"E"
123 ;;D^OCXO EXTERNAL FUNCTION CALL
124 ;;R^"863.3:","863.32:1",1,"E"
125 ;;D^CRCL(|PATIENT IEN|)
126 ;;R^"863.3:","863.32:2",.01,"E"
127 ;;D^OCXO UP-ARROW PIECE NUMBER
128 ;;R^"863.3:","863.32:2",1,"E"
129 ;;D^2
130 ;;EOR^
131 ;;KEY^863.3:^PATIENT.CRCL_DATE
132 ;;R^"863.3:",.01,"E"
133 ;;D^PATIENT.CRCL_DATE
134 ;;R^"863.3:",.02,"E"
135 ;;D^PATIENT
136 ;;R^"863.3:",.05,"E"
137 ;;D^CREAT CLEAR DATE
138 ;;R^"863.3:",.06,"E"
139 ;;D^99
140 ;;R^"863.3:","863.32:1",.01,"E"
141 ;;D^OCXO EXTERNAL FUNCTION CALL
142 ;;R^"863.3:","863.32:1",1,"E"
143 ;;D^CRCL(|PATIENT IEN|)
144 ;;R^"863.3:","863.32:2",.01,"E"
145 ;;D^OCXO UP-ARROW PIECE NUMBER
146 ;;R^"863.3:","863.32:2",1,"E"
147 ;;D^1
148 ;;EOR^
149 ;;KEY^863.3:^PATIENT.SCNR_OVRSZ_FLAG
150 ;;R^"863.3:",.01,"E"
151 ;;D^PATIENT.SCNR_OVRSZ_FLAG
152 ;;R^"863.3:",.02,"E"
153 ;;D^PATIENT
154 ;;R^"863.3:",.05,"E"
155 ;;D^OVERSIZE FLAG
156 ;;R^"863.3:",.06,"E"
157 ;;D^99
158 ;;R^"863.3:","863.32:1",.01,"E"
159 ;;D^OCXO EXTERNAL FUNCTION CALL
160 ;;R^"863.3:","863.32:1",1,"E"
161 ;;D^CTMRI(|PATIENT IEN|,|ORDERABLE ITEM IEN|)
162 ;;R^"863.3:","863.32:2",.01,"E"
163 ;;D^OCXO UP-ARROW PIECE NUMBER
164 ;;R^"863.3:","863.32:2",1,"E"
165 ;;D^1
166 ;;EOR^
167 ;;KEY^863.3:^PATIENT_SCNR_OVRSZ_TEXT
168 ;;R^"863.3:",.01,"E"
169 ;;D^PATIENT_SCNR_OVRSZ_TEXT
170 ;;R^"863.3:",.02,"E"
171 ;;D^PATIENT
172 ;;R^"863.3:",.05,"E"
173 ;;D^OVERSIZE TEXT
174 ;;R^"863.3:",.06,"E"
175 ;;D^99
176 ;;R^"863.3:","863.32:1",.01,"E"
177 ;;D^OCXO EXTERNAL FUNCTION CALL
178 ;;R^"863.3:","863.32:1",1,"E"
179 ;;D^CTMRI(|PATIENT IEN|,|ORDERABLE ITEM IEN|)
180 ;;R^"863.3:","863.32:2",.01,"E"
181 ;;D^OCXO UP-ARROW PIECE NUMBER
182 ;;R^"863.3:","863.32:2",1,"E"
183 ;;D^2
184 ;;EOR^
185 ;;KEY^863.3:^PATIENT.SCNR_OVRSZ_DEV
186 ;;R^"863.3:",.01,"E"
187 ;;D^PATIENT.SCNR_OVRSZ_DEV
188 ;;R^"863.3:",.02,"E"
189 ;;D^PATIENT
190 ;;R^"863.3:",.05,"E"
191 ;;D^OVERSIZE DEVICE
192 ;;R^"863.3:",.06,"E"
193 ;;D^99
194 ;;R^"863.3:","863.32:1",.01,"E"
195 ;;D^OCXO EXTERNAL FUNCTION CALL
196 ;;R^"863.3:","863.32:1",1,"E"
197 ;;D^CTMRI(|PATIENT IEN|,|ORDERABLE ITEM IEN|)
198 ;;R^"863.3:","863.32:2",.01,"E"
199 ;;D^OCXO UP-ARROW PIECE NUMBER
200 ;;R^"863.3:","863.32:2",1,"E"
201 ;;D^3
202 ;;EOR^
203 ;;KEY^863.3:^PATIENT.LAB_TST_NAT_CODE
204 ;;R^"863.3:",.01,"E"
205 ;;D^PATIENT.LAB_TST_NAT_CODE
206 ;;R^"863.3:",.02,"E"
207 ;;D^PATIENT
208 ;;R^"863.3:",.04,"E"
209 ;;D^HL7
210 ;;R^"863.3:",.05,"E"
211 ;;D^LAB TEST CODE
212 ;;R^"863.3:",.06,"E"
213 ;;D^9999
214 ;;R^"863.3:","863.32:1",.01,"E"
215 ;;D^OCXO VARIABLE NAME
216 ;;R^"863.3:","863.32:1",1,"E"
217 ;;D^OCXODATA("OBX",3)
218 ;;R^"863.3:","863.32:2",.01,"E"
219 ;;D^OCXO VT-BAR PIECE NUMBER
220 ;1;
221 ;
Note: See TracBrowser for help on using the repository browser.