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); } }
/** * Returns * MRG-2: "PRIOR ALTERNATE PATIENT ID" - creates it if necessary */ public CK getPRIORALTERNATEPATIENTID() { CK retVal = this.getTypedField(2, 0); return retVal; }
/** * Creates a new MRG segment */ public MRG(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CK(getMessage()); case 1: return new CK(getMessage()); case 2: return new CK(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CK(getMessage()); case 1: return new CK(getMessage()); case 2: return new CK(getMessage()); default: return null; } }
/** * Returns * MRG-3: "PRIOR PATIENT ACCOUNT NUMBER" - creates it if necessary */ public CK getPRIORPATIENTACCOUNTNUMBER() { CK retVal = this.getTypedField(3, 0); return retVal; }
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); } }
/** * Creates a new MRG segment */ public MRG(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * MRG-1: "PRIOR PATIENT ID - INTERNAL" - creates it if necessary */ public CK getPRIORPATIENTIDINTERNAL() { CK retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * MRG-2: "PRIOR ALTERNATE PATIENT ID" - creates it if necessary */ public CK getMrg2_PRIORALTERNATEPATIENTID() { CK retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * MRG-1: "PRIOR PATIENT ID - INTERNAL" - creates it if necessary */ public CK getPRIORPATIENTIDINTERNAL() { CK retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * MRG-1: "PRIOR PATIENT ID - INTERNAL" - creates it if necessary */ public CK getMrg1_PRIORPATIENTIDINTERNAL() { CK retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * MRG-2: "PRIOR ALTERNATE PATIENT ID" - creates it if necessary */ public CK getMrg2_PRIORALTERNATEPATIENTID() { CK retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * MRG-3: "PRIOR PATIENT ACCOUNT NUMBER" - creates it if necessary */ public CK getMrg3_PRIORPATIENTACCOUNTNUMBER() { CK retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * MRG-2: "PRIOR ALTERNATE PATIENT ID" - creates it if necessary */ public CK getPRIORALTERNATEPATIENTID() { CK retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * MRG-3: "PRIOR PATIENT ACCOUNT NUMBER" - creates it if necessary */ public CK getPRIORPATIENTACCOUNTNUMBER() { CK retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * MRG-3: "PRIOR PATIENT ACCOUNT NUMBER" - creates it if necessary */ public CK getMrg3_PRIORPATIENTACCOUNTNUMBER() { CK retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * MRG-1: "PRIOR PATIENT ID - INTERNAL" - creates it if necessary */ public CK getMrg1_PRIORPATIENTIDINTERNAL() { CK retVal = this.getTypedField(1, 0); return retVal; }