private void init(ModelClassFactory factory) { try { this.add(CK.class, true, 1, 16, new Object[]{ getMessage() }, "PRIOR PATIENT ID - INTERNAL"); this.add(CK.class, false, 1, 16, new Object[]{ getMessage() }, "PRIOR ALTERNATE PATIENT ID"); this.add(CK.class, false, 1, 20, new Object[]{ getMessage() }, "PRIOR PATIENT ACCOUNT NUMBER"); } catch(HL7Exception e) { log.error("Unexpected error creating MRG - this is probably a bug in the source code generator.", e); } }
private void init(ModelClassFactory factory) { try { this.add(CK.class, true, 1, 16, new Object[]{ getMessage() }, "PRIOR PATIENT ID - INTERNAL"); this.add(CK.class, false, 1, 16, new Object[]{ getMessage() }, "PRIOR ALTERNATE PATIENT ID"); this.add(CK.class, false, 1, 20, new Object[]{ getMessage() }, "PRIOR PATIENT ACCOUNT NUMBER"); } catch(HL7Exception e) { log.error("Unexpected error creating MRG - this is probably a bug in the source code generator.", e); } }