private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(EVN.class, true, false); this.add(ADT_A39_PATIENT.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A39 - this is probably a bug in the source code generator.", e); } }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(EVN.class, true, false); this.add(ADT_A39_PATIENT.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A39 - this is probably a bug in the source code generator.", e); } }