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