/** * <p> * Returns a non-modifiable List containing all current existing repetitions of NTE. * <p> * <p> * Note that unlike {@link #getNTE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<NTE> getNTEAll() throws HL7Exception { return getAllAsList("NTE", NTE.class); }
/** * <p> * Returns the number of existing repetitions of NTE * </p> * */ public int getNTEReps() { return getReps("NTE"); }
/** * <p> * Returns * the first repetition of * ORDER (a Group object) - creates it if necessary * </p> * * */ public ORM_O01_ORDER getORDER() { return getTyped("ORDER", ORM_O01_ORDER.class); }
/** * Creates a new ORM_O01 message with custom ModelClassFactory. */ public ORM_O01(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(NTE.class, false, true); this.add(ORM_O01_PATIENT.class, false, false); this.add(ORM_O01_ORDER.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating ORM_O01 - this is probably a bug in the source code generator.", e); } }
/** * Creates a new ORM_O01 message with custom ModelClassFactory. */ public ORM_O01(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(NTE.class, false, true); this.add(ORM_O01_PATIENT.class, false, false); this.add(ORM_O01_ORDER.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating ORM_O01 - this is probably a bug in the source code generator.", e); } }
/** * <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 ORDER * </p> * */ public int getORDERReps() { return getReps("ORDER"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ORDER. * <p> * <p> * Note that unlike {@link #getORDER()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ORM_O01_ORDER> getORDERAll() throws HL7Exception { return getAllAsList("ORDER", ORM_O01_ORDER.class); }
/** * <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 NTE * </p> * */ public int getNTEReps() { return getReps("NTE"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of NTE. * <p> * <p> * Note that unlike {@link #getNTE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<NTE> getNTEAll() throws HL7Exception { return getAllAsList("NTE", NTE.class); }
/** * <p> * Returns * PATIENT (a Group object) - creates it if necessary * </p> * * */ public ORM_O01_PATIENT getPATIENT() { return getTyped("PATIENT", ORM_O01_PATIENT.class); }
/** * <p> * Returns the number of existing repetitions of ORDER * </p> * */ public int getORDERReps() { return getReps("ORDER"); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of ORDER. * <p> * <p> * Note that unlike {@link #getORDER()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ORM_O01_ORDER> getORDERAll() throws HL7Exception { return getAllAsList("ORDER", ORM_O01_ORDER.class); }
/** * <p> * Returns * the first repetition of * ORDER (a Group object) - creates it if necessary * </p> * * */ public ORM_O01_ORDER getORDER() { return getTyped("ORDER", ORM_O01_ORDER.class); }
/** * <p> * Returns * the first repetition of * NTE (NOTES AND COMMENTS) - creates it if necessary * </p> * * */ public NTE getNTE() { return getTyped("NTE", NTE.class); }
/** * <p> * Returns * the first repetition of * NTE (NOTES AND COMMENTS) - creates it if necessary * </p> * * */ public NTE getNTE() { return getTyped("NTE", NTE.class); }
/** * <p> * Returns * PATIENT (a Group object) - creates it if necessary * </p> * * */ public ORM_O01_PATIENT getPATIENT() { return getTyped("PATIENT", ORM_O01_PATIENT.class); }