/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ROL. * <p> * <p> * Note that unlike {@link #getROL()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<ROL> getROLAll() throws HL7Exception { return getAllAsList("ROL", ROL.class); }
/** * Returns the number of existing repetitions of ROL */ public int getROLReps() { return getReps("ROL"); }
/** * Returns * the first repetition of * IN3 (Insurance Additional Information, Certification) - creates it if necessary */ public IN3 getIN3() { IN3 retVal = getTyped("IN3", IN3.class); return retVal; }
/** * Creates a new ADT_A05_INSURANCE group */ public ADT_A05_INSURANCE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(IN1.class, true, false, false); this.add(IN2.class, false, false, false); this.add(IN3.class, false, true, false); this.add(ROL.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A05_INSURANCE - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADT_A05_INSURANCE group */ public ADT_A05_INSURANCE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(IN1.class, true, false, false); this.add(IN2.class, false, false, false); this.add(IN3.class, false, true, false); this.add(ROL.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADT_A05_INSURANCE - this is probably a bug in the source code generator.", e); } }
/** * Returns * IN2 (Insurance Additional Information) - creates it if necessary */ public IN2 getIN2() { IN2 retVal = getTyped("IN2", IN2.class); return retVal; }
/** * Returns the number of existing repetitions of ROL */ public int getROLReps() { return getReps("ROL"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of IN3. * <p> * <p> * Note that unlike {@link #getIN3()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<IN3> getIN3All() throws HL7Exception { return getAllAsList("IN3", IN3.class); }
/** * Returns a specific repetition of * IN3 (Insurance Additional Information, Certification) - creates it if necessary * * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0) * @throws HL7Exception if the repetition requested is more than one * greater than the number of existing repetitions. */ public IN3 getIN3(int rep) { IN3 retVal = getTyped("IN3", rep, IN3.class); return retVal; }
/** * Returns the number of existing repetitions of IN3 */ public int getIN3Reps() { return getReps("IN3"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ROL. * <p> * <p> * Note that unlike {@link #getROL()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<ROL> getROLAll() throws HL7Exception { return getAllAsList("ROL", ROL.class); }
/** * Returns * IN1 (Insurance) - creates it if necessary */ public IN1 getIN1() { IN1 retVal = getTyped("IN1", IN1.class); return retVal; }
/** * Returns the number of existing repetitions of IN3 */ public int getIN3Reps() { return getReps("IN3"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of IN3. * <p> * <p> * Note that unlike {@link #getIN3()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<IN3> getIN3All() throws HL7Exception { return getAllAsList("IN3", IN3.class); }
/** * Returns * the first repetition of * IN3 (Insurance Additional Information, Certification) - creates it if necessary */ public IN3 getIN3() { IN3 retVal = getTyped("IN3", IN3.class); return retVal; }
/** * Returns * the first repetition of * ROL (Role) - creates it if necessary */ public ROL getROL() { ROL retVal = getTyped("ROL", ROL.class); return retVal; }
/** * Returns * IN1 (Insurance) - creates it if necessary */ public IN1 getIN1() { IN1 retVal = getTyped("IN1", IN1.class); return retVal; }
/** * Returns * the first repetition of * ROL (Role) - creates it if necessary */ public ROL getROL() { ROL retVal = getTyped("ROL", ROL.class); return retVal; }