private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MSA.class, true, false); this.add(ERR.class, false, false); this.add(NTE.class, false, true); this.add(ORR_O02_RESPONSE.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ORR_O02 - 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(MSA.class, true, false); this.add(ERR.class, false, false); this.add(NTE.class, false, true); this.add(ORR_O02_RESPONSE.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ORR_O02 - this is probably a bug in the source code generator.", e); } }