1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package ca.uhn.hl7v2.model.v23.message;
35
36 import ca.uhn.hl7v2.model.v23.group.*;
37 import ca.uhn.hl7v2.model.v23.segment.*;
38
39 import ca.uhn.hl7v2.HL7Exception;
40 import ca.uhn.hl7v2.parser.ModelClassFactory;
41 import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
42 import ca.uhn.hl7v2.model.*;
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81 public class ADT_AXX extends AbstractSuperMessage {
82
83
84
85
86 public ADT_AXX() {
87 this(new DefaultModelClassFactory());
88 }
89
90
91
92
93 public ADT_AXX(ModelClassFactory factory) {
94 super(factory);
95 init(factory);
96 }
97
98 private void init(ModelClassFactory factory) {
99 try {
100 this.add(MSH.class, true, false);
101 this.addSuperstructureApplication("MSH", "ADT_A01");
102 this.addSuperstructureApplication("MSH", "ADT_A02");
103 this.addSuperstructureApplication("MSH", "ADT_A03");
104 this.addSuperstructureApplication("MSH", "ADT_A04");
105 this.addSuperstructureApplication("MSH", "ADT_A05");
106 this.addSuperstructureApplication("MSH", "ADT_A06");
107 this.addSuperstructureApplication("MSH", "ADT_A07");
108 this.addSuperstructureApplication("MSH", "ADT_A08");
109 this.addSuperstructureApplication("MSH", "ADT_A09");
110 this.addSuperstructureApplication("MSH", "ADT_A10");
111 this.addSuperstructureApplication("MSH", "ADT_A11");
112 this.addSuperstructureApplication("MSH", "ADT_A12");
113 this.addSuperstructureApplication("MSH", "ADT_A13");
114 this.addSuperstructureApplication("MSH", "ADT_A14");
115 this.addSuperstructureApplication("MSH", "ADT_A15");
116 this.addSuperstructureApplication("MSH", "ADT_A16");
117 this.addSuperstructureApplication("MSH", "ADT_A17");
118 this.addSuperstructureApplication("MSH", "ADT_A18");
119 this.addSuperstructureApplication("MSH", "ADT_A20");
120 this.addSuperstructureApplication("MSH", "ADT_A21");
121 this.addSuperstructureApplication("MSH", "ADT_A22");
122 this.addSuperstructureApplication("MSH", "ADT_A23");
123 this.addSuperstructureApplication("MSH", "ADT_A24");
124 this.addSuperstructureApplication("MSH", "ADT_A25");
125 this.addSuperstructureApplication("MSH", "ADT_A26");
126 this.addSuperstructureApplication("MSH", "ADT_A27");
127 this.addSuperstructureApplication("MSH", "ADT_A28");
128 this.addSuperstructureApplication("MSH", "ADT_A29");
129 this.addSuperstructureApplication("MSH", "ADT_A30");
130 this.addSuperstructureApplication("MSH", "ADT_A31");
131 this.addSuperstructureApplication("MSH", "ADT_A32");
132 this.addSuperstructureApplication("MSH", "ADT_A33");
133 this.addSuperstructureApplication("MSH", "ADT_A34");
134 this.addSuperstructureApplication("MSH", "ADT_A35");
135 this.addSuperstructureApplication("MSH", "ADT_A36");
136 this.addSuperstructureApplication("MSH", "ADT_A37");
137 this.addSuperstructureApplication("MSH", "ADT_A38");
138 this.addSuperstructureApplication("MSH", "ADT_A39");
139 this.addSuperstructureApplication("MSH", "ADT_A40");
140 this.addSuperstructureApplication("MSH", "ADT_A41");
141 this.addSuperstructureApplication("MSH", "ADT_A42");
142 this.addSuperstructureApplication("MSH", "ADT_A43");
143 this.addSuperstructureApplication("MSH", "ADT_A44");
144 this.addSuperstructureApplication("MSH", "ADT_A45");
145 this.addSuperstructureApplication("MSH", "ADT_A46");
146 this.addSuperstructureApplication("MSH", "ADT_A47");
147 this.addSuperstructureApplication("MSH", "ADT_A48");
148 this.addSuperstructureApplication("MSH", "ADT_A49");
149 this.addSuperstructureApplication("MSH", "ADT_A50");
150 this.addSuperstructureApplication("MSH", "ADT_A51");
151 this.add(EVN.class, true, false);
152 this.addSuperstructureApplication("EVN", "ADT_A01");
153 this.addSuperstructureApplication("EVN", "ADT_A02");
154 this.addSuperstructureApplication("EVN", "ADT_A03");
155 this.addSuperstructureApplication("EVN", "ADT_A04");
156 this.addSuperstructureApplication("EVN", "ADT_A05");
157 this.addSuperstructureApplication("EVN", "ADT_A06");
158 this.addSuperstructureApplication("EVN", "ADT_A07");
159 this.addSuperstructureApplication("EVN", "ADT_A08");
160 this.addSuperstructureApplication("EVN", "ADT_A09");
161 this.addSuperstructureApplication("EVN", "ADT_A10");
162 this.addSuperstructureApplication("EVN", "ADT_A11");
163 this.addSuperstructureApplication("EVN", "ADT_A12");
164 this.addSuperstructureApplication("EVN", "ADT_A13");
165 this.addSuperstructureApplication("EVN", "ADT_A14");
166 this.addSuperstructureApplication("EVN", "ADT_A15");
167 this.addSuperstructureApplication("EVN", "ADT_A16");
168 this.addSuperstructureApplication("EVN", "ADT_A17");
169 this.addSuperstructureApplication("EVN", "ADT_A18");
170 this.addSuperstructureApplication("EVN", "ADT_A20");
171 this.addSuperstructureApplication("EVN", "ADT_A21");
172 this.addSuperstructureApplication("EVN", "ADT_A22");
173 this.addSuperstructureApplication("EVN", "ADT_A23");
174 this.addSuperstructureApplication("EVN", "ADT_A24");
175 this.addSuperstructureApplication("EVN", "ADT_A25");
176 this.addSuperstructureApplication("EVN", "ADT_A26");
177 this.addSuperstructureApplication("EVN", "ADT_A27");
178 this.addSuperstructureApplication("EVN", "ADT_A28");
179 this.addSuperstructureApplication("EVN", "ADT_A29");
180 this.addSuperstructureApplication("EVN", "ADT_A30");
181 this.addSuperstructureApplication("EVN", "ADT_A31");
182 this.addSuperstructureApplication("EVN", "ADT_A32");
183 this.addSuperstructureApplication("EVN", "ADT_A33");
184 this.addSuperstructureApplication("EVN", "ADT_A34");
185 this.addSuperstructureApplication("EVN", "ADT_A35");
186 this.addSuperstructureApplication("EVN", "ADT_A36");
187 this.addSuperstructureApplication("EVN", "ADT_A37");
188 this.addSuperstructureApplication("EVN", "ADT_A38");
189 this.addSuperstructureApplication("EVN", "ADT_A39");
190 this.addSuperstructureApplication("EVN", "ADT_A40");
191 this.addSuperstructureApplication("EVN", "ADT_A41");
192 this.addSuperstructureApplication("EVN", "ADT_A42");
193 this.addSuperstructureApplication("EVN", "ADT_A43");
194 this.addSuperstructureApplication("EVN", "ADT_A44");
195 this.addSuperstructureApplication("EVN", "ADT_A45");
196 this.addSuperstructureApplication("EVN", "ADT_A46");
197 this.addSuperstructureApplication("EVN", "ADT_A47");
198 this.addSuperstructureApplication("EVN", "ADT_A48");
199 this.addSuperstructureApplication("EVN", "ADT_A49");
200 this.addSuperstructureApplication("EVN", "ADT_A50");
201 this.addSuperstructureApplication("EVN", "ADT_A51");
202 this.add(PID.class, false, false);
203 this.addSuperstructureApplication("PID", "ADT_A01");
204 this.addSuperstructureApplication("PID", "ADT_A02");
205 this.addSuperstructureApplication("PID", "ADT_A03");
206 this.addSuperstructureApplication("PID", "ADT_A04");
207 this.addSuperstructureApplication("PID", "ADT_A05");
208 this.addSuperstructureApplication("PID", "ADT_A06");
209 this.addSuperstructureApplication("PID", "ADT_A07");
210 this.addSuperstructureApplication("PID", "ADT_A08");
211 this.addSuperstructureApplication("PID", "ADT_A09");
212 this.addSuperstructureApplication("PID", "ADT_A10");
213 this.addSuperstructureApplication("PID", "ADT_A11");
214 this.addSuperstructureApplication("PID", "ADT_A12");
215 this.addSuperstructureApplication("PID", "ADT_A13");
216 this.addSuperstructureApplication("PID", "ADT_A14");
217 this.addSuperstructureApplication("PID", "ADT_A15");
218 this.addSuperstructureApplication("PID", "ADT_A16");
219 this.addSuperstructureApplication("PID", "ADT_A17");
220 this.addSuperstructureApplication("PID", "ADT_A18");
221 this.addSuperstructureApplication("PID", "ADT_A21");
222 this.addSuperstructureApplication("PID", "ADT_A22");
223 this.addSuperstructureApplication("PID", "ADT_A23");
224 this.addSuperstructureApplication("PID", "ADT_A24");
225 this.addSuperstructureApplication("PID", "ADT_A25");
226 this.addSuperstructureApplication("PID", "ADT_A26");
227 this.addSuperstructureApplication("PID", "ADT_A27");
228 this.addSuperstructureApplication("PID", "ADT_A28");
229 this.addSuperstructureApplication("PID", "ADT_A29");
230 this.addSuperstructureApplication("PID", "ADT_A30");
231 this.addSuperstructureApplication("PID", "ADT_A31");
232 this.addSuperstructureApplication("PID", "ADT_A32");
233 this.addSuperstructureApplication("PID", "ADT_A33");
234 this.addSuperstructureApplication("PID", "ADT_A34");
235 this.addSuperstructureApplication("PID", "ADT_A35");
236 this.addSuperstructureApplication("PID", "ADT_A36");
237 this.addSuperstructureApplication("PID", "ADT_A37");
238 this.addSuperstructureApplication("PID", "ADT_A38");
239 this.addSuperstructureApplication("PID", "ADT_A45");
240 this.addSuperstructureApplication("PID", "ADT_A46");
241 this.addSuperstructureApplication("PID", "ADT_A47");
242 this.addSuperstructureApplication("PID", "ADT_A48");
243 this.addSuperstructureApplication("PID", "ADT_A49");
244 this.addSuperstructureApplication("PID", "ADT_A50");
245 this.addSuperstructureApplication("PID", "ADT_A51");
246 this.add(PD1.class, false, false);
247 this.addSuperstructureApplication("PD1", "ADT_A01");
248 this.addSuperstructureApplication("PD1", "ADT_A02");
249 this.addSuperstructureApplication("PD1", "ADT_A03");
250 this.addSuperstructureApplication("PD1", "ADT_A04");
251 this.addSuperstructureApplication("PD1", "ADT_A05");
252 this.addSuperstructureApplication("PD1", "ADT_A06");
253 this.addSuperstructureApplication("PD1", "ADT_A07");
254 this.addSuperstructureApplication("PD1", "ADT_A08");
255 this.addSuperstructureApplication("PD1", "ADT_A09");
256 this.addSuperstructureApplication("PD1", "ADT_A10");
257 this.addSuperstructureApplication("PD1", "ADT_A11");
258 this.addSuperstructureApplication("PD1", "ADT_A12");
259 this.addSuperstructureApplication("PD1", "ADT_A13");
260 this.addSuperstructureApplication("PD1", "ADT_A14");
261 this.addSuperstructureApplication("PD1", "ADT_A15");
262 this.addSuperstructureApplication("PD1", "ADT_A16");
263 this.addSuperstructureApplication("PD1", "ADT_A17");
264 this.addSuperstructureApplication("PD1", "ADT_A18");
265 this.addSuperstructureApplication("PD1", "ADT_A21");
266 this.addSuperstructureApplication("PD1", "ADT_A22");
267 this.addSuperstructureApplication("PD1", "ADT_A23");
268 this.addSuperstructureApplication("PD1", "ADT_A24");
269 this.addSuperstructureApplication("PD1", "ADT_A25");
270 this.addSuperstructureApplication("PD1", "ADT_A26");
271 this.addSuperstructureApplication("PD1", "ADT_A27");
272 this.addSuperstructureApplication("PD1", "ADT_A28");
273 this.addSuperstructureApplication("PD1", "ADT_A29");
274 this.addSuperstructureApplication("PD1", "ADT_A30");
275 this.addSuperstructureApplication("PD1", "ADT_A31");
276 this.addSuperstructureApplication("PD1", "ADT_A32");
277 this.addSuperstructureApplication("PD1", "ADT_A33");
278 this.addSuperstructureApplication("PD1", "ADT_A34");
279 this.addSuperstructureApplication("PD1", "ADT_A35");
280 this.addSuperstructureApplication("PD1", "ADT_A36");
281 this.addSuperstructureApplication("PD1", "ADT_A37");
282 this.addSuperstructureApplication("PD1", "ADT_A38");
283 this.addSuperstructureApplication("PD1", "ADT_A45");
284 this.addSuperstructureApplication("PD1", "ADT_A46");
285 this.addSuperstructureApplication("PD1", "ADT_A47");
286 this.addSuperstructureApplication("PD1", "ADT_A48");
287 this.addSuperstructureApplication("PD1", "ADT_A49");
288 this.addSuperstructureApplication("PD1", "ADT_A50");
289 this.addSuperstructureApplication("PD1", "ADT_A51");
290 this.add(MRG.class, false, false);
291 this.addSuperstructureApplication("MRG", "ADT_A06");
292 this.addSuperstructureApplication("MRG", "ADT_A07");
293 this.addSuperstructureApplication("MRG", "ADT_A18");
294 this.addSuperstructureApplication("MRG", "ADT_A30");
295 this.addSuperstructureApplication("MRG", "ADT_A34");
296 this.addSuperstructureApplication("MRG", "ADT_A35");
297 this.addSuperstructureApplication("MRG", "ADT_A36");
298 this.addSuperstructureApplication("MRG", "ADT_A46");
299 this.addSuperstructureApplication("MRG", "ADT_A47");
300 this.addSuperstructureApplication("MRG", "ADT_A48");
301 this.addSuperstructureApplication("MRG", "ADT_A49");
302 this.addSuperstructureApplication("MRG", "ADT_A50");
303 this.addSuperstructureApplication("MRG", "ADT_A51");
304 this.add(NK1.class, false, true);
305 this.addSuperstructureApplication("NK1", "ADT_A01");
306 this.addSuperstructureApplication("NK1", "ADT_A04");
307 this.addSuperstructureApplication("NK1", "ADT_A05");
308 this.addSuperstructureApplication("NK1", "ADT_A06");
309 this.addSuperstructureApplication("NK1", "ADT_A07");
310 this.addSuperstructureApplication("NK1", "ADT_A08");
311 this.addSuperstructureApplication("NK1", "ADT_A13");
312 this.addSuperstructureApplication("NK1", "ADT_A14");
313 this.addSuperstructureApplication("NK1", "ADT_A28");
314 this.addSuperstructureApplication("NK1", "ADT_A31");
315 this.add(PV1.class, false, false);
316 this.addSuperstructureApplication("PV1", "ADT_A01");
317 this.addSuperstructureApplication("PV1", "ADT_A02");
318 this.addSuperstructureApplication("PV1", "ADT_A03");
319 this.addSuperstructureApplication("PV1", "ADT_A04");
320 this.addSuperstructureApplication("PV1", "ADT_A05");
321 this.addSuperstructureApplication("PV1", "ADT_A06");
322 this.addSuperstructureApplication("PV1", "ADT_A07");
323 this.addSuperstructureApplication("PV1", "ADT_A08");
324 this.addSuperstructureApplication("PV1", "ADT_A09");
325 this.addSuperstructureApplication("PV1", "ADT_A10");
326 this.addSuperstructureApplication("PV1", "ADT_A11");
327 this.addSuperstructureApplication("PV1", "ADT_A12");
328 this.addSuperstructureApplication("PV1", "ADT_A13");
329 this.addSuperstructureApplication("PV1", "ADT_A14");
330 this.addSuperstructureApplication("PV1", "ADT_A15");
331 this.addSuperstructureApplication("PV1", "ADT_A16");
332 this.addSuperstructureApplication("PV1", "ADT_A17");
333 this.addSuperstructureApplication("PV1", "ADT_A18");
334 this.addSuperstructureApplication("PV1", "ADT_A21");
335 this.addSuperstructureApplication("PV1", "ADT_A22");
336 this.addSuperstructureApplication("PV1", "ADT_A23");
337 this.addSuperstructureApplication("PV1", "ADT_A24");
338 this.addSuperstructureApplication("PV1", "ADT_A25");
339 this.addSuperstructureApplication("PV1", "ADT_A26");
340 this.addSuperstructureApplication("PV1", "ADT_A27");
341 this.addSuperstructureApplication("PV1", "ADT_A28");
342 this.addSuperstructureApplication("PV1", "ADT_A29");
343 this.addSuperstructureApplication("PV1", "ADT_A31");
344 this.addSuperstructureApplication("PV1", "ADT_A32");
345 this.addSuperstructureApplication("PV1", "ADT_A33");
346 this.addSuperstructureApplication("PV1", "ADT_A37");
347 this.addSuperstructureApplication("PV1", "ADT_A38");
348 this.addSuperstructureApplication("PV1", "ADT_A50");
349 this.addSuperstructureApplication("PV1", "ADT_A51");
350 this.add(PV2.class, false, false);
351 this.addSuperstructureApplication("PV2", "ADT_A01");
352 this.addSuperstructureApplication("PV2", "ADT_A02");
353 this.addSuperstructureApplication("PV2", "ADT_A03");
354 this.addSuperstructureApplication("PV2", "ADT_A04");
355 this.addSuperstructureApplication("PV2", "ADT_A05");
356 this.addSuperstructureApplication("PV2", "ADT_A06");
357 this.addSuperstructureApplication("PV2", "ADT_A07");
358 this.addSuperstructureApplication("PV2", "ADT_A08");
359 this.addSuperstructureApplication("PV2", "ADT_A09");
360 this.addSuperstructureApplication("PV2", "ADT_A10");
361 this.addSuperstructureApplication("PV2", "ADT_A11");
362 this.addSuperstructureApplication("PV2", "ADT_A12");
363 this.addSuperstructureApplication("PV2", "ADT_A13");
364 this.addSuperstructureApplication("PV2", "ADT_A14");
365 this.addSuperstructureApplication("PV2", "ADT_A15");
366 this.addSuperstructureApplication("PV2", "ADT_A16");
367 this.addSuperstructureApplication("PV2", "ADT_A17");
368 this.addSuperstructureApplication("PV2", "ADT_A21");
369 this.addSuperstructureApplication("PV2", "ADT_A22");
370 this.addSuperstructureApplication("PV2", "ADT_A23");
371 this.addSuperstructureApplication("PV2", "ADT_A25");
372 this.addSuperstructureApplication("PV2", "ADT_A26");
373 this.addSuperstructureApplication("PV2", "ADT_A27");
374 this.addSuperstructureApplication("PV2", "ADT_A28");
375 this.addSuperstructureApplication("PV2", "ADT_A29");
376 this.addSuperstructureApplication("PV2", "ADT_A31");
377 this.addSuperstructureApplication("PV2", "ADT_A32");
378 this.addSuperstructureApplication("PV2", "ADT_A33");
379 this.addSuperstructureApplication("PV2", "ADT_A38");
380 this.add(DB1.class, false, true);
381 this.addSuperstructureApplication("DB1", "ADT_A01");
382 this.addSuperstructureApplication("DB1", "ADT_A02");
383 this.addSuperstructureApplication("DB1", "ADT_A03");
384 this.addSuperstructureApplication("DB1", "ADT_A04");
385 this.addSuperstructureApplication("DB1", "ADT_A05");
386 this.addSuperstructureApplication("DB1", "ADT_A06");
387 this.addSuperstructureApplication("DB1", "ADT_A07");
388 this.addSuperstructureApplication("DB1", "ADT_A08");
389 this.addSuperstructureApplication("DB1", "ADT_A09");
390 this.addSuperstructureApplication("DB1", "ADT_A10");
391 this.addSuperstructureApplication("DB1", "ADT_A11");
392 this.addSuperstructureApplication("DB1", "ADT_A12");
393 this.addSuperstructureApplication("DB1", "ADT_A13");
394 this.addSuperstructureApplication("DB1", "ADT_A14");
395 this.addSuperstructureApplication("DB1", "ADT_A15");
396 this.addSuperstructureApplication("DB1", "ADT_A16");
397 this.addSuperstructureApplication("DB1", "ADT_A17");
398 this.addSuperstructureApplication("DB1", "ADT_A21");
399 this.addSuperstructureApplication("DB1", "ADT_A22");
400 this.addSuperstructureApplication("DB1", "ADT_A23");
401 this.addSuperstructureApplication("DB1", "ADT_A24");
402 this.addSuperstructureApplication("DB1", "ADT_A25");
403 this.addSuperstructureApplication("DB1", "ADT_A26");
404 this.addSuperstructureApplication("DB1", "ADT_A27");
405 this.addSuperstructureApplication("DB1", "ADT_A28");
406 this.addSuperstructureApplication("DB1", "ADT_A29");
407 this.addSuperstructureApplication("DB1", "ADT_A31");
408 this.addSuperstructureApplication("DB1", "ADT_A32");
409 this.addSuperstructureApplication("DB1", "ADT_A33");
410 this.addSuperstructureApplication("DB1", "ADT_A37");
411 this.addSuperstructureApplication("DB1", "ADT_A38");
412 this.add(OBX.class, false, true);
413 this.addSuperstructureApplication("OBX", "ADT_A01");
414 this.addSuperstructureApplication("OBX", "ADT_A02");
415 this.addSuperstructureApplication("OBX", "ADT_A03");
416 this.addSuperstructureApplication("OBX", "ADT_A04");
417 this.addSuperstructureApplication("OBX", "ADT_A05");
418 this.addSuperstructureApplication("OBX", "ADT_A06");
419 this.addSuperstructureApplication("OBX", "ADT_A07");
420 this.addSuperstructureApplication("OBX", "ADT_A08");
421 this.addSuperstructureApplication("OBX", "ADT_A09");
422 this.addSuperstructureApplication("OBX", "ADT_A10");
423 this.addSuperstructureApplication("OBX", "ADT_A11");
424 this.addSuperstructureApplication("OBX", "ADT_A12");
425 this.addSuperstructureApplication("OBX", "ADT_A13");
426 this.addSuperstructureApplication("OBX", "ADT_A14");
427 this.addSuperstructureApplication("OBX", "ADT_A15");
428 this.addSuperstructureApplication("OBX", "ADT_A16");
429 this.addSuperstructureApplication("OBX", "ADT_A17");
430 this.addSuperstructureApplication("OBX", "ADT_A21");
431 this.addSuperstructureApplication("OBX", "ADT_A22");
432 this.addSuperstructureApplication("OBX", "ADT_A23");
433 this.addSuperstructureApplication("OBX", "ADT_A25");
434 this.addSuperstructureApplication("OBX", "ADT_A26");
435 this.addSuperstructureApplication("OBX", "ADT_A27");
436 this.addSuperstructureApplication("OBX", "ADT_A28");
437 this.addSuperstructureApplication("OBX", "ADT_A29");
438 this.addSuperstructureApplication("OBX", "ADT_A31");
439 this.addSuperstructureApplication("OBX", "ADT_A32");
440 this.addSuperstructureApplication("OBX", "ADT_A33");
441 this.addSuperstructureApplication("OBX", "ADT_A38");
442 this.add(AL1.class, false, true);
443 this.addSuperstructureApplication("AL1", "ADT_A01");
444 this.addSuperstructureApplication("AL1", "ADT_A04");
445 this.addSuperstructureApplication("AL1", "ADT_A05");
446 this.addSuperstructureApplication("AL1", "ADT_A06");
447 this.addSuperstructureApplication("AL1", "ADT_A07");
448 this.addSuperstructureApplication("AL1", "ADT_A08");
449 this.addSuperstructureApplication("AL1", "ADT_A13");
450 this.addSuperstructureApplication("AL1", "ADT_A14");
451 this.addSuperstructureApplication("AL1", "ADT_A28");
452 this.addSuperstructureApplication("AL1", "ADT_A31");
453 this.add(DG1.class, false, true);
454 this.addSuperstructureApplication("DG1", "ADT_A01");
455 this.addSuperstructureApplication("DG1", "ADT_A03");
456 this.addSuperstructureApplication("DG1", "ADT_A04");
457 this.addSuperstructureApplication("DG1", "ADT_A05");
458 this.addSuperstructureApplication("DG1", "ADT_A06");
459 this.addSuperstructureApplication("DG1", "ADT_A07");
460 this.addSuperstructureApplication("DG1", "ADT_A08");
461 this.addSuperstructureApplication("DG1", "ADT_A09");
462 this.addSuperstructureApplication("DG1", "ADT_A10");
463 this.addSuperstructureApplication("DG1", "ADT_A11");
464 this.addSuperstructureApplication("DG1", "ADT_A12");
465 this.addSuperstructureApplication("DG1", "ADT_A13");
466 this.addSuperstructureApplication("DG1", "ADT_A14");
467 this.addSuperstructureApplication("DG1", "ADT_A15");
468 this.addSuperstructureApplication("DG1", "ADT_A16");
469 this.addSuperstructureApplication("DG1", "ADT_A28");
470 this.addSuperstructureApplication("DG1", "ADT_A31");
471 this.addSuperstructureApplication("DG1", "ADT_A38");
472 this.add(DRG.class, false, false);
473 this.addSuperstructureApplication("DRG", "ADT_A01");
474 this.addSuperstructureApplication("DRG", "ADT_A03");
475 this.addSuperstructureApplication("DRG", "ADT_A04");
476 this.addSuperstructureApplication("DRG", "ADT_A05");
477 this.addSuperstructureApplication("DRG", "ADT_A06");
478 this.addSuperstructureApplication("DRG", "ADT_A07");
479 this.addSuperstructureApplication("DRG", "ADT_A08");
480 this.addSuperstructureApplication("DRG", "ADT_A13");
481 this.addSuperstructureApplication("DRG", "ADT_A14");
482 this.addSuperstructureApplication("DRG", "ADT_A16");
483 this.addSuperstructureApplication("DRG", "ADT_A28");
484 this.addSuperstructureApplication("DRG", "ADT_A31");
485 this.addSuperstructureApplication("DRG", "ADT_A38");
486 this.add(ADT_AXX_PROCEDURE.class, false, true);
487 this.add(GT1.class, false, true);
488 this.addSuperstructureApplication("GT1", "ADT_A01");
489 this.addSuperstructureApplication("GT1", "ADT_A04");
490 this.addSuperstructureApplication("GT1", "ADT_A05");
491 this.addSuperstructureApplication("GT1", "ADT_A06");
492 this.addSuperstructureApplication("GT1", "ADT_A07");
493 this.addSuperstructureApplication("GT1", "ADT_A08");
494 this.addSuperstructureApplication("GT1", "ADT_A13");
495 this.addSuperstructureApplication("GT1", "ADT_A14");
496 this.addSuperstructureApplication("GT1", "ADT_A28");
497 this.addSuperstructureApplication("GT1", "ADT_A31");
498 this.add(ADT_AXX_INSURANCE.class, false, true);
499 this.add(ACC.class, false, false);
500 this.addSuperstructureApplication("ACC", "ADT_A01");
501 this.addSuperstructureApplication("ACC", "ADT_A04");
502 this.addSuperstructureApplication("ACC", "ADT_A05");
503 this.addSuperstructureApplication("ACC", "ADT_A06");
504 this.addSuperstructureApplication("ACC", "ADT_A07");
505 this.addSuperstructureApplication("ACC", "ADT_A08");
506 this.addSuperstructureApplication("ACC", "ADT_A13");
507 this.addSuperstructureApplication("ACC", "ADT_A14");
508 this.addSuperstructureApplication("ACC", "ADT_A28");
509 this.addSuperstructureApplication("ACC", "ADT_A31");
510 this.add(UB1.class, false, false);
511 this.addSuperstructureApplication("UB1", "ADT_A01");
512 this.addSuperstructureApplication("UB1", "ADT_A04");
513 this.addSuperstructureApplication("UB1", "ADT_A05");
514 this.addSuperstructureApplication("UB1", "ADT_A06");
515 this.addSuperstructureApplication("UB1", "ADT_A07");
516 this.addSuperstructureApplication("UB1", "ADT_A08");
517 this.addSuperstructureApplication("UB1", "ADT_A13");
518 this.addSuperstructureApplication("UB1", "ADT_A14");
519 this.addSuperstructureApplication("UB1", "ADT_A28");
520 this.addSuperstructureApplication("UB1", "ADT_A31");
521 this.add(UB2.class, false, false);
522 this.addSuperstructureApplication("UB2", "ADT_A01");
523 this.addSuperstructureApplication("UB2", "ADT_A04");
524 this.addSuperstructureApplication("UB2", "ADT_A05");
525 this.addSuperstructureApplication("UB2", "ADT_A06");
526 this.addSuperstructureApplication("UB2", "ADT_A07");
527 this.addSuperstructureApplication("UB2", "ADT_A08");
528 this.addSuperstructureApplication("UB2", "ADT_A13");
529 this.addSuperstructureApplication("UB2", "ADT_A14");
530 this.addSuperstructureApplication("UB2", "ADT_A28");
531 this.addSuperstructureApplication("UB2", "ADT_A31");
532 this.add(DRG.class, false, false);
533 this.addSuperstructureApplication("DRG2", "ADT_A06");
534 this.addSuperstructureApplication("DRG2", "ADT_A07");
535 this.add(PID.class, false, false);
536 this.addSuperstructureApplication("PID2", "ADT_A17");
537 this.addSuperstructureApplication("PID2", "ADT_A24");
538 this.addSuperstructureApplication("PID2", "ADT_A37");
539 this.add(PD1.class, false, false);
540 this.addSuperstructureApplication("PD12", "ADT_A17");
541 this.addSuperstructureApplication("PD12", "ADT_A24");
542 this.add(PV1.class, false, false);
543 this.addSuperstructureApplication("PV12", "ADT_A17");
544 this.addSuperstructureApplication("PV12", "ADT_A24");
545 this.addSuperstructureApplication("PV12", "ADT_A37");
546 this.add(PV2.class, false, false);
547 this.addSuperstructureApplication("PV22", "ADT_A17");
548 this.add(DB1.class, false, true);
549 this.addSuperstructureApplication("DB12", "ADT_A17");
550 this.addSuperstructureApplication("DB12", "ADT_A24");
551 this.addSuperstructureApplication("DB12", "ADT_A37");
552 this.add(OBX.class, false, true);
553 this.addSuperstructureApplication("OBX2", "ADT_A17");
554 this.add(NPU.class, false, false);
555 this.addSuperstructureApplication("NPU", "ADT_A20");
556 this.add(ADT_AXX_PATIENT.class, false, true);
557 this.add(ADT_AXX_MERGE_INFO.class, false, true);
558 } catch(HL7Exception e) {
559 log.error("Unexpected error creating ADT_AXX - this is probably a bug in the source code generator.", e);
560 }
561 }
562
563 public java.util.List<String> getChildNamesForStructure(String theStructure) {
564 java.util.ArrayList<String> retVal = new java.util.ArrayList<String>();
565 if ( "ADT_A01".equals(theStructure) ) {
566 retVal.add("MSH");
567 retVal.add("EVN");
568 retVal.add("PID");
569 retVal.add("PD1");
570 retVal.add("NK1");
571 retVal.add("PV1");
572 retVal.add("PV2");
573 retVal.add("DB1");
574 retVal.add("OBX");
575 retVal.add("AL1");
576 retVal.add("DG1");
577 retVal.add("DRG");
578 retVal.add("PROCEDURE");
579 retVal.add("GT1");
580 retVal.add("INSURANCE");
581 retVal.add("ACC");
582 retVal.add("UB1");
583 retVal.add("UB2");
584 }
585 if ( "ADT_A02".equals(theStructure) ) {
586 retVal.add("MSH");
587 retVal.add("EVN");
588 retVal.add("PID");
589 retVal.add("PD1");
590 retVal.add("PV1");
591 retVal.add("PV2");
592 retVal.add("DB1");
593 retVal.add("OBX");
594 }
595 if ( "ADT_A03".equals(theStructure) ) {
596 retVal.add("MSH");
597 retVal.add("EVN");
598 retVal.add("PID");
599 retVal.add("PD1");
600 retVal.add("PV1");
601 retVal.add("PV2");
602 retVal.add("DB1");
603 retVal.add("DG1");
604 retVal.add("DRG");
605 retVal.add("PROCEDURE");
606 retVal.add("OBX");
607 }
608 if ( "ADT_A04".equals(theStructure) ) {
609 retVal.add("MSH");
610 retVal.add("EVN");
611 retVal.add("PID");
612 retVal.add("PD1");
613 retVal.add("NK1");
614 retVal.add("PV1");
615 retVal.add("PV2");
616 retVal.add("DB1");
617 retVal.add("OBX");
618 retVal.add("AL1");
619 retVal.add("DG1");
620 retVal.add("DRG");
621 retVal.add("PROCEDURE");
622 retVal.add("GT1");
623 retVal.add("INSURANCE");
624 retVal.add("ACC");
625 retVal.add("UB1");
626 retVal.add("UB2");
627 }
628 if ( "ADT_A05".equals(theStructure) ) {
629 retVal.add("MSH");
630 retVal.add("EVN");
631 retVal.add("PID");
632 retVal.add("PD1");
633 retVal.add("NK1");
634 retVal.add("PV1");
635 retVal.add("PV2");
636 retVal.add("DB1");
637 retVal.add("OBX");
638 retVal.add("AL1");
639 retVal.add("DG1");
640 retVal.add("DRG");
641 retVal.add("PROCEDURE");
642 retVal.add("GT1");
643 retVal.add("INSURANCE");
644 retVal.add("ACC");
645 retVal.add("UB1");
646 retVal.add("UB2");
647 }
648 if ( "ADT_A06".equals(theStructure) ) {
649 retVal.add("MSH");
650 retVal.add("EVN");
651 retVal.add("PID");
652 retVal.add("PD1");
653 retVal.add("MRG");
654 retVal.add("NK1");
655 retVal.add("PV1");
656 retVal.add("PV2");
657 retVal.add("DB1");
658 retVal.add("DRG");
659 retVal.add("OBX");
660 retVal.add("AL1");
661 retVal.add("DG1");
662 retVal.add("DRG2");
663 retVal.add("PROCEDURE");
664 retVal.add("GT1");
665 retVal.add("INSURANCE");
666 retVal.add("ACC");
667 retVal.add("UB1");
668 retVal.add("UB2");
669 }
670 if ( "ADT_A07".equals(theStructure) ) {
671 retVal.add("MSH");
672 retVal.add("EVN");
673 retVal.add("PID");
674 retVal.add("PD1");
675 retVal.add("MRG");
676 retVal.add("NK1");
677 retVal.add("PV1");
678 retVal.add("PV2");
679 retVal.add("DB1");
680 retVal.add("DRG");
681 retVal.add("OBX");
682 retVal.add("AL1");
683 retVal.add("DG1");
684 retVal.add("DRG2");
685 retVal.add("PROCEDURE");
686 retVal.add("GT1");
687 retVal.add("INSURANCE");
688 retVal.add("ACC");
689 retVal.add("UB1");
690 retVal.add("UB2");
691 }
692 if ( "ADT_A08".equals(theStructure) ) {
693 retVal.add("MSH");
694 retVal.add("EVN");
695 retVal.add("PID");
696 retVal.add("PD1");
697 retVal.add("NK1");
698 retVal.add("PV1");
699 retVal.add("PV2");
700 retVal.add("DB1");
701 retVal.add("OBX");
702 retVal.add("AL1");
703 retVal.add("DG1");
704 retVal.add("DRG");
705 retVal.add("PROCEDURE");
706 retVal.add("GT1");
707 retVal.add("INSURANCE");
708 retVal.add("ACC");
709 retVal.add("UB1");
710 retVal.add("UB2");
711 }
712 if ( "ADT_A09".equals(theStructure) ) {
713 retVal.add("MSH");
714 retVal.add("EVN");
715 retVal.add("PID");
716 retVal.add("PD1");
717 retVal.add("PV1");
718 retVal.add("PV2");
719 retVal.add("DB1");
720 retVal.add("OBX");
721 retVal.add("DG1");
722 }
723 if ( "ADT_A10".equals(theStructure) ) {
724 retVal.add("MSH");
725 retVal.add("EVN");
726 retVal.add("PID");
727 retVal.add("PD1");
728 retVal.add("PV1");
729 retVal.add("PV2");
730 retVal.add("DB1");
731 retVal.add("OBX");
732 retVal.add("DG1");
733 }
734 if ( "ADT_A11".equals(theStructure) ) {
735 retVal.add("MSH");
736 retVal.add("EVN");
737 retVal.add("PID");
738 retVal.add("PD1");
739 retVal.add("PV1");
740 retVal.add("PV2");
741 retVal.add("DB1");
742 retVal.add("OBX");
743 retVal.add("DG1");
744 }
745 if ( "ADT_A12".equals(theStructure) ) {
746 retVal.add("MSH");
747 retVal.add("EVN");
748 retVal.add("PID");
749 retVal.add("PD1");
750 retVal.add("PV1");
751 retVal.add("PV2");
752 retVal.add("DB1");
753 retVal.add("OBX");
754 retVal.add("DG1");
755 }
756 if ( "ADT_A13".equals(theStructure) ) {
757 retVal.add("MSH");
758 retVal.add("EVN");
759 retVal.add("PID");
760 retVal.add("PD1");
761 retVal.add("NK1");
762 retVal.add("PV1");
763 retVal.add("PV2");
764 retVal.add("DB1");
765 retVal.add("OBX");
766 retVal.add("AL1");
767 retVal.add("DG1");
768 retVal.add("DRG");
769 retVal.add("PROCEDURE");
770 retVal.add("GT1");
771 retVal.add("INSURANCE");
772 retVal.add("ACC");
773 retVal.add("UB1");
774 retVal.add("UB2");
775 }
776 if ( "ADT_A14".equals(theStructure) ) {
777 retVal.add("MSH");
778 retVal.add("EVN");
779 retVal.add("PID");
780 retVal.add("PD1");
781 retVal.add("NK1");
782 retVal.add("PV1");
783 retVal.add("PV2");
784 retVal.add("DB1");
785 retVal.add("OBX");
786 retVal.add("AL1");
787 retVal.add("DG1");
788 retVal.add("DRG");
789 retVal.add("PROCEDURE");
790 retVal.add("GT1");
791 retVal.add("INSURANCE");
792 retVal.add("ACC");
793 retVal.add("UB1");
794 retVal.add("UB2");
795 }
796 if ( "ADT_A15".equals(theStructure) ) {
797 retVal.add("MSH");
798 retVal.add("EVN");
799 retVal.add("PID");
800 retVal.add("PD1");
801 retVal.add("PV1");
802 retVal.add("PV2");
803 retVal.add("DB1");
804 retVal.add("OBX");
805 retVal.add("DG1");
806 }
807 if ( "ADT_A16".equals(theStructure) ) {
808 retVal.add("MSH");
809 retVal.add("EVN");
810 retVal.add("PID");
811 retVal.add("PD1");
812 retVal.add("PV1");
813 retVal.add("PV2");
814 retVal.add("DB1");
815 retVal.add("OBX");
816 retVal.add("DG1");
817 retVal.add("DRG");
818 }
819 if ( "ADT_A17".equals(theStructure) ) {
820 retVal.add("MSH");
821 retVal.add("EVN");
822 retVal.add("PID");
823 retVal.add("PD1");
824 retVal.add("PV1");
825 retVal.add("PV2");
826 retVal.add("DB1");
827 retVal.add("OBX");
828 retVal.add("PID2");
829 retVal.add("PD12");
830 retVal.add("PV12");
831 retVal.add("PV22");
832 retVal.add("DB12");
833 retVal.add("OBX2");
834 }
835 if ( "ADT_A18".equals(theStructure) ) {
836 retVal.add("MSH");
837 retVal.add("EVN");
838 retVal.add("PID");
839 retVal.add("PD1");
840 retVal.add("MRG");
841 retVal.add("PV1");
842 }
843 if ( "ADT_A20".equals(theStructure) ) {
844 retVal.add("MSH");
845 retVal.add("EVN");
846 retVal.add("NPU");
847 }
848 if ( "ADT_A21".equals(theStructure) ) {
849 retVal.add("MSH");
850 retVal.add("EVN");
851 retVal.add("PID");
852 retVal.add("PD1");
853 retVal.add("PV1");
854 retVal.add("PV2");
855 retVal.add("DB1");
856 retVal.add("OBX");
857 }
858 if ( "ADT_A22".equals(theStructure) ) {
859 retVal.add("MSH");
860 retVal.add("EVN");
861 retVal.add("PID");
862 retVal.add("PD1");
863 retVal.add("PV1");
864 retVal.add("PV2");
865 retVal.add("DB1");
866 retVal.add("OBX");
867 }
868 if ( "ADT_A23".equals(theStructure) ) {
869 retVal.add("MSH");
870 retVal.add("EVN");
871 retVal.add("PID");
872 retVal.add("PD1");
873 retVal.add("PV1");
874 retVal.add("PV2");
875 retVal.add("DB1");
876 retVal.add("OBX");
877 }
878 if ( "ADT_A24".equals(theStructure) ) {
879 retVal.add("MSH");
880 retVal.add("EVN");
881 retVal.add("PID");
882 retVal.add("PD1");
883 retVal.add("PV1");
884 retVal.add("DB1");
885 retVal.add("PID2");
886 retVal.add("PD12");
887 retVal.add("PV12");
888 retVal.add("DB12");
889 }
890 if ( "ADT_A25".equals(theStructure) ) {
891 retVal.add("MSH");
892 retVal.add("EVN");
893 retVal.add("PID");
894 retVal.add("PD1");
895 retVal.add("PV1");
896 retVal.add("PV2");
897 retVal.add("DB1");
898 retVal.add("OBX");
899 }
900 if ( "ADT_A26".equals(theStructure) ) {
901 retVal.add("MSH");
902 retVal.add("EVN");
903 retVal.add("PID");
904 retVal.add("PD1");
905 retVal.add("PV1");
906 retVal.add("PV2");
907 retVal.add("DB1");
908 retVal.add("OBX");
909 }
910 if ( "ADT_A27".equals(theStructure) ) {
911 retVal.add("MSH");
912 retVal.add("EVN");
913 retVal.add("PID");
914 retVal.add("PD1");
915 retVal.add("PV1");
916 retVal.add("PV2");
917 retVal.add("DB1");
918 retVal.add("OBX");
919 }
920 if ( "ADT_A28".equals(theStructure) ) {
921 retVal.add("MSH");
922 retVal.add("EVN");
923 retVal.add("PID");
924 retVal.add("PD1");
925 retVal.add("NK1");
926 retVal.add("PV1");
927 retVal.add("PV2");
928 retVal.add("DB1");
929 retVal.add("OBX");
930 retVal.add("AL1");
931 retVal.add("DG1");
932 retVal.add("DRG");
933 retVal.add("PROCEDURE");
934 retVal.add("GT1");
935 retVal.add("INSURANCE");
936 retVal.add("ACC");
937 retVal.add("UB1");
938 retVal.add("UB2");
939 }
940 if ( "ADT_A29".equals(theStructure) ) {
941 retVal.add("MSH");
942 retVal.add("EVN");
943 retVal.add("PID");
944 retVal.add("PD1");
945 retVal.add("PV1");
946 retVal.add("PV2");
947 retVal.add("DB1");
948 retVal.add("OBX");
949 }
950 if ( "ADT_A30".equals(theStructure) ) {
951 retVal.add("MSH");
952 retVal.add("EVN");
953 retVal.add("PID");
954 retVal.add("PD1");
955 retVal.add("MRG");
956 }
957 if ( "ADT_A31".equals(theStructure) ) {
958 retVal.add("MSH");
959 retVal.add("EVN");
960 retVal.add("PID");
961 retVal.add("PD1");
962 retVal.add("NK1");
963 retVal.add("PV1");
964 retVal.add("PV2");
965 retVal.add("DB1");
966 retVal.add("OBX");
967 retVal.add("AL1");
968 retVal.add("DG1");
969 retVal.add("DRG");
970 retVal.add("PROCEDURE");
971 retVal.add("GT1");
972 retVal.add("INSURANCE");
973 retVal.add("ACC");
974 retVal.add("UB1");
975 retVal.add("UB2");
976 }
977 if ( "ADT_A32".equals(theStructure) ) {
978 retVal.add("MSH");
979 retVal.add("EVN");
980 retVal.add("PID");
981 retVal.add("PD1");
982 retVal.add("PV1");
983 retVal.add("PV2");
984 retVal.add("DB1");
985 retVal.add("OBX");
986 }
987 if ( "ADT_A33".equals(theStructure) ) {
988 retVal.add("MSH");
989 retVal.add("EVN");
990 retVal.add("PID");
991 retVal.add("PD1");
992 retVal.add("PV1");
993 retVal.add("PV2");
994 retVal.add("DB1");
995 retVal.add("OBX");
996 }
997 if ( "ADT_A34".equals(theStructure) ) {
998 retVal.add("MSH");
999 retVal.add("EVN");
1000 retVal.add("PID");
1001 retVal.add("PD1");
1002 retVal.add("MRG");
1003 }
1004 if ( "ADT_A35".equals(theStructure) ) {
1005 retVal.add("MSH");
1006 retVal.add("EVN");
1007 retVal.add("PID");
1008 retVal.add("PD1");
1009 retVal.add("MRG");
1010 }
1011 if ( "ADT_A36".equals(theStructure) ) {
1012 retVal.add("MSH");
1013 retVal.add("EVN");
1014 retVal.add("PID");
1015 retVal.add("PD1");
1016 retVal.add("MRG");
1017 }
1018 if ( "ADT_A37".equals(theStructure) ) {
1019 retVal.add("MSH");
1020 retVal.add("EVN");
1021 retVal.add("PID");
1022 retVal.add("PD1");
1023 retVal.add("PV1");
1024 retVal.add("DB1");
1025 retVal.add("PID2");
1026 retVal.add("PV12");
1027 retVal.add("DB12");
1028 }
1029 if ( "ADT_A38".equals(theStructure) ) {
1030 retVal.add("MSH");
1031 retVal.add("EVN");
1032 retVal.add("PID");
1033 retVal.add("PD1");
1034 retVal.add("PV1");
1035 retVal.add("PV2");
1036 retVal.add("DB1");
1037 retVal.add("OBX");
1038 retVal.add("DG1");
1039 retVal.add("DRG");
1040 }
1041 if ( "ADT_A39".equals(theStructure) ) {
1042 retVal.add("MSH");
1043 retVal.add("EVN");
1044 retVal.add("PATIENT");
1045 }
1046 if ( "ADT_A40".equals(theStructure) ) {
1047 retVal.add("MSH");
1048 retVal.add("EVN");
1049 retVal.add("PATIENT");
1050 }
1051 if ( "ADT_A41".equals(theStructure) ) {
1052 retVal.add("MSH");
1053 retVal.add("EVN");
1054 retVal.add("PATIENT");
1055 }
1056 if ( "ADT_A42".equals(theStructure) ) {
1057 retVal.add("MSH");
1058 retVal.add("EVN");
1059 retVal.add("PATIENT");
1060 }
1061 if ( "ADT_A43".equals(theStructure) ) {
1062 retVal.add("MSH");
1063 retVal.add("EVN");
1064 retVal.add("PATIENT");
1065 }
1066 if ( "ADT_A44".equals(theStructure) ) {
1067 retVal.add("MSH");
1068 retVal.add("EVN");
1069 retVal.add("PATIENT");
1070 }
1071 if ( "ADT_A45".equals(theStructure) ) {
1072 retVal.add("MSH");
1073 retVal.add("EVN");
1074 retVal.add("PID");
1075 retVal.add("PD1");
1076 retVal.add("MERGE_INFO");
1077 }
1078 if ( "ADT_A46".equals(theStructure) ) {
1079 retVal.add("MSH");
1080 retVal.add("EVN");
1081 retVal.add("PID");
1082 retVal.add("PD1");
1083 retVal.add("MRG");
1084 }
1085 if ( "ADT_A47".equals(theStructure) ) {
1086 retVal.add("MSH");
1087 retVal.add("EVN");
1088 retVal.add("PID");
1089 retVal.add("PD1");
1090 retVal.add("MRG");
1091 }
1092 if ( "ADT_A48".equals(theStructure) ) {
1093 retVal.add("MSH");
1094 retVal.add("EVN");
1095 retVal.add("PID");
1096 retVal.add("PD1");
1097 retVal.add("MRG");
1098 }
1099 if ( "ADT_A49".equals(theStructure) ) {
1100 retVal.add("MSH");
1101 retVal.add("EVN");
1102 retVal.add("PID");
1103 retVal.add("PD1");
1104 retVal.add("MRG");
1105 }
1106 if ( "ADT_A50".equals(theStructure) ) {
1107 retVal.add("MSH");
1108 retVal.add("EVN");
1109 retVal.add("PID");
1110 retVal.add("PD1");
1111 retVal.add("MRG");
1112 retVal.add("PV1");
1113 }
1114 if ( "ADT_A51".equals(theStructure) ) {
1115 retVal.add("MSH");
1116 retVal.add("EVN");
1117 retVal.add("PID");
1118 retVal.add("PD1");
1119 retVal.add("MRG");
1120 retVal.add("PV1");
1121 }
1122 return retVal;
1123 }
1124
1125
1126
1127
1128 public String getVersion() {
1129 return "2.3";
1130 }
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143 public MSH getMSH() {
1144 return getTyped("MSH", MSH.class);
1145 }
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159 public EVN getEVN() {
1160 return getTyped("EVN", EVN.class);
1161 }
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175 public PID getPID() {
1176 return getTyped("PID", PID.class);
1177 }
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191 public PD1 getPD1() {
1192 return getTyped("PD1", PD1.class);
1193 }
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207 public MRG getMRG() {
1208 return getTyped("MRG", MRG.class);
1209 }
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224 public NK1 getNK1() {
1225 return getTyped("NK1", NK1.class);
1226 }
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240 public NK1 getNK1(int rep) {
1241 return getTyped("NK1", rep, NK1.class);
1242 }
1243
1244
1245
1246
1247
1248
1249
1250 public int getNK1Reps() {
1251 return getReps("NK1");
1252 }
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264 public java.util.List<NK1> getNK1All() throws HL7Exception {
1265 return getAllAsList("NK1", NK1.class);
1266 }
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276 public void insertNK1(NK1 structure, int rep) throws HL7Exception {
1277 super.insertRepetition( "NK1", structure, rep);
1278 }
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289 public NK1 insertNK1(int rep) throws HL7Exception {
1290 return (NK1)super.insertRepetition("NK1", rep);
1291 }
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302 public NK1 removeNK1(int rep) throws HL7Exception {
1303 return (NK1)super.removeRepetition("NK1", rep);
1304 }
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317 public PV1 getPV1() {
1318 return getTyped("PV1", PV1.class);
1319 }
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333 public PV2 getPV2() {
1334 return getTyped("PV2", PV2.class);
1335 }
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350 public DB1 getDB1() {
1351 return getTyped("DB1", DB1.class);
1352 }
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366 public DB1 getDB1(int rep) {
1367 return getTyped("DB1", rep, DB1.class);
1368 }
1369
1370
1371
1372
1373
1374
1375
1376 public int getDB1Reps() {
1377 return getReps("DB1");
1378 }
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390 public java.util.List<DB1> getDB1All() throws HL7Exception {
1391 return getAllAsList("DB1", DB1.class);
1392 }
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402 public void insertDB1(DB1 structure, int rep) throws HL7Exception {
1403 super.insertRepetition( "DB1", structure, rep);
1404 }
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415 public DB1 insertDB1(int rep) throws HL7Exception {
1416 return (DB1)super.insertRepetition("DB1", rep);
1417 }
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428 public DB1 removeDB1(int rep) throws HL7Exception {
1429 return (DB1)super.removeRepetition("DB1", rep);
1430 }
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444 public OBX getOBX() {
1445 return getTyped("OBX", OBX.class);
1446 }
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460 public OBX getOBX(int rep) {
1461 return getTyped("OBX", rep, OBX.class);
1462 }
1463
1464
1465
1466
1467
1468
1469
1470 public int getOBXReps() {
1471 return getReps("OBX");
1472 }
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484 public java.util.List<OBX> getOBXAll() throws HL7Exception {
1485 return getAllAsList("OBX", OBX.class);
1486 }
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496 public void insertOBX(OBX structure, int rep) throws HL7Exception {
1497 super.insertRepetition( "OBX", structure, rep);
1498 }
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509 public OBX insertOBX(int rep) throws HL7Exception {
1510 return (OBX)super.insertRepetition("OBX", rep);
1511 }
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522 public OBX removeOBX(int rep) throws HL7Exception {
1523 return (OBX)super.removeRepetition("OBX", rep);
1524 }
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538 public AL1 getAL1() {
1539 return getTyped("AL1", AL1.class);
1540 }
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554 public AL1 getAL1(int rep) {
1555 return getTyped("AL1", rep, AL1.class);
1556 }
1557
1558
1559
1560
1561
1562
1563
1564 public int getAL1Reps() {
1565 return getReps("AL1");
1566 }
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578 public java.util.List<AL1> getAL1All() throws HL7Exception {
1579 return getAllAsList("AL1", AL1.class);
1580 }
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590 public void insertAL1(AL1 structure, int rep) throws HL7Exception {
1591 super.insertRepetition( "AL1", structure, rep);
1592 }
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603 public AL1 insertAL1(int rep) throws HL7Exception {
1604 return (AL1)super.insertRepetition("AL1", rep);
1605 }
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616 public AL1 removeAL1(int rep) throws HL7Exception {
1617 return (AL1)super.removeRepetition("AL1", rep);
1618 }
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632 public DG1 getDG1() {
1633 return getTyped("DG1", DG1.class);
1634 }
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648 public DG1 getDG1(int rep) {
1649 return getTyped("DG1", rep, DG1.class);
1650 }
1651
1652
1653
1654
1655
1656
1657
1658 public int getDG1Reps() {
1659 return getReps("DG1");
1660 }
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672 public java.util.List<DG1> getDG1All() throws HL7Exception {
1673 return getAllAsList("DG1", DG1.class);
1674 }
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684 public void insertDG1(DG1 structure, int rep) throws HL7Exception {
1685 super.insertRepetition( "DG1", structure, rep);
1686 }
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697 public DG1 insertDG1(int rep) throws HL7Exception {
1698 return (DG1)super.insertRepetition("DG1", rep);
1699 }
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710 public DG1 removeDG1(int rep) throws HL7Exception {
1711 return (DG1)super.removeRepetition("DG1", rep);
1712 }
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725 public DRG getDRG() {
1726 return getTyped("DRG", DRG.class);
1727 }
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742 public ADT_AXX_PROCEDURE getPROCEDURE() {
1743 return getTyped("PROCEDURE", ADT_AXX_PROCEDURE.class);
1744 }
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758 public ADT_AXX_PROCEDURE getPROCEDURE(int rep) {
1759 return getTyped("PROCEDURE", rep, ADT_AXX_PROCEDURE.class);
1760 }
1761
1762
1763
1764
1765
1766
1767
1768 public int getPROCEDUREReps() {
1769 return getReps("PROCEDURE");
1770 }
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782 public java.util.List<ADT_AXX_PROCEDURE> getPROCEDUREAll() throws HL7Exception {
1783 return getAllAsList("PROCEDURE", ADT_AXX_PROCEDURE.class);
1784 }
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794 public void insertPROCEDURE(ADT_AXX_PROCEDURE structure, int rep) throws HL7Exception {
1795 super.insertRepetition( "PROCEDURE", structure, rep);
1796 }
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807 public ADT_AXX_PROCEDURE insertPROCEDURE(int rep) throws HL7Exception {
1808 return (ADT_AXX_PROCEDURE)super.insertRepetition("PROCEDURE", rep);
1809 }
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820 public ADT_AXX_PROCEDURE removePROCEDURE(int rep) throws HL7Exception {
1821 return (ADT_AXX_PROCEDURE)super.removeRepetition("PROCEDURE", rep);
1822 }
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836 public GT1 getGT1() {
1837 return getTyped("GT1", GT1.class);
1838 }
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852 public GT1 getGT1(int rep) {
1853 return getTyped("GT1", rep, GT1.class);
1854 }
1855
1856
1857
1858
1859
1860
1861
1862 public int getGT1Reps() {
1863 return getReps("GT1");
1864 }
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876 public java.util.List<GT1> getGT1All() throws HL7Exception {
1877 return getAllAsList("GT1", GT1.class);
1878 }
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888 public void insertGT1(GT1 structure, int rep) throws HL7Exception {
1889 super.insertRepetition( "GT1", structure, rep);
1890 }
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901 public GT1 insertGT1(int rep) throws HL7Exception {
1902 return (GT1)super.insertRepetition("GT1", rep);
1903 }
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914 public GT1 removeGT1(int rep) throws HL7Exception {
1915 return (GT1)super.removeRepetition("GT1", rep);
1916 }
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930 public ADT_AXX_INSURANCE getINSURANCE() {
1931 return getTyped("INSURANCE", ADT_AXX_INSURANCE.class);
1932 }
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946 public ADT_AXX_INSURANCE getINSURANCE(int rep) {
1947 return getTyped("INSURANCE", rep, ADT_AXX_INSURANCE.class);
1948 }
1949
1950
1951
1952
1953
1954
1955
1956 public int getINSURANCEReps() {
1957 return getReps("INSURANCE");
1958 }
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970 public java.util.List<ADT_AXX_INSURANCE> getINSURANCEAll() throws HL7Exception {
1971 return getAllAsList("INSURANCE", ADT_AXX_INSURANCE.class);
1972 }
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982 public void insertINSURANCE(ADT_AXX_INSURANCE structure, int rep) throws HL7Exception {
1983 super.insertRepetition( "INSURANCE", structure, rep);
1984 }
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995 public ADT_AXX_INSURANCE insertINSURANCE(int rep) throws HL7Exception {
1996 return (ADT_AXX_INSURANCE)super.insertRepetition("INSURANCE", rep);
1997 }
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008 public ADT_AXX_INSURANCE removeINSURANCE(int rep) throws HL7Exception {
2009 return (ADT_AXX_INSURANCE)super.removeRepetition("INSURANCE", rep);
2010 }
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023 public ACC getACC() {
2024 return getTyped("ACC", ACC.class);
2025 }
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039 public UB1 getUB1() {
2040 return getTyped("UB1", UB1.class);
2041 }
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055 public UB2 getUB2() {
2056 return getTyped("UB2", UB2.class);
2057 }
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071 public DRG getDRG2() {
2072 return getTyped("DRG2", DRG.class);
2073 }
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087 public PID getPID2() {
2088 return getTyped("PID2", PID.class);
2089 }
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103 public PD1 getPD12() {
2104 return getTyped("PD12", PD1.class);
2105 }
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119 public PV1 getPV12() {
2120 return getTyped("PV12", PV1.class);
2121 }
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135 public PV2 getPV22() {
2136 return getTyped("PV22", PV2.class);
2137 }
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152 public DB1 getDB12() {
2153 return getTyped("DB12", DB1.class);
2154 }
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168 public DB1 getDB12(int rep) {
2169 return getTyped("DB12", rep, DB1.class);
2170 }
2171
2172
2173
2174
2175
2176
2177
2178 public int getDB12Reps() {
2179 return getReps("DB12");
2180 }
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192 public java.util.List<DB1> getDB12All() throws HL7Exception {
2193 return getAllAsList("DB12", DB1.class);
2194 }
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204 public void insertDB12(DB1 structure, int rep) throws HL7Exception {
2205 super.insertRepetition( "DB12", structure, rep);
2206 }
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217 public DB1 insertDB12(int rep) throws HL7Exception {
2218 return (DB1)super.insertRepetition("DB12", rep);
2219 }
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230 public DB1 removeDB12(int rep) throws HL7Exception {
2231 return (DB1)super.removeRepetition("DB12", rep);
2232 }
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246 public OBX getOBX2() {
2247 return getTyped("OBX2", OBX.class);
2248 }
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262 public OBX getOBX2(int rep) {
2263 return getTyped("OBX2", rep, OBX.class);
2264 }
2265
2266
2267
2268
2269
2270
2271
2272 public int getOBX2Reps() {
2273 return getReps("OBX2");
2274 }
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286 public java.util.List<OBX> getOBX2All() throws HL7Exception {
2287 return getAllAsList("OBX2", OBX.class);
2288 }
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298 public void insertOBX2(OBX structure, int rep) throws HL7Exception {
2299 super.insertRepetition( "OBX2", structure, rep);
2300 }
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311 public OBX insertOBX2(int rep) throws HL7Exception {
2312 return (OBX)super.insertRepetition("OBX2", rep);
2313 }
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324 public OBX removeOBX2(int rep) throws HL7Exception {
2325 return (OBX)super.removeRepetition("OBX2", rep);
2326 }
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339 public NPU getNPU() {
2340 return getTyped("NPU", NPU.class);
2341 }
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356 public ADT_AXX_PATIENT getPATIENT() {
2357 return getTyped("PATIENT", ADT_AXX_PATIENT.class);
2358 }
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372 public ADT_AXX_PATIENT getPATIENT(int rep) {
2373 return getTyped("PATIENT", rep, ADT_AXX_PATIENT.class);
2374 }
2375
2376
2377
2378
2379
2380
2381
2382 public int getPATIENTReps() {
2383 return getReps("PATIENT");
2384 }
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396 public java.util.List<ADT_AXX_PATIENT> getPATIENTAll() throws HL7Exception {
2397 return getAllAsList("PATIENT", ADT_AXX_PATIENT.class);
2398 }
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408 public void insertPATIENT(ADT_AXX_PATIENT structure, int rep) throws HL7Exception {
2409 super.insertRepetition( "PATIENT", structure, rep);
2410 }
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421 public ADT_AXX_PATIENT insertPATIENT(int rep) throws HL7Exception {
2422 return (ADT_AXX_PATIENT)super.insertRepetition("PATIENT", rep);
2423 }
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434 public ADT_AXX_PATIENT removePATIENT(int rep) throws HL7Exception {
2435 return (ADT_AXX_PATIENT)super.removeRepetition("PATIENT", rep);
2436 }
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450 public ADT_AXX_MERGE_INFO getMERGE_INFO() {
2451 return getTyped("MERGE_INFO", ADT_AXX_MERGE_INFO.class);
2452 }
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466 public ADT_AXX_MERGE_INFO getMERGE_INFO(int rep) {
2467 return getTyped("MERGE_INFO", rep, ADT_AXX_MERGE_INFO.class);
2468 }
2469
2470
2471
2472
2473
2474
2475
2476 public int getMERGE_INFOReps() {
2477 return getReps("MERGE_INFO");
2478 }
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490 public java.util.List<ADT_AXX_MERGE_INFO> getMERGE_INFOAll() throws HL7Exception {
2491 return getAllAsList("MERGE_INFO", ADT_AXX_MERGE_INFO.class);
2492 }
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502 public void insertMERGE_INFO(ADT_AXX_MERGE_INFO structure, int rep) throws HL7Exception {
2503 super.insertRepetition( "MERGE_INFO", structure, rep);
2504 }
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515 public ADT_AXX_MERGE_INFO insertMERGE_INFO(int rep) throws HL7Exception {
2516 return (ADT_AXX_MERGE_INFO)super.insertRepetition("MERGE_INFO", rep);
2517 }
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528 public ADT_AXX_MERGE_INFO removeMERGE_INFO(int rep) throws HL7Exception {
2529 return (ADT_AXX_MERGE_INFO)super.removeRepetition("MERGE_INFO", rep);
2530 }
2531
2532
2533
2534 }
2535