source: WorldVistAEHR/trunk/r/ORDER_ENTRY_RESULTS_REPORTING-OR-OCX--ORRC--ORRJ/OCXDI022.m@ 1211

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

initial load of WorldVistAEHR

File size: 5.1 KB
RevLine 
[613]1OCXDI022 ;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 ^OCXDI023
15 ;
16 Q
17 ;
18DATA ;
19 ;
20 ;;D^OPS
21 ;;R^"863.3:",.05,"E"
22 ;;D^ORDER MODE
23 ;;R^"863.3:",.06,"E"
24 ;;D^99
25 ;;R^"863.3:","863.32:1",.01,"E"
26 ;;D^OCXO VARIABLE NAME
27 ;;R^"863.3:","863.32:1",1,"E"
28 ;;D^OCXPSM
29 ;;EOR^
30 ;;KEY^863.3:^PATIENT.OPS_LOC_COD_SYS
31 ;;R^"863.3:",.01,"E"
32 ;;D^PATIENT.OPS_LOC_COD_SYS
33 ;;R^"863.3:",.02,"E"
34 ;;D^PATIENT
35 ;;R^"863.3:",.04,"E"
36 ;;D^OPS
37 ;;R^"863.3:",.05,"E"
38 ;;D^LOCAL CODING SYSTEM
39 ;;R^"863.3:",.06,"E"
40 ;;D^99
41 ;;R^"863.3:","863.32:1",.01,"E"
42 ;;D^OCXO VARIABLE NAME
43 ;;R^"863.3:","863.32:1",1,"E"
44 ;;D^OCXPSD
45 ;;R^"863.3:","863.32:2",.01,"E"
46 ;;D^OCXO VT-BAR PIECE NUMBER
47 ;;R^"863.3:","863.32:2",1,"E"
48 ;;D^2
49 ;;R^"863.3:","863.32:3",.01,"E"
50 ;;D^OCXO UP-ARROW PIECE NUMBER
51 ;;R^"863.3:","863.32:3",1,"E"
52 ;;D^6
53 ;;EOR^
54 ;;KEY^863.3:^PATIENT.HL7_DIET_LOCAL_TEXT
55 ;;R^"863.3:",.01,"E"
56 ;;D^PATIENT.HL7_DIET_LOCAL_TEXT
57 ;;R^"863.3:",.02,"E"
58 ;;D^PATIENT
59 ;;R^"863.3:",.05,"E"
60 ;;D^HL7 DIET LOCAL OI TEXT
61 ;;R^"863.3:",.06,"E"
62 ;;D^1
63 ;;R^"863.3:","863.32:1",.01,"E"
64 ;;D^OCXO VARIABLE NAME
65 ;;R^"863.3:","863.32:1",1,"E"
66 ;;D^OCXODATA("ODS",3)
67 ;;R^"863.3:","863.32:2",.01,"E"
68 ;;D^OCXO VT-BAR PIECE NUMBER
69 ;;R^"863.3:","863.32:3",.01,"E"
70 ;;D^OCXO UP-ARROW PIECE NUMBER
71 ;;R^"863.3:","863.32:3",1,"E"
72 ;;D^5
73 ;;R^"863.3:","863.32:4",.01,"E"
74 ;;D^OCXO HL7 SEGMENT ID
75 ;;EOR^
76 ;;KEY^863.3:^PATIENT.RESULT_STATUS_OBR
77 ;;R^"863.3:",.01,"E"
78 ;;D^PATIENT.RESULT_STATUS_OBR
79 ;;R^"863.3:",.02,"E"
80 ;;D^PATIENT
81 ;;R^"863.3:",.05,"E"
82 ;;D^RESULT STATUS OBR
83 ;;R^"863.3:",.06,"E"
84 ;;D^1
85 ;;R^"863.3:","863.32:1",.01,"E"
86 ;;D^OCXO VARIABLE NAME
87 ;;R^"863.3:","863.32:1",1,"E"
88 ;;D^OCXODATA("OBR",25)
89 ;;R^"863.3:","863.32:2",.01,"E"
90 ;;D^OCXO VT-BAR PIECE NUMBER
91 ;;R^"863.3:","863.32:3",.01,"E"
92 ;;D^OCXO UP-ARROW PIECE NUMBER
93 ;;R^"863.3:","863.32:3",1,"E"
94 ;;D^1
95 ;;R^"863.3:","863.32:4",.01,"E"
96 ;;D^OCXO HL7 SEGMENT ID
97 ;;EOR^
98 ;;KEY^863.3:^PATIENT.DECEASED
99 ;;R^"863.3:",.01,"E"
100 ;;D^PATIENT.DECEASED
101 ;;R^"863.3:",.02,"E"
102 ;;D^PATIENT
103 ;;R^"863.3:",.05,"E"
104 ;;D^DECEASED
105 ;;R^"863.3:",.06,"E"
106 ;;D^999
107 ;;R^"863.3:","863.32:1",.01,"E"
108 ;;D^OCXO EXTERNAL FUNCTION CALL
109 ;;EOR^
110 ;;KEY^863.3:^PATIENT.TRANS_TYPE_CURRENT
111 ;;R^"863.3:",.01,"E"
112 ;;D^PATIENT.TRANS_TYPE_CURRENT
113 ;;R^"863.3:",.02,"E"
114 ;;D^PATIENT
115 ;;R^"863.3:",.05,"E"
116 ;;D^TRANSACTION TYPE
117 ;;R^"863.3:",.06,"E"
118 ;;D^999
119 ;;R^"863.3:","863.32:1",.01,"E"
120 ;;D^OCXO VARIABLE NAME
121 ;;R^"863.3:","863.32:1",1,"E"
122 ;;D^DGPMA
123 ;;R^"863.3:","863.32:2",.01,"E"
124 ;;D^OCXO UP-ARROW PIECE NUMBER
125 ;;R^"863.3:","863.32:2",1,"E"
126 ;;D^4
127 ;;R^"863.3:","863.32:3",.01,"E"
128 ;;D^OCXO FILE POINTER
129 ;;R^"863.3:","863.32:3",1,"E"
130 ;;D^405.1
131 ;;EOR^
132 ;;KEY^863.3:^PATIENT.SITE_FLAGGED_ORDER
133 ;;R^"863.3:",.01,"E"
134 ;;D^PATIENT.SITE_FLAGGED_ORDER
135 ;;R^"863.3:",.02,"E"
136 ;;D^PATIENT
137 ;;R^"863.3:",.05,"E"
138 ;;D^SITE FLAG ORDER
139 ;;R^"863.3:",.06,"E"
140 ;;D^999
141 ;;R^"863.3:","863.32:1",.01,"E"
142 ;;D^OCXO EXTERNAL FUNCTION CALL
143 ;;R^"863.3:","863.32:1",1,"E"
144 ;;D^SITEORD^ORB3F1(|ORDER NUMBER|)
145 ;;EOR^
146 ;;KEY^863.3:^PATIENT.SITE_FLAGGED_RESULT
147 ;;R^"863.3:",.01,"E"
148 ;;D^PATIENT.SITE_FLAGGED_RESULT
149 ;;R^"863.3:",.02,"E"
150 ;;D^PATIENT
151 ;;R^"863.3:",.05,"E"
152 ;;D^SITE FLAG RESULT
153 ;;R^"863.3:",.06,"E"
154 ;;D^999
155 ;;R^"863.3:","863.32:1",.01,"E"
156 ;;D^OCXO EXTERNAL FUNCTION CALL
157 ;;R^"863.3:","863.32:1",1,"E"
158 ;;D^SITERES^ORB3F1(|ORDER NUMBER|)
159 ;;EOR^
160 ;;KEY^863.3:^PATIENT.HL7_LOCAL_OI_IEN
161 ;;R^"863.3:",.01,"E"
162 ;;D^PATIENT.HL7_LOCAL_OI_IEN
163 ;;R^"863.3:",.02,"E"
164 ;;D^PATIENT
165 ;;R^"863.3:",.05,"E"
166 ;;D^HL7 LOCAL OI IEN
167 ;;R^"863.3:",.06,"E"
168 ;;D^999
169 ;;R^"863.3:","863.32:1",.01,"E"
170 ;;D^OCXO VARIABLE NAME
171 ;;R^"863.3:","863.32:1",1,"E"
172 ;;D^OCXODATA("OBR",4)
173 ;;R^"863.3:","863.32:2",.01,"E"
174 ;;D^OCXO VT-BAR PIECE NUMBER
175 ;;R^"863.3:","863.32:3",.01,"E"
176 ;;D^OCXO UP-ARROW PIECE NUMBER
177 ;;R^"863.3:","863.32:3",1,"E"
178 ;;D^4
179 ;;R^"863.3:","863.32:4",.01,"E"
180 ;;D^OCXO HL7 SEGMENT ID
181 ;;EOR^
182 ;;KEY^863.3:^PATIENT.RAD_CON_MEDIA
183 ;;R^"863.3:",.01,"E"
184 ;;D^PATIENT.RAD_CON_MEDIA
185 ;;R^"863.3:",.02,"E"
186 ;;D^PATIENT
187 ;;R^"863.3:",.05,"E"
188 ;;D^CONTRAST MEDIA FLAG
189 ;;R^"863.3:",.06,"E"
190 ;;D^999
191 ;;R^"863.3:","863.32:1",.01,"E"
192 ;;D^OCXO EXTERNAL FUNCTION CALL
193 ;;R^"863.3:","863.32:1",1,"E"
194 ;;D^CM(|ORDERABLE ITEM IEN|)
195 ;;R^"863.3:","863.32:2",.01,"E"
196 ;;D^OCXO UP-ARROW PIECE NUMBER
197 ;;R^"863.3:","863.32:2",1,"E"
198 ;;D^1
199 ;;EOR^
200 ;;KEY^863.3:^PATIENT.REC_RENAL_ABNORM_FLAG
201 ;;R^"863.3:",.01,"E"
202 ;;D^PATIENT.REC_RENAL_ABNORM_FLAG
203 ;;R^"863.3:",.02,"E"
204 ;;D^PATIENT
205 ;;R^"863.3:",.05,"E"
206 ;;D^RENAL TEST ABNORMAL FLAG
207 ;;R^"863.3:",.06,"E"
208 ;;D^999
209 ;;R^"863.3:","863.32:1",.01,"E"
210 ;;D^OCXO EXTERNAL FUNCTION CALL
211 ;;R^"863.3:","863.32:1",1,"E"
212 ;;D^ABREN(|PATIENT IEN|)
213 ;;R^"863.3:","863.32:2",.01,"E"
214 ;;D^OCXO UP-ARROW PIECE NUMBER
215 ;;R^"863.3:","863.32:2",1,"E"
216 ;;D^1
217 ;;EOR^
218 ;;KEY^863.3:^PATIENT.REC_RENAL_ABNORM_RES
219 ;;R^"863.3:",.01,"E"
220 ;;D^PATIENT.REC_RENAL_ABNORM_RES
221 ;1;
222 ;
Note: See TracBrowser for help on using the repository browser.