/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DG1. * <p> * <p> * Note that unlike {@link #getDG1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<DG1> getDG1All() throws HL7Exception { return getAllAsList("DG1", DG1.class); }
/** * Returns the number of existing repetitions of DG1 */ public int getDG1Reps() { return getReps("DG1"); }
/** * Returns * PV2 (Patient visit - additional information) - creates it if necessary */ public PV2 getPV2() { PV2 retVal = getTyped("PV2", PV2.class); return retVal; }
private void init(ModelClassFactory factory) { try { this.add(PID.class, true, false, false); this.add(PV1.class, false, false, false); this.add(PV2.class, false, false, false); this.add(DG1.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating SRR_S01_PATIENT - this is probably a bug in the source code generator.", e); } }
/** * Creates a new SRR_S01_PATIENT group */ public SRR_S01_PATIENT(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(PID.class, true, false, false); this.add(PV1.class, false, false, false); this.add(PV2.class, false, false, false); this.add(DG1.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating SRR_S01_PATIENT - this is probably a bug in the source code generator.", e); } }
/** * Creates a new SRR_S01_PATIENT group */ public SRR_S01_PATIENT(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * PV1 (Patient visit) - creates it if necessary */ public PV1 getPV1() { PV1 retVal = getTyped("PV1", PV1.class); return retVal; }
/** * Returns the number of existing repetitions of DG1 */ public int getDG1Reps() { return getReps("DG1"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of DG1. * <p> * <p> * Note that unlike {@link #getDG1()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<DG1> getDG1All() throws HL7Exception { return getAllAsList("DG1", DG1.class); }
/** * Returns * PV2 (Patient visit - additional information) - creates it if necessary */ public PV2 getPV2() { PV2 retVal = getTyped("PV2", PV2.class); return retVal; }
/** * Returns * PID (Patient identification) - creates it if necessary */ public PID getPID() { PID retVal = getTyped("PID", PID.class); return retVal; }
/** * 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; }
/** * 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; }
/** * Returns * the first repetition of * DG1 (Diagnosis) - creates it if necessary */ public DG1 getDG1() { DG1 retVal = getTyped("DG1", DG1.class); return retVal; }
/** * Returns * PV1 (Patient visit) - creates it if necessary */ public PV1 getPV1() { PV1 retVal = getTyped("PV1", PV1.class); return retVal; }
/** * Returns * the first repetition of * DG1 (Diagnosis) - creates it if necessary */ public DG1 getDG1() { DG1 retVal = getTyped("DG1", DG1.class); return retVal; }
/** * Returns * PID (Patient identification) - creates it if necessary */ public PID getPID() { PID retVal = getTyped("PID", PID.class); return retVal; }