/** * <p> * Returns a non-modifiable List containing all current existing repetitions of NK1. * <p> * <p> * Note that unlike {@link #getNK1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<NK1> getNK1All() throws HL7Exception { return getAllAsList("NK1", NK1.class); }
/** * Returns the number of existing repetitions of DB1 */ public int getDB1Reps() { return getReps("DB1"); }
/** * Returns a specific repetition of * ROL (Role) - 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 ROL getROL(int rep) { ROL retVal = getTyped("ROL", rep, ROL.class); return retVal; }
/** * Creates a new ADR_A19_QUERY_RESPONSE group */ public ADR_A19_QUERY_RESPONSE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(EVN.class, false, false, false); this.add(PID.class, true, false, false); this.add(PD1.class, false, false, false); this.add(ROL.class, false, true, false); this.add(NK1.class, false, true, false); this.add(PV1.class, true, 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(ADR_A19_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(ADR_A19_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); } catch(HL7Exception e) { log.error("Unexpected error creating ADR_A19_QUERY_RESPONSE - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ADR_A19_QUERY_RESPONSE group */ public ADR_A19_QUERY_RESPONSE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(EVN.class, false, false, false); this.add(PID.class, true, false, false); this.add(PD1.class, false, false, false); this.add(ROL.class, false, true, false); this.add(NK1.class, false, true, false); this.add(PV1.class, true, 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(ADR_A19_PROCEDURE.class, false, true, false); this.add(GT1.class, false, true, false); this.add(ADR_A19_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); } catch(HL7Exception e) { log.error("Unexpected error creating ADR_A19_QUERY_RESPONSE - this is probably a bug in the source code generator.", e); } }
/** * 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; }
/** * <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 the number of existing repetitions of OBX */ public int getOBXReps() { return getReps("OBX"); }
/** * Returns * the first repetition of * OBX (Observation/Result) - creates it if necessary */ public OBX getOBX() { OBX retVal = getTyped("OBX", OBX.class); return retVal; }
/** * <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 the number of existing repetitions of AL1 */ public int getAL1Reps() { return getReps("AL1"); }
/** * Returns a specific repetition of * PROCEDURE (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 ADR_A19_PROCEDURE getPROCEDURE(int rep) { ADR_A19_PROCEDURE retVal = getTyped("PROCEDURE", rep, ADR_A19_PROCEDURE.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of GT1. * <p> * <p> * Note that unlike {@link #getGT1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<GT1> getGT1All() throws HL7Exception { return getAllAsList("GT1", GT1.class); }
/** * Returns the number of existing repetitions of DG1 */ public int getDG1Reps() { return getReps("DG1"); }
/** * Returns * the first repetition of * INSURANCE (a Group object) - creates it if necessary */ public ADR_A19_INSURANCE getINSURANCE() { ADR_A19_INSURANCE retVal = getTyped("INSURANCE", ADR_A19_INSURANCE.class); return retVal; }
/** * <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<ADR_A19_PROCEDURE> getPROCEDUREAll() throws HL7Exception { return getAllAsList("PROCEDURE", ADR_A19_PROCEDURE.class); }
/** * Returns the number of existing repetitions of OBX */ public int getOBXReps() { return getReps("OBX"); }
/** * 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 ADR_A19_INSURANCE getINSURANCE(int rep) { ADR_A19_INSURANCE retVal = getTyped("INSURANCE", rep, ADR_A19_INSURANCE.class); return retVal; }