/** * <p> * Returns a non-modifiable List containing all current existing repetitions of STUDY_OBSERVATION. * <p> * <p> * Note that unlike {@link #getSTUDY_OBSERVATION()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<CSU_C09_STUDY_OBSERVATION> getSTUDY_OBSERVATIONAll() throws HL7Exception { return getAllAsList("STUDY_OBSERVATION", CSU_C09_STUDY_OBSERVATION.class); }
/** * Returns the number of existing repetitions of STUDY_OBSERVATION */ public int getSTUDY_OBSERVATIONReps() { return getReps("STUDY_OBSERVATION"); }
/** * Returns a specific repetition of * STUDY_OBSERVATION (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 CSU_C09_STUDY_OBSERVATION getSTUDY_OBSERVATION(int rep) { CSU_C09_STUDY_OBSERVATION retVal = getTyped("STUDY_OBSERVATION", rep, CSU_C09_STUDY_OBSERVATION.class); return retVal; }
/** * Creates a new CSU_C09_STUDY_SCHEDULE group */ public CSU_C09_STUDY_SCHEDULE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(CSS.class, false, false, false); this.add(CSU_C09_STUDY_OBSERVATION.class, true, true, false); this.add(CSU_C09_STUDY_PHARM.class, true, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating CSU_C09_STUDY_SCHEDULE - this is probably a bug in the source code generator.", e); } }
/** * Creates a new CSU_C09_STUDY_SCHEDULE group */ public CSU_C09_STUDY_SCHEDULE(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(CSS.class, false, false, false); this.add(CSU_C09_STUDY_OBSERVATION.class, true, true, false); this.add(CSU_C09_STUDY_PHARM.class, true, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating CSU_C09_STUDY_SCHEDULE - this is probably a bug in the source code generator.", e); } }
/** * Returns * CSS (Clinical Study Data Schedule Segment) - creates it if necessary */ public CSS getCSS() { CSS retVal = getTyped("CSS", CSS.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of STUDY_PHARM. * <p> * <p> * Note that unlike {@link #getSTUDY_PHARM()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<CSU_C09_STUDY_PHARM> getSTUDY_PHARMAll() throws HL7Exception { return getAllAsList("STUDY_PHARM", CSU_C09_STUDY_PHARM.class); }
/** * Returns the number of existing repetitions of STUDY_PHARM */ public int getSTUDY_PHARMReps() { return getReps("STUDY_PHARM"); }
/** * Returns * the first repetition of * STUDY_OBSERVATION (a Group object) - creates it if necessary */ public CSU_C09_STUDY_OBSERVATION getSTUDY_OBSERVATION() { CSU_C09_STUDY_OBSERVATION retVal = getTyped("STUDY_OBSERVATION", CSU_C09_STUDY_OBSERVATION.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of STUDY_OBSERVATION. * <p> * <p> * Note that unlike {@link #getSTUDY_OBSERVATION()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<CSU_C09_STUDY_OBSERVATION> getSTUDY_OBSERVATIONAll() throws HL7Exception { return getAllAsList("STUDY_OBSERVATION", CSU_C09_STUDY_OBSERVATION.class); }
/** * Returns the number of existing repetitions of STUDY_OBSERVATION */ public int getSTUDY_OBSERVATIONReps() { return getReps("STUDY_OBSERVATION"); }
/** * Returns a specific repetition of * STUDY_OBSERVATION (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 CSU_C09_STUDY_OBSERVATION getSTUDY_OBSERVATION(int rep) { CSU_C09_STUDY_OBSERVATION retVal = getTyped("STUDY_OBSERVATION", rep, CSU_C09_STUDY_OBSERVATION.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of STUDY_PHARM. * <p> * <p> * Note that unlike {@link #getSTUDY_PHARM()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<CSU_C09_STUDY_PHARM> getSTUDY_PHARMAll() throws HL7Exception { return getAllAsList("STUDY_PHARM", CSU_C09_STUDY_PHARM.class); }
/** * Returns the number of existing repetitions of STUDY_PHARM */ public int getSTUDY_PHARMReps() { return getReps("STUDY_PHARM"); }
/** * Returns a specific repetition of * STUDY_PHARM (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 CSU_C09_STUDY_PHARM getSTUDY_PHARM(int rep) { CSU_C09_STUDY_PHARM retVal = getTyped("STUDY_PHARM", rep, CSU_C09_STUDY_PHARM.class); return retVal; }
/** * Returns * CSS (Clinical Study Data Schedule Segment) - creates it if necessary */ public CSS getCSS() { CSS retVal = getTyped("CSS", CSS.class); return retVal; }
/** * Returns * the first repetition of * STUDY_OBSERVATION (a Group object) - creates it if necessary */ public CSU_C09_STUDY_OBSERVATION getSTUDY_OBSERVATION() { CSU_C09_STUDY_OBSERVATION retVal = getTyped("STUDY_OBSERVATION", CSU_C09_STUDY_OBSERVATION.class); return retVal; }
/** * Returns a specific repetition of * STUDY_PHARM (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 CSU_C09_STUDY_PHARM getSTUDY_PHARM(int rep) { CSU_C09_STUDY_PHARM retVal = getTyped("STUDY_PHARM", rep, CSU_C09_STUDY_PHARM.class); return retVal; }