/** * <p> * Returns the number of existing repetitions of MF_CLIN_STUDY_SCHED * </p> * */ public int getMF_CLIN_STUDY_SCHEDReps() { return getReps("MF_CLIN_STUDY_SCHED"); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * Creates a new MFN_M07 message with custom ModelClassFactory. */ public MFN_M07(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MFI.class, true, false); this.add(MFN_M07_MF_CLIN_STUDY_SCHED.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M07 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_CLIN_STUDY_SCHED. * <p> * <p> * Note that unlike {@link #getMF_CLIN_STUDY_SCHED()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<MFN_M07_MF_CLIN_STUDY_SCHED> getMF_CLIN_STUDY_SCHEDAll() throws HL7Exception { return getAllAsList("MF_CLIN_STUDY_SCHED", MFN_M07_MF_CLIN_STUDY_SCHED.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MFI.class, true, false); this.add(MFN_M07_MF_CLIN_STUDY_SCHED.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M07 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_CLIN_STUDY_SCHED. * <p> * <p> * Note that unlike {@link #getMF_CLIN_STUDY_SCHED()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<MFN_M07_MF_CLIN_STUDY_SCHED> getMF_CLIN_STUDY_SCHEDAll() throws HL7Exception { return getAllAsList("MF_CLIN_STUDY_SCHED", MFN_M07_MF_CLIN_STUDY_SCHED.class); }
/** * <p> * Returns * MFI (Master File Identification) - creates it if necessary * </p> * * */ public MFI getMFI() { return getTyped("MFI", MFI.class); }
/** * Creates a new MFN_M07 message with custom ModelClassFactory. */ public MFN_M07(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns the number of existing repetitions of MF_CLIN_STUDY_SCHED * </p> * */ public int getMF_CLIN_STUDY_SCHEDReps() { return getReps("MF_CLIN_STUDY_SCHED"); }
/** * <p> * Returns * MFI (Master File Identification) - creates it if necessary * </p> * * */ public MFI getMFI() { return getTyped("MFI", MFI.class); }
/** * <p> * Returns * the first repetition of * MF_CLIN_STUDY_SCHED (a Group object) - creates it if necessary * </p> * * */ public MFN_M07_MF_CLIN_STUDY_SCHED getMF_CLIN_STUDY_SCHED() { return getTyped("MF_CLIN_STUDY_SCHED", MFN_M07_MF_CLIN_STUDY_SCHED.class); }
/** * <p> * Returns a specific repetition of * MF_CLIN_STUDY_SCHED (a Group object) - creates it if necessary * </p> * * * @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 MFN_M07_MF_CLIN_STUDY_SCHED getMF_CLIN_STUDY_SCHED(int rep) { return getTyped("MF_CLIN_STUDY_SCHED", rep, MFN_M07_MF_CLIN_STUDY_SCHED.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * the first repetition of * MF_CLIN_STUDY_SCHED (a Group object) - creates it if necessary * </p> * * */ public MFN_M07_MF_CLIN_STUDY_SCHED getMF_CLIN_STUDY_SCHED() { return getTyped("MF_CLIN_STUDY_SCHED", MFN_M07_MF_CLIN_STUDY_SCHED.class); }
/** * <p> * Returns a specific repetition of * MF_CLIN_STUDY_SCHED (a Group object) - creates it if necessary * </p> * * * @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 MFN_M07_MF_CLIN_STUDY_SCHED getMF_CLIN_STUDY_SCHED(int rep) { return getTyped("MF_CLIN_STUDY_SCHED", rep, MFN_M07_MF_CLIN_STUDY_SCHED.class); }