/** * <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 DB1 */ public int getDB1Reps() { return getReps("DB1"); }
/** * Returns a specific repetition of * GT1 (Guarantor) - 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 GT1 getGT1(int rep) { GT1 retVal = getTyped("GT1", rep, GT1.class); return retVal; }
/** * Creates a new BAR_P05_VISIT group */ public BAR_P05_VISIT(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(PV1.class, false, false, false); this.add(PV2.class, false, false, false); this.add(ROL.class, false, true, false); this.add(DB1.class, false, true, false); this.add(OBX.class, false, true, false); this.add(AL1.class, false, true, false); this.add(DG1.class, false, true, false); this.add(DRG.class, false, false, false); this.add(BAR_P05_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(NK1.class, false, true, false); this.add(BAR_P05_INSURANCE.class, false, true, false); this.add(ACC.class, false, false, false); this.add(UB1.class, false, false, false); this.add(UB2.class, false, false, false); this.add(ABS.class, false, false, false); this.add(BLC.class, false, true, false); this.add(RMI.class, false, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating BAR_P05_VISIT - this is probably a bug in the source code generator.", e); } }
/** * Creates a new BAR_P05_VISIT group */ public BAR_P05_VISIT(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(PV1.class, false, false, false); this.add(PV2.class, false, false, false); this.add(ROL.class, false, true, false); this.add(DB1.class, false, true, false); this.add(OBX.class, false, true, false); this.add(AL1.class, false, true, false); this.add(DG1.class, false, true, false); this.add(DRG.class, false, false, false); this.add(BAR_P05_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(NK1.class, false, true, false); this.add(BAR_P05_INSURANCE.class, false, true, false); this.add(ACC.class, false, false, false); this.add(UB1.class, false, false, false); this.add(UB2.class, false, false, false); this.add(ABS.class, false, false, false); this.add(BLC.class, false, true, false); this.add(RMI.class, false, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating BAR_P05_VISIT - this is probably a bug in the source code generator.", e); } }
/** * Returns a specific repetition of * INSURANCE (a Group object) - 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 BAR_P05_INSURANCE getINSURANCE(int rep) { BAR_P05_INSURANCE retVal = getTyped("INSURANCE", rep, BAR_P05_INSURANCE.class); return retVal; }
/** * Returns the number of existing repetitions of OBX */ public int getOBXReps() { return getReps("OBX"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of AL1. * <p> * <p> * Note that unlike {@link #getAL1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<AL1> getAL1All() throws HL7Exception { return getAllAsList("AL1", AL1.class); }
/** * Returns * ACC (Accident) - creates it if necessary */ public ACC getACC() { ACC retVal = getTyped("ACC", ACC.class); return retVal; }
/** * Returns the number of existing repetitions of AL1 */ public int getAL1Reps() { return getReps("AL1"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PROCEDURE. * <p> * <p> * Note that unlike {@link #getPROCEDURE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<BAR_P05_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", BAR_P05_PROCEDURE.class); }
/** * Returns * the first repetition of * ROL (Role) - creates it if necessary */ public ROL getROL() { ROL retVal = getTyped("ROL", ROL.class); return retVal; }
/** * Returns the number of existing repetitions of PROCEDURE */ public int getPROCEDUREReps() { return getReps("PROCEDURE"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DB1. * <p> * <p> * Note that unlike {@link #getDB1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<DB1> getDB1All() throws HL7Exception { return getAllAsList("DB1", DB1.class); }
/** * Returns a specific repetition of * DB1 (Disability) - 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 DB1 getDB1(int rep) { DB1 retVal = getTyped("DB1", rep, DB1.class); return retVal; }
/** * Returns the number of existing repetitions of NK1 */ public int getNK1Reps() { return getReps("NK1"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of BLC. * <p> * <p> * Note that unlike {@link #getBLC()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<BLC> getBLCAll() throws HL7Exception { return getAllAsList("BLC", BLC.class); }
/** * Returns a specific repetition of * DG1 (Diagnosis) - 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 DG1 getDG1(int rep) { DG1 retVal = getTyped("DG1", rep, DG1.class); return retVal; }