/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PATIENT. * <p> * <p> * Note that unlike {@link #getPATIENT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<CRM_C01_PATIENT> getPATIENTAll() throws HL7Exception { return getAllAsList("PATIENT", CRM_C01_PATIENT.class); }
/** * <p> * Returns the number of existing repetitions of PATIENT * </p> * */ public int getPATIENTReps() { return getReps("PATIENT"); }
/** * <p> * Returns * the first repetition of * PATIENT (a Group object) - creates it if necessary * </p> * * */ public CRM_C01_PATIENT getPATIENT() { return getTyped("PATIENT", CRM_C01_PATIENT.class); }
/** * Creates a new CRM_C01 message with custom ModelClassFactory. */ public CRM_C01(ModelClassFactory factory) { super(factory); init(factory); }
/** * Creates a new CRM_C01 message with custom ModelClassFactory. */ public CRM_C01(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns the number of existing repetitions of PATIENT * </p> * */ public int getPATIENTReps() { return getReps("PATIENT"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PATIENT. * <p> * <p> * Note that unlike {@link #getPATIENT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<CRM_C01_PATIENT> getPATIENTAll() throws HL7Exception { return getAllAsList("PATIENT", CRM_C01_PATIENT.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 * PATIENT (a Group object) - creates it if necessary * </p> * * */ public CRM_C01_PATIENT getPATIENT() { return getTyped("PATIENT", CRM_C01_PATIENT.class); }
/** * <p> * Returns a specific repetition of * PATIENT (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 CRM_C01_PATIENT getPATIENT(int rep) { return getTyped("PATIENT", rep, CRM_C01_PATIENT.class); }
/** * <p> * Returns a specific repetition of * PATIENT (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 CRM_C01_PATIENT getPATIENT(int rep) { return getTyped("PATIENT", rep, CRM_C01_PATIENT.class); }