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.v231.message;
35
36 import ca.uhn.hl7v2.model.v231.group.*;
37 import ca.uhn.hl7v2.model.v231.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_PR1ROL.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_IN1IN2IN3.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(PID.class, false, false);
533 this.addSuperstructureApplication("PID2", "ADT_A17");
534 this.addSuperstructureApplication("PID2", "ADT_A24");
535 this.addSuperstructureApplication("PID2", "ADT_A37");
536 this.add(PD1.class, false, false);
537 this.addSuperstructureApplication("PD12", "ADT_A17");
538 this.addSuperstructureApplication("PD12", "ADT_A24");
539 this.addSuperstructureApplication("PD12", "ADT_A37");
540 this.add(PV1.class, false, false);
541 this.addSuperstructureApplication("PV12", "ADT_A17");
542 this.addSuperstructureApplication("PV12", "ADT_A24");
543 this.addSuperstructureApplication("PV12", "ADT_A37");
544 this.add(PV2.class, false, false);
545 this.addSuperstructureApplication("PV22", "ADT_A17");
546 this.add(DB1.class, false, true);
547 this.addSuperstructureApplication("DB12", "ADT_A17");
548 this.addSuperstructureApplication("DB12", "ADT_A24");
549 this.addSuperstructureApplication("DB12", "ADT_A37");
550 this.add(OBX.class, false, true);
551 this.addSuperstructureApplication("OBX2", "ADT_A17");
552 this.add(NPU.class, false, false);
553 this.addSuperstructureApplication("NPU", "ADT_A20");
554 this.add(ADT_AXX_PIDPD1MRGPV1.class, false, true);
555 this.add(ADT_AXX_PIDPD1MRG.class, false, true);
556 this.add(ADT_AXX_MRGPV1.class, false, true);
557 } catch(HL7Exception e) {
558 log.error("Unexpected error creating ADT_AXX - this is probably a bug in the source code generator.", e);
559 }
560 }
561
562 public java.util.List<String> getChildNamesForStructure(String theStructure) {
563 java.util.ArrayList<String> retVal = new java.util.ArrayList<String>();
564 if ( "ADT_A01".equals(theStructure) ) {
565 retVal.add("MSH");
566 retVal.add("EVN");
567 retVal.add("PID");
568 retVal.add("PD1");
569 retVal.add("NK1");
570 retVal.add("PV1");
571 retVal.add("PV2");
572 retVal.add("DB1");
573 retVal.add("OBX");
574 retVal.add("AL1");
575 retVal.add("DG1");
576 retVal.add("DRG");
577 retVal.add("PR1ROL");
578 retVal.add("GT1");
579 retVal.add("IN1IN2IN3");
580 retVal.add("ACC");
581 retVal.add("UB1");
582 retVal.add("UB2");
583 }
584 if ( "ADT_A02".equals(theStructure) ) {
585 retVal.add("MSH");
586 retVal.add("EVN");
587 retVal.add("PID");
588 retVal.add("PD1");
589 retVal.add("PV1");
590 retVal.add("PV2");
591 retVal.add("DB1");
592 retVal.add("OBX");
593 }
594 if ( "ADT_A03".equals(theStructure) ) {
595 retVal.add("MSH");
596 retVal.add("EVN");
597 retVal.add("PID");
598 retVal.add("PD1");
599 retVal.add("PV1");
600 retVal.add("PV2");
601 retVal.add("DB1");
602 retVal.add("DG1");
603 retVal.add("DRG");
604 retVal.add("PR1ROL");
605 retVal.add("OBX");
606 }
607 if ( "ADT_A04".equals(theStructure) ) {
608 retVal.add("MSH");
609 retVal.add("EVN");
610 retVal.add("PID");
611 retVal.add("PD1");
612 retVal.add("NK1");
613 retVal.add("PV1");
614 retVal.add("PV2");
615 retVal.add("DB1");
616 retVal.add("OBX");
617 retVal.add("AL1");
618 retVal.add("DG1");
619 retVal.add("DRG");
620 retVal.add("PR1ROL");
621 retVal.add("GT1");
622 retVal.add("IN1IN2IN3");
623 retVal.add("ACC");
624 retVal.add("UB1");
625 retVal.add("UB2");
626 }
627 if ( "ADT_A05".equals(theStructure) ) {
628 retVal.add("MSH");
629 retVal.add("EVN");
630 retVal.add("PID");
631 retVal.add("PD1");
632 retVal.add("NK1");
633 retVal.add("PV1");
634 retVal.add("PV2");
635 retVal.add("DB1");
636 retVal.add("OBX");
637 retVal.add("AL1");
638 retVal.add("DG1");
639 retVal.add("DRG");
640 retVal.add("PR1ROL");
641 retVal.add("GT1");
642 retVal.add("IN1IN2IN3");
643 retVal.add("ACC");
644 retVal.add("UB1");
645 retVal.add("UB2");
646 }
647 if ( "ADT_A06".equals(theStructure) ) {
648 retVal.add("MSH");
649 retVal.add("EVN");
650 retVal.add("PID");
651 retVal.add("PD1");
652 retVal.add("MRG");
653 retVal.add("NK1");
654 retVal.add("PV1");
655 retVal.add("PV2");
656 retVal.add("DB1");
657 retVal.add("OBX");
658 retVal.add("AL1");
659 retVal.add("DG1");
660 retVal.add("DRG");
661 retVal.add("PR1ROL");
662 retVal.add("GT1");
663 retVal.add("IN1IN2IN3");
664 retVal.add("ACC");
665 retVal.add("UB1");
666 retVal.add("UB2");
667 }
668 if ( "ADT_A07".equals(theStructure) ) {
669 retVal.add("MSH");
670 retVal.add("EVN");
671 retVal.add("PID");
672 retVal.add("PD1");
673 retVal.add("MRG");
674 retVal.add("NK1");
675 retVal.add("PV1");
676 retVal.add("PV2");
677 retVal.add("DB1");
678 retVal.add("OBX");
679 retVal.add("AL1");
680 retVal.add("DG1");
681 retVal.add("DRG");
682 retVal.add("PR1ROL");
683 retVal.add("GT1");
684 retVal.add("IN1IN2IN3");
685 retVal.add("ACC");
686 retVal.add("UB1");
687 retVal.add("UB2");
688 }
689 if ( "ADT_A08".equals(theStructure) ) {
690 retVal.add("MSH");
691 retVal.add("EVN");
692 retVal.add("PID");
693 retVal.add("PD1");
694 retVal.add("NK1");
695 retVal.add("PV1");
696 retVal.add("PV2");
697 retVal.add("DB1");
698 retVal.add("OBX");
699 retVal.add("AL1");
700 retVal.add("DG1");
701 retVal.add("DRG");
702 retVal.add("PR1ROL");
703 retVal.add("GT1");
704 retVal.add("IN1IN2IN3");
705 retVal.add("ACC");
706 retVal.add("UB1");
707 retVal.add("UB2");
708 }
709 if ( "ADT_A09".equals(theStructure) ) {
710 retVal.add("MSH");
711 retVal.add("EVN");
712 retVal.add("PID");
713 retVal.add("PD1");
714 retVal.add("PV1");
715 retVal.add("PV2");
716 retVal.add("DB1");
717 retVal.add("OBX");
718 retVal.add("DG1");
719 }
720 if ( "ADT_A10".equals(theStructure) ) {
721 retVal.add("MSH");
722 retVal.add("EVN");
723 retVal.add("PID");
724 retVal.add("PD1");
725 retVal.add("PV1");
726 retVal.add("PV2");
727 retVal.add("DB1");
728 retVal.add("OBX");
729 retVal.add("DG1");
730 }
731 if ( "ADT_A11".equals(theStructure) ) {
732 retVal.add("MSH");
733 retVal.add("EVN");
734 retVal.add("PID");
735 retVal.add("PD1");
736 retVal.add("PV1");
737 retVal.add("PV2");
738 retVal.add("DB1");
739 retVal.add("OBX");
740 retVal.add("DG1");
741 }
742 if ( "ADT_A12".equals(theStructure) ) {
743 retVal.add("MSH");
744 retVal.add("EVN");
745 retVal.add("PID");
746 retVal.add("PD1");
747 retVal.add("PV1");
748 retVal.add("PV2");
749 retVal.add("DB1");
750 retVal.add("OBX");
751 retVal.add("DG1");
752 }
753 if ( "ADT_A13".equals(theStructure) ) {
754 retVal.add("MSH");
755 retVal.add("EVN");
756 retVal.add("PID");
757 retVal.add("PD1");
758 retVal.add("NK1");
759 retVal.add("PV1");
760 retVal.add("PV2");
761 retVal.add("DB1");
762 retVal.add("OBX");
763 retVal.add("AL1");
764 retVal.add("DG1");
765 retVal.add("DRG");
766 retVal.add("PR1ROL");
767 retVal.add("GT1");
768 retVal.add("IN1IN2IN3");
769 retVal.add("ACC");
770 retVal.add("UB1");
771 retVal.add("UB2");
772 }
773 if ( "ADT_A14".equals(theStructure) ) {
774 retVal.add("MSH");
775 retVal.add("EVN");
776 retVal.add("PID");
777 retVal.add("PD1");
778 retVal.add("NK1");
779 retVal.add("PV1");
780 retVal.add("PV2");
781 retVal.add("DB1");
782 retVal.add("OBX");
783 retVal.add("AL1");
784 retVal.add("DG1");
785 retVal.add("DRG");
786 retVal.add("PR1ROL");
787 retVal.add("GT1");
788 retVal.add("IN1IN2IN3");
789 retVal.add("ACC");
790 retVal.add("UB1");
791 retVal.add("UB2");
792 }
793 if ( "ADT_A15".equals(theStructure) ) {
794 retVal.add("MSH");
795 retVal.add("EVN");
796 retVal.add("PID");
797 retVal.add("PD1");
798 retVal.add("PV1");
799 retVal.add("PV2");
800 retVal.add("DB1");
801 retVal.add("OBX");
802 retVal.add("DG1");
803 }
804 if ( "ADT_A16".equals(theStructure) ) {
805 retVal.add("MSH");
806 retVal.add("EVN");
807 retVal.add("PID");
808 retVal.add("PD1");
809 retVal.add("PV1");
810 retVal.add("PV2");
811 retVal.add("DB1");
812 retVal.add("OBX");
813 retVal.add("DG1");
814 retVal.add("DRG");
815 }
816 if ( "ADT_A17".equals(theStructure) ) {
817 retVal.add("MSH");
818 retVal.add("EVN");
819 retVal.add("PID");
820 retVal.add("PD1");
821 retVal.add("PV1");
822 retVal.add("PV2");
823 retVal.add("DB1");
824 retVal.add("OBX");
825 retVal.add("PID2");
826 retVal.add("PD12");
827 retVal.add("PV12");
828 retVal.add("PV22");
829 retVal.add("DB12");
830 retVal.add("OBX2");
831 }
832 if ( "ADT_A18".equals(theStructure) ) {
833 retVal.add("MSH");
834 retVal.add("EVN");
835 retVal.add("PID");
836 retVal.add("PD1");
837 retVal.add("MRG");
838 retVal.add("PV1");
839 }
840 if ( "ADT_A20".equals(theStructure) ) {
841 retVal.add("MSH");
842 retVal.add("EVN");
843 retVal.add("NPU");
844 }
845 if ( "ADT_A21".equals(theStructure) ) {
846 retVal.add("MSH");
847 retVal.add("EVN");
848 retVal.add("PID");
849 retVal.add("PD1");
850 retVal.add("PV1");
851 retVal.add("PV2");
852 retVal.add("DB1");
853 retVal.add("OBX");
854 }
855 if ( "ADT_A22".equals(theStructure) ) {
856 retVal.add("MSH");
857 retVal.add("EVN");
858 retVal.add("PID");
859 retVal.add("PD1");
860 retVal.add("PV1");
861 retVal.add("PV2");
862 retVal.add("DB1");
863 retVal.add("OBX");
864 }
865 if ( "ADT_A23".equals(theStructure) ) {
866 retVal.add("MSH");
867 retVal.add("EVN");
868 retVal.add("PID");
869 retVal.add("PD1");
870 retVal.add("PV1");
871 retVal.add("PV2");
872 retVal.add("DB1");
873 retVal.add("OBX");
874 }
875 if ( "ADT_A24".equals(theStructure) ) {
876 retVal.add("MSH");
877 retVal.add("EVN");
878 retVal.add("PID");
879 retVal.add("PD1");
880 retVal.add("PV1");
881 retVal.add("DB1");
882 retVal.add("PID2");
883 retVal.add("PD12");
884 retVal.add("PV12");
885 retVal.add("DB12");
886 }
887 if ( "ADT_A25".equals(theStructure) ) {
888 retVal.add("MSH");
889 retVal.add("EVN");
890 retVal.add("PID");
891 retVal.add("PD1");
892 retVal.add("PV1");
893 retVal.add("PV2");
894 retVal.add("DB1");
895 retVal.add("OBX");
896 }
897 if ( "ADT_A26".equals(theStructure) ) {
898 retVal.add("MSH");
899 retVal.add("EVN");
900 retVal.add("PID");
901 retVal.add("PD1");
902 retVal.add("PV1");
903 retVal.add("PV2");
904 retVal.add("DB1");
905 retVal.add("OBX");
906 }
907 if ( "ADT_A27".equals(theStructure) ) {
908 retVal.add("MSH");
909 retVal.add("EVN");
910 retVal.add("PID");
911 retVal.add("PD1");
912 retVal.add("PV1");
913 retVal.add("PV2");
914 retVal.add("DB1");
915 retVal.add("OBX");
916 }
917 if ( "ADT_A28".equals(theStructure) ) {
918 retVal.add("MSH");
919 retVal.add("EVN");
920 retVal.add("PID");
921 retVal.add("PD1");
922 retVal.add("NK1");
923 retVal.add("PV1");
924 retVal.add("PV2");
925 retVal.add("DB1");
926 retVal.add("OBX");
927 retVal.add("AL1");
928 retVal.add("DG1");
929 retVal.add("DRG");
930 retVal.add("PR1ROL");
931 retVal.add("GT1");
932 retVal.add("IN1IN2IN3");
933 retVal.add("ACC");
934 retVal.add("UB1");
935 retVal.add("UB2");
936 }
937 if ( "ADT_A29".equals(theStructure) ) {
938 retVal.add("MSH");
939 retVal.add("EVN");
940 retVal.add("PID");
941 retVal.add("PD1");
942 retVal.add("PV1");
943 retVal.add("PV2");
944 retVal.add("DB1");
945 retVal.add("OBX");
946 }
947 if ( "ADT_A30".equals(theStructure) ) {
948 retVal.add("MSH");
949 retVal.add("EVN");
950 retVal.add("PID");
951 retVal.add("PD1");
952 retVal.add("MRG");
953 }
954 if ( "ADT_A31".equals(theStructure) ) {
955 retVal.add("MSH");
956 retVal.add("EVN");
957 retVal.add("PID");
958 retVal.add("PD1");
959 retVal.add("NK1");
960 retVal.add("PV1");
961 retVal.add("PV2");
962 retVal.add("DB1");
963 retVal.add("OBX");
964 retVal.add("AL1");
965 retVal.add("DG1");
966 retVal.add("DRG");
967 retVal.add("PR1ROL");
968 retVal.add("GT1");
969 retVal.add("IN1IN2IN3");
970 retVal.add("ACC");
971 retVal.add("UB1");
972 retVal.add("UB2");
973 }
974 if ( "ADT_A32".equals(theStructure) ) {
975 retVal.add("MSH");
976 retVal.add("EVN");
977 retVal.add("PID");
978 retVal.add("PD1");
979 retVal.add("PV1");
980 retVal.add("PV2");
981 retVal.add("DB1");
982 retVal.add("OBX");
983 }
984 if ( "ADT_A33".equals(theStructure) ) {
985 retVal.add("MSH");
986 retVal.add("EVN");
987 retVal.add("PID");
988 retVal.add("PD1");
989 retVal.add("PV1");
990 retVal.add("PV2");
991 retVal.add("DB1");
992 retVal.add("OBX");
993 }
994 if ( "ADT_A34".equals(theStructure) ) {
995 retVal.add("MSH");
996 retVal.add("EVN");
997 retVal.add("PID");
998 retVal.add("PD1");
999 retVal.add("MRG");
1000 }
1001 if ( "ADT_A35".equals(theStructure) ) {
1002 retVal.add("MSH");
1003 retVal.add("EVN");
1004 retVal.add("PID");
1005 retVal.add("PD1");
1006 retVal.add("MRG");
1007 }
1008 if ( "ADT_A36".equals(theStructure) ) {
1009 retVal.add("MSH");
1010 retVal.add("EVN");
1011 retVal.add("PID");
1012 retVal.add("PD1");
1013 retVal.add("MRG");
1014 }
1015 if ( "ADT_A37".equals(theStructure) ) {
1016 retVal.add("MSH");
1017 retVal.add("EVN");
1018 retVal.add("PID");
1019 retVal.add("PD1");
1020 retVal.add("PV1");
1021 retVal.add("DB1");
1022 retVal.add("PID2");
1023 retVal.add("PD12");
1024 retVal.add("PV12");
1025 retVal.add("DB12");
1026 }
1027 if ( "ADT_A38".equals(theStructure) ) {
1028 retVal.add("MSH");
1029 retVal.add("EVN");
1030 retVal.add("PID");
1031 retVal.add("PD1");
1032 retVal.add("PV1");
1033 retVal.add("PV2");
1034 retVal.add("DB1");
1035 retVal.add("OBX");
1036 retVal.add("DG1");
1037 retVal.add("DRG");
1038 }
1039 if ( "ADT_A39".equals(theStructure) ) {
1040 retVal.add("MSH");
1041 retVal.add("EVN");
1042 retVal.add("PIDPD1MRGPV1");
1043 }
1044 if ( "ADT_A40".equals(theStructure) ) {
1045 retVal.add("MSH");
1046 retVal.add("EVN");
1047 retVal.add("PIDPD1MRGPV1");
1048 }
1049 if ( "ADT_A41".equals(theStructure) ) {
1050 retVal.add("MSH");
1051 retVal.add("EVN");
1052 retVal.add("PIDPD1MRGPV1");
1053 }
1054 if ( "ADT_A42".equals(theStructure) ) {
1055 retVal.add("MSH");
1056 retVal.add("EVN");
1057 retVal.add("PIDPD1MRGPV1");
1058 }
1059 if ( "ADT_A43".equals(theStructure) ) {
1060 retVal.add("MSH");
1061 retVal.add("EVN");
1062 retVal.add("PIDPD1MRG");
1063 }
1064 if ( "ADT_A44".equals(theStructure) ) {
1065 retVal.add("MSH");
1066 retVal.add("EVN");
1067 retVal.add("PIDPD1MRG");
1068 }
1069 if ( "ADT_A45".equals(theStructure) ) {
1070 retVal.add("MSH");
1071 retVal.add("EVN");
1072 retVal.add("PID");
1073 retVal.add("PD1");
1074 retVal.add("MRGPV1");
1075 }
1076 if ( "ADT_A46".equals(theStructure) ) {
1077 retVal.add("MSH");
1078 retVal.add("EVN");
1079 retVal.add("PID");
1080 retVal.add("PD1");
1081 retVal.add("MRG");
1082 }
1083 if ( "ADT_A47".equals(theStructure) ) {
1084 retVal.add("MSH");
1085 retVal.add("EVN");
1086 retVal.add("PID");
1087 retVal.add("PD1");
1088 retVal.add("MRG");
1089 }
1090 if ( "ADT_A48".equals(theStructure) ) {
1091 retVal.add("MSH");
1092 retVal.add("EVN");
1093 retVal.add("PID");
1094 retVal.add("PD1");
1095 retVal.add("MRG");
1096 }
1097 if ( "ADT_A49".equals(theStructure) ) {
1098 retVal.add("MSH");
1099 retVal.add("EVN");
1100 retVal.add("PID");
1101 retVal.add("PD1");
1102 retVal.add("MRG");
1103 }
1104 if ( "ADT_A50".equals(theStructure) ) {
1105 retVal.add("MSH");
1106 retVal.add("EVN");
1107 retVal.add("PID");
1108 retVal.add("PD1");
1109 retVal.add("MRG");
1110 retVal.add("PV1");
1111 }
1112 if ( "ADT_A51".equals(theStructure) ) {
1113 retVal.add("MSH");
1114 retVal.add("EVN");
1115 retVal.add("PID");
1116 retVal.add("PD1");
1117 retVal.add("MRG");
1118 retVal.add("PV1");
1119 }
1120 return retVal;
1121 }
1122
1123
1124
1125
1126 public String getVersion() {
1127 return "2.3.1";
1128 }
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141 public MSH getMSH() {
1142 return getTyped("MSH", MSH.class);
1143 }
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157 public EVN getEVN() {
1158 return getTyped("EVN", EVN.class);
1159 }
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173 public PID getPID() {
1174 return getTyped("PID", PID.class);
1175 }
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189 public PD1 getPD1() {
1190 return getTyped("PD1", PD1.class);
1191 }
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205 public MRG getMRG() {
1206 return getTyped("MRG", MRG.class);
1207 }
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222 public NK1 getNK1() {
1223 return getTyped("NK1", NK1.class);
1224 }
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238 public NK1 getNK1(int rep) {
1239 return getTyped("NK1", rep, NK1.class);
1240 }
1241
1242
1243
1244
1245
1246
1247
1248 public int getNK1Reps() {
1249 return getReps("NK1");
1250 }
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262 public java.util.List<NK1> getNK1All() throws HL7Exception {
1263 return getAllAsList("NK1", NK1.class);
1264 }
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274 public void insertNK1(NK1 structure, int rep) throws HL7Exception {
1275 super.insertRepetition( "NK1", structure, rep);
1276 }
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287 public NK1 insertNK1(int rep) throws HL7Exception {
1288 return (NK1)super.insertRepetition("NK1", rep);
1289 }
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300 public NK1 removeNK1(int rep) throws HL7Exception {
1301 return (NK1)super.removeRepetition("NK1", rep);
1302 }
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315 public PV1 getPV1() {
1316 return getTyped("PV1", PV1.class);
1317 }
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331 public PV2 getPV2() {
1332 return getTyped("PV2", PV2.class);
1333 }
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348 public DB1 getDB1() {
1349 return getTyped("DB1", DB1.class);
1350 }
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364 public DB1 getDB1(int rep) {
1365 return getTyped("DB1", rep, DB1.class);
1366 }
1367
1368
1369
1370
1371
1372
1373
1374 public int getDB1Reps() {
1375 return getReps("DB1");
1376 }
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388 public java.util.List<DB1> getDB1All() throws HL7Exception {
1389 return getAllAsList("DB1", DB1.class);
1390 }
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400 public void insertDB1(DB1 structure, int rep) throws HL7Exception {
1401 super.insertRepetition( "DB1", structure, rep);
1402 }
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413 public DB1 insertDB1(int rep) throws HL7Exception {
1414 return (DB1)super.insertRepetition("DB1", rep);
1415 }
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426 public DB1 removeDB1(int rep) throws HL7Exception {
1427 return (DB1)super.removeRepetition("DB1", rep);
1428 }
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442 public OBX getOBX() {
1443 return getTyped("OBX", OBX.class);
1444 }
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458 public OBX getOBX(int rep) {
1459 return getTyped("OBX", rep, OBX.class);
1460 }
1461
1462
1463
1464
1465
1466
1467
1468 public int getOBXReps() {
1469 return getReps("OBX");
1470 }
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482 public java.util.List<OBX> getOBXAll() throws HL7Exception {
1483 return getAllAsList("OBX", OBX.class);
1484 }
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494 public void insertOBX(OBX structure, int rep) throws HL7Exception {
1495 super.insertRepetition( "OBX", structure, rep);
1496 }
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507 public OBX insertOBX(int rep) throws HL7Exception {
1508 return (OBX)super.insertRepetition("OBX", rep);
1509 }
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520 public OBX removeOBX(int rep) throws HL7Exception {
1521 return (OBX)super.removeRepetition("OBX", rep);
1522 }
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536 public AL1 getAL1() {
1537 return getTyped("AL1", AL1.class);
1538 }
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552 public AL1 getAL1(int rep) {
1553 return getTyped("AL1", rep, AL1.class);
1554 }
1555
1556
1557
1558
1559
1560
1561
1562 public int getAL1Reps() {
1563 return getReps("AL1");
1564 }
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576 public java.util.List<AL1> getAL1All() throws HL7Exception {
1577 return getAllAsList("AL1", AL1.class);
1578 }
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588 public void insertAL1(AL1 structure, int rep) throws HL7Exception {
1589 super.insertRepetition( "AL1", structure, rep);
1590 }
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601 public AL1 insertAL1(int rep) throws HL7Exception {
1602 return (AL1)super.insertRepetition("AL1", rep);
1603 }
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614 public AL1 removeAL1(int rep) throws HL7Exception {
1615 return (AL1)super.removeRepetition("AL1", rep);
1616 }
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630 public DG1 getDG1() {
1631 return getTyped("DG1", DG1.class);
1632 }
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646 public DG1 getDG1(int rep) {
1647 return getTyped("DG1", rep, DG1.class);
1648 }
1649
1650
1651
1652
1653
1654
1655
1656 public int getDG1Reps() {
1657 return getReps("DG1");
1658 }
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670 public java.util.List<DG1> getDG1All() throws HL7Exception {
1671 return getAllAsList("DG1", DG1.class);
1672 }
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682 public void insertDG1(DG1 structure, int rep) throws HL7Exception {
1683 super.insertRepetition( "DG1", structure, rep);
1684 }
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695 public DG1 insertDG1(int rep) throws HL7Exception {
1696 return (DG1)super.insertRepetition("DG1", rep);
1697 }
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708 public DG1 removeDG1(int rep) throws HL7Exception {
1709 return (DG1)super.removeRepetition("DG1", rep);
1710 }
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723 public DRG getDRG() {
1724 return getTyped("DRG", DRG.class);
1725 }
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740 public ADT_AXX_PR1ROL getPR1ROL() {
1741 return getTyped("PR1ROL", ADT_AXX_PR1ROL.class);
1742 }
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756 public ADT_AXX_PR1ROL getPR1ROL(int rep) {
1757 return getTyped("PR1ROL", rep, ADT_AXX_PR1ROL.class);
1758 }
1759
1760
1761
1762
1763
1764
1765
1766 public int getPR1ROLReps() {
1767 return getReps("PR1ROL");
1768 }
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780 public java.util.List<ADT_AXX_PR1ROL> getPR1ROLAll() throws HL7Exception {
1781 return getAllAsList("PR1ROL", ADT_AXX_PR1ROL.class);
1782 }
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792 public void insertPR1ROL(ADT_AXX_PR1ROL structure, int rep) throws HL7Exception {
1793 super.insertRepetition( "PR1ROL", structure, rep);
1794 }
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805 public ADT_AXX_PR1ROL insertPR1ROL(int rep) throws HL7Exception {
1806 return (ADT_AXX_PR1ROL)super.insertRepetition("PR1ROL", rep);
1807 }
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818 public ADT_AXX_PR1ROL removePR1ROL(int rep) throws HL7Exception {
1819 return (ADT_AXX_PR1ROL)super.removeRepetition("PR1ROL", rep);
1820 }
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834 public GT1 getGT1() {
1835 return getTyped("GT1", GT1.class);
1836 }
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850 public GT1 getGT1(int rep) {
1851 return getTyped("GT1", rep, GT1.class);
1852 }
1853
1854
1855
1856
1857
1858
1859
1860 public int getGT1Reps() {
1861 return getReps("GT1");
1862 }
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874 public java.util.List<GT1> getGT1All() throws HL7Exception {
1875 return getAllAsList("GT1", GT1.class);
1876 }
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886 public void insertGT1(GT1 structure, int rep) throws HL7Exception {
1887 super.insertRepetition( "GT1", structure, rep);
1888 }
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899 public GT1 insertGT1(int rep) throws HL7Exception {
1900 return (GT1)super.insertRepetition("GT1", rep);
1901 }
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912 public GT1 removeGT1(int rep) throws HL7Exception {
1913 return (GT1)super.removeRepetition("GT1", rep);
1914 }
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928 public ADT_AXX_IN1IN2IN3 getIN1IN2IN3() {
1929 return getTyped("IN1IN2IN3", ADT_AXX_IN1IN2IN3.class);
1930 }
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944 public ADT_AXX_IN1IN2IN3 getIN1IN2IN3(int rep) {
1945 return getTyped("IN1IN2IN3", rep, ADT_AXX_IN1IN2IN3.class);
1946 }
1947
1948
1949
1950
1951
1952
1953
1954 public int getIN1IN2IN3Reps() {
1955 return getReps("IN1IN2IN3");
1956 }
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968 public java.util.List<ADT_AXX_IN1IN2IN3> getIN1IN2IN3All() throws HL7Exception {
1969 return getAllAsList("IN1IN2IN3", ADT_AXX_IN1IN2IN3.class);
1970 }
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980 public void insertIN1IN2IN3(ADT_AXX_IN1IN2IN3 structure, int rep) throws HL7Exception {
1981 super.insertRepetition( "IN1IN2IN3", structure, rep);
1982 }
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993 public ADT_AXX_IN1IN2IN3 insertIN1IN2IN3(int rep) throws HL7Exception {
1994 return (ADT_AXX_IN1IN2IN3)super.insertRepetition("IN1IN2IN3", rep);
1995 }
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006 public ADT_AXX_IN1IN2IN3 removeIN1IN2IN3(int rep) throws HL7Exception {
2007 return (ADT_AXX_IN1IN2IN3)super.removeRepetition("IN1IN2IN3", rep);
2008 }
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021 public ACC getACC() {
2022 return getTyped("ACC", ACC.class);
2023 }
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037 public UB1 getUB1() {
2038 return getTyped("UB1", UB1.class);
2039 }
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053 public UB2 getUB2() {
2054 return getTyped("UB2", UB2.class);
2055 }
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069 public PID getPID2() {
2070 return getTyped("PID2", PID.class);
2071 }
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085 public PD1 getPD12() {
2086 return getTyped("PD12", PD1.class);
2087 }
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101 public PV1 getPV12() {
2102 return getTyped("PV12", PV1.class);
2103 }
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117 public PV2 getPV22() {
2118 return getTyped("PV22", PV2.class);
2119 }
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134 public DB1 getDB12() {
2135 return getTyped("DB12", DB1.class);
2136 }
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150 public DB1 getDB12(int rep) {
2151 return getTyped("DB12", rep, DB1.class);
2152 }
2153
2154
2155
2156
2157
2158
2159
2160 public int getDB12Reps() {
2161 return getReps("DB12");
2162 }
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174 public java.util.List<DB1> getDB12All() throws HL7Exception {
2175 return getAllAsList("DB12", DB1.class);
2176 }
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186 public void insertDB12(DB1 structure, int rep) throws HL7Exception {
2187 super.insertRepetition( "DB12", structure, rep);
2188 }
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199 public DB1 insertDB12(int rep) throws HL7Exception {
2200 return (DB1)super.insertRepetition("DB12", rep);
2201 }
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212 public DB1 removeDB12(int rep) throws HL7Exception {
2213 return (DB1)super.removeRepetition("DB12", rep);
2214 }
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228 public OBX getOBX2() {
2229 return getTyped("OBX2", OBX.class);
2230 }
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244 public OBX getOBX2(int rep) {
2245 return getTyped("OBX2", rep, OBX.class);
2246 }
2247
2248
2249
2250
2251
2252
2253
2254 public int getOBX2Reps() {
2255 return getReps("OBX2");
2256 }
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268 public java.util.List<OBX> getOBX2All() throws HL7Exception {
2269 return getAllAsList("OBX2", OBX.class);
2270 }
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280 public void insertOBX2(OBX structure, int rep) throws HL7Exception {
2281 super.insertRepetition( "OBX2", structure, rep);
2282 }
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293 public OBX insertOBX2(int rep) throws HL7Exception {
2294 return (OBX)super.insertRepetition("OBX2", rep);
2295 }
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306 public OBX removeOBX2(int rep) throws HL7Exception {
2307 return (OBX)super.removeRepetition("OBX2", rep);
2308 }
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321 public NPU getNPU() {
2322 return getTyped("NPU", NPU.class);
2323 }
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338 public ADT_AXX_PIDPD1MRGPV1 getPIDPD1MRGPV1() {
2339 return getTyped("PIDPD1MRGPV1", ADT_AXX_PIDPD1MRGPV1.class);
2340 }
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354 public ADT_AXX_PIDPD1MRGPV1 getPIDPD1MRGPV1(int rep) {
2355 return getTyped("PIDPD1MRGPV1", rep, ADT_AXX_PIDPD1MRGPV1.class);
2356 }
2357
2358
2359
2360
2361
2362
2363
2364 public int getPIDPD1MRGPV1Reps() {
2365 return getReps("PIDPD1MRGPV1");
2366 }
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378 public java.util.List<ADT_AXX_PIDPD1MRGPV1> getPIDPD1MRGPV1All() throws HL7Exception {
2379 return getAllAsList("PIDPD1MRGPV1", ADT_AXX_PIDPD1MRGPV1.class);
2380 }
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390 public void insertPIDPD1MRGPV1(ADT_AXX_PIDPD1MRGPV1 structure, int rep) throws HL7Exception {
2391 super.insertRepetition( "PIDPD1MRGPV1", structure, rep);
2392 }
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403 public ADT_AXX_PIDPD1MRGPV1 insertPIDPD1MRGPV1(int rep) throws HL7Exception {
2404 return (ADT_AXX_PIDPD1MRGPV1)super.insertRepetition("PIDPD1MRGPV1", rep);
2405 }
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416 public ADT_AXX_PIDPD1MRGPV1 removePIDPD1MRGPV1(int rep) throws HL7Exception {
2417 return (ADT_AXX_PIDPD1MRGPV1)super.removeRepetition("PIDPD1MRGPV1", rep);
2418 }
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432 public ADT_AXX_PIDPD1MRG getPIDPD1MRG() {
2433 return getTyped("PIDPD1MRG", ADT_AXX_PIDPD1MRG.class);
2434 }
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448 public ADT_AXX_PIDPD1MRG getPIDPD1MRG(int rep) {
2449 return getTyped("PIDPD1MRG", rep, ADT_AXX_PIDPD1MRG.class);
2450 }
2451
2452
2453
2454
2455
2456
2457
2458 public int getPIDPD1MRGReps() {
2459 return getReps("PIDPD1MRG");
2460 }
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472 public java.util.List<ADT_AXX_PIDPD1MRG> getPIDPD1MRGAll() throws HL7Exception {
2473 return getAllAsList("PIDPD1MRG", ADT_AXX_PIDPD1MRG.class);
2474 }
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484 public void insertPIDPD1MRG(ADT_AXX_PIDPD1MRG structure, int rep) throws HL7Exception {
2485 super.insertRepetition( "PIDPD1MRG", structure, rep);
2486 }
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497 public ADT_AXX_PIDPD1MRG insertPIDPD1MRG(int rep) throws HL7Exception {
2498 return (ADT_AXX_PIDPD1MRG)super.insertRepetition("PIDPD1MRG", rep);
2499 }
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510 public ADT_AXX_PIDPD1MRG removePIDPD1MRG(int rep) throws HL7Exception {
2511 return (ADT_AXX_PIDPD1MRG)super.removeRepetition("PIDPD1MRG", rep);
2512 }
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526 public ADT_AXX_MRGPV1 getMRGPV1() {
2527 return getTyped("MRGPV1", ADT_AXX_MRGPV1.class);
2528 }
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542 public ADT_AXX_MRGPV1 getMRGPV1(int rep) {
2543 return getTyped("MRGPV1", rep, ADT_AXX_MRGPV1.class);
2544 }
2545
2546
2547
2548
2549
2550
2551
2552 public int getMRGPV1Reps() {
2553 return getReps("MRGPV1");
2554 }
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566 public java.util.List<ADT_AXX_MRGPV1> getMRGPV1All() throws HL7Exception {
2567 return getAllAsList("MRGPV1", ADT_AXX_MRGPV1.class);
2568 }
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578 public void insertMRGPV1(ADT_AXX_MRGPV1 structure, int rep) throws HL7Exception {
2579 super.insertRepetition( "MRGPV1", structure, rep);
2580 }
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591 public ADT_AXX_MRGPV1 insertMRGPV1(int rep) throws HL7Exception {
2592 return (ADT_AXX_MRGPV1)super.insertRepetition("MRGPV1", rep);
2593 }
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604 public ADT_AXX_MRGPV1 removeMRGPV1(int rep) throws HL7Exception {
2605 return (ADT_AXX_MRGPV1)super.removeRepetition("MRGPV1", rep);
2606 }
2607
2608
2609
2610 }
2611