1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.modules.hl7.parser.test.hl7v2.def.v25.message;
17
18 import org.openehealth.ipf.modules.hl7.parser.test.hl7v2.def.v25.segment.ZBE;
19
20 import ca.uhn.hl7v2.HL7Exception;
21 import ca.uhn.hl7v2.parser.ModelClassFactory;
22
23 @SuppressWarnings("serial")
24 public class MDM_T01 extends ca.uhn.hl7v2.model.v25.message.MDM_T01 {
25
26 public MDM_T01() {
27 super();
28 }
29
30 public MDM_T01(ModelClassFactory factory) {
31 super(factory);
32 init(factory);
33 }
34
35
36
37
38
39
40 private void init(ModelClassFactory factory) {
41 try {
42 add(ZBE.class, false, false);
43 } catch (HL7Exception e) {
44 log.error("Unexpected error creating message structure", e);
45 }
46 }
47
48 public ZBE getZBE() {
49 try {
50 return (ZBE) get("ZBE");
51 } catch (HL7Exception e) {
52 throw new RuntimeException(e);
53 }
54 }
55
56 }