/** * <p> * Returns the number of existing repetitions of MF_OBS_ATTRIBUTES * </p> * */ public int getMF_OBS_ATTRIBUTESReps() { return getReps("MF_OBS_ATTRIBUTES"); }
/** * <p> * Returns * the first repetition of * MF_OBS_ATTRIBUTES (a Group object) - creates it if necessary * </p> * * */ public MFN_M12_MF_OBS_ATTRIBUTES getMF_OBS_ATTRIBUTES() { return getTyped("MF_OBS_ATTRIBUTES", MFN_M12_MF_OBS_ATTRIBUTES.class); }
/** * Creates a new MFN_M12 message with custom ModelClassFactory. */ public MFN_M12(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_M12_MF_OBS_ATTRIBUTES.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M12 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_OBS_ATTRIBUTES. * <p> * <p> * Note that unlike {@link #getMF_OBS_ATTRIBUTES()}, 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_M12_MF_OBS_ATTRIBUTES> getMF_OBS_ATTRIBUTESAll() throws HL7Exception { return getAllAsList("MF_OBS_ATTRIBUTES", MFN_M12_MF_OBS_ATTRIBUTES.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MFI.class, true, false); this.add(MFN_M12_MF_OBS_ATTRIBUTES.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M12 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_OBS_ATTRIBUTES. * <p> * <p> * Note that unlike {@link #getMF_OBS_ATTRIBUTES()}, 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_M12_MF_OBS_ATTRIBUTES> getMF_OBS_ATTRIBUTESAll() throws HL7Exception { return getAllAsList("MF_OBS_ATTRIBUTES", MFN_M12_MF_OBS_ATTRIBUTES.class); }
/** * <p> * Returns * the first repetition of * MF_OBS_ATTRIBUTES (a Group object) - creates it if necessary * </p> * * */ public MFN_M12_MF_OBS_ATTRIBUTES getMF_OBS_ATTRIBUTES() { return getTyped("MF_OBS_ATTRIBUTES", MFN_M12_MF_OBS_ATTRIBUTES.class); }
/** * <p> * Returns the number of existing repetitions of MF_OBS_ATTRIBUTES * </p> * */ public int getMF_OBS_ATTRIBUTESReps() { return getReps("MF_OBS_ATTRIBUTES"); }
/** * Creates a new MFN_M12 message with custom ModelClassFactory. */ public MFN_M12(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * MFI (Master File Identification) - creates it if necessary * </p> * * */ public MFI getMFI() { return getTyped("MFI", MFI.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * MFI (Master File Identification) - creates it if necessary * </p> * * */ public MFI getMFI() { return getTyped("MFI", MFI.class); }
/** * <p> * Returns a specific repetition of * MF_OBS_ATTRIBUTES (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_M12_MF_OBS_ATTRIBUTES getMF_OBS_ATTRIBUTES(int rep) { return getTyped("MF_OBS_ATTRIBUTES", rep, MFN_M12_MF_OBS_ATTRIBUTES.class); }
/** * <p> * Returns a specific repetition of * MF_OBS_ATTRIBUTES (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_M12_MF_OBS_ATTRIBUTES getMF_OBS_ATTRIBUTES(int rep) { return getTyped("MF_OBS_ATTRIBUTES", rep, MFN_M12_MF_OBS_ATTRIBUTES.class); }