/** * <p> * Returns the number of existing repetitions of CLOCK_AND_STATS_WITH_NOTES_ALT * </p> * */ public int getCLOCK_AND_STATS_WITH_NOTES_ALTReps() { return getReps("CLOCK_AND_STATS_WITH_NOTES_ALT"); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * Creates a new NMR_N01 message with custom ModelClassFactory. */ public NMR_N01(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MSA.class, true, false); this.add(ERR.class, false, false); this.add(QRD.class, false, false); this.add(NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating NMR_N01 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of CLOCK_AND_STATS_WITH_NOTES_ALT. * <p> * <p> * Note that unlike {@link #getCLOCK_AND_STATS_WITH_NOTES_ALT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT> getCLOCK_AND_STATS_WITH_NOTES_ALTAll() throws HL7Exception { return getAllAsList("CLOCK_AND_STATS_WITH_NOTES_ALT", NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MSA.class, true, false); this.add(ERR.class, false, false); this.add(QRD.class, false, false); this.add(NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating NMR_N01 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of CLOCK_AND_STATS_WITH_NOTES_ALT. * <p> * <p> * Note that unlike {@link #getCLOCK_AND_STATS_WITH_NOTES_ALT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT> getCLOCK_AND_STATS_WITH_NOTES_ALTAll() throws HL7Exception { return getAllAsList("CLOCK_AND_STATS_WITH_NOTES_ALT", NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class); }
/** * <p> * Returns * MSA (Message Acknowledgment) - creates it if necessary * </p> * * */ public MSA getMSA() { return getTyped("MSA", MSA.class); }
/** * <p> * Returns the number of existing repetitions of CLOCK_AND_STATS_WITH_NOTES_ALT * </p> * */ public int getCLOCK_AND_STATS_WITH_NOTES_ALTReps() { return getReps("CLOCK_AND_STATS_WITH_NOTES_ALT"); }
/** * Creates a new NMR_N01 message with custom ModelClassFactory. */ public NMR_N01(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns * ERR (Error) - creates it if necessary * </p> * * */ public ERR getERR() { return getTyped("ERR", ERR.class); }
/** * <p> * Returns * QRD (Original-Style Query Definition) - creates it if necessary * </p> * * */ public QRD getQRD() { return getTyped("QRD", QRD.class); }
/** * <p> * Returns * the first repetition of * CLOCK_AND_STATS_WITH_NOTES_ALT (a Group object) - creates it if necessary * </p> * * */ public NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT getCLOCK_AND_STATS_WITH_NOTES_ALT() { return getTyped("CLOCK_AND_STATS_WITH_NOTES_ALT", NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class); }
/** * <p> * Returns * QRD (Original-Style Query Definition) - creates it if necessary * </p> * * */ public QRD getQRD() { return getTyped("QRD", QRD.class); }
/** * <p> * Returns * the first repetition of * CLOCK_AND_STATS_WITH_NOTES_ALT (a Group object) - creates it if necessary * </p> * * */ public NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT getCLOCK_AND_STATS_WITH_NOTES_ALT() { return getTyped("CLOCK_AND_STATS_WITH_NOTES_ALT", NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * MSA (Message Acknowledgment) - creates it if necessary * </p> * * */ public MSA getMSA() { return getTyped("MSA", MSA.class); }
/** * <p> * Returns * ERR (Error) - creates it if necessary * </p> * * */ public ERR getERR() { return getTyped("ERR", ERR.class); }
/** * <p> * Returns a specific repetition of * CLOCK_AND_STATS_WITH_NOTES_ALT (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 NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT getCLOCK_AND_STATS_WITH_NOTES_ALT(int rep) { return getTyped("CLOCK_AND_STATS_WITH_NOTES_ALT", rep, NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class); }
/** * <p> * Returns a specific repetition of * CLOCK_AND_STATS_WITH_NOTES_ALT (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 NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT getCLOCK_AND_STATS_WITH_NOTES_ALT(int rep) { return getTyped("CLOCK_AND_STATS_WITH_NOTES_ALT", rep, NMR_N01_CLOCK_AND_STATS_WITH_NOTES_ALT.class); }