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