/** * <p> * Returns the number of existing repetitions of QUERY_RESPONSE * </p> * */ public int getQUERY_RESPONSEReps() { return getReps("QUERY_RESPONSE"); }
/** * <p> * Returns * ERR (Error segment) - creates it if necessary * </p> * * */ public ERR getERR() { return getTyped("ERR", ERR.class); }
/** * Creates a new ADR_A19 message with custom ModelClassFactory. */ public ADR_A19(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of QUERY_RESPONSE. * <p> * <p> * Note that unlike {@link #getQUERY_RESPONSE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ADR_A19_QUERY_RESPONSE> getQUERY_RESPONSEAll() throws HL7Exception { return getAllAsList("QUERY_RESPONSE", ADR_A19_QUERY_RESPONSE.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, true, false); this.add(QRF.class, false, false); this.add(ADR_A19_QUERY_RESPONSE.class, true, true); this.add(DSC.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADR_A19 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of QUERY_RESPONSE. * <p> * <p> * Note that unlike {@link #getQUERY_RESPONSE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<ADR_A19_QUERY_RESPONSE> getQUERY_RESPONSEAll() throws HL7Exception { return getAllAsList("QUERY_RESPONSE", ADR_A19_QUERY_RESPONSE.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, true, false); this.add(QRF.class, false, false); this.add(ADR_A19_QUERY_RESPONSE.class, true, true); this.add(DSC.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating ADR_A19 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns * MSA (Message acknowledgement segment) - creates it if necessary * </p> * * */ public MSA getMSA() { return getTyped("MSA", MSA.class); }
/** * Creates a new ADR_A19 message with custom ModelClassFactory. */ public ADR_A19(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns the number of existing repetitions of QUERY_RESPONSE * </p> * */ public int getQUERY_RESPONSEReps() { return getReps("QUERY_RESPONSE"); }
/** * <p> * Returns * MSH (Message header segment) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * QRD (Query definition segment) - creates it if necessary * </p> * * */ public QRD getQRD() { return getTyped("QRD", QRD.class); }
/** * <p> * Returns * QRF (Query filter segment) - creates it if necessary * </p> * * */ public QRF getQRF() { return getTyped("QRF", QRF.class); }
/** * <p> * Returns * QRD (Query definition segment) - creates it if necessary * </p> * * */ public QRD getQRD() { return getTyped("QRD", QRD.class); }
/** * <p> * Returns * the first repetition of * QUERY_RESPONSE (a Group object) - creates it if necessary * </p> * * */ public ADR_A19_QUERY_RESPONSE getQUERY_RESPONSE() { return getTyped("QUERY_RESPONSE", ADR_A19_QUERY_RESPONSE.class); }
/** * <p> * Returns * DSC (Continuation pointer segment) - creates it if necessary * </p> * * */ public DSC getDSC() { return getTyped("DSC", DSC.class); }
/** * <p> * Returns * the first repetition of * QUERY_RESPONSE (a Group object) - creates it if necessary * </p> * * */ public ADR_A19_QUERY_RESPONSE getQUERY_RESPONSE() { return getTyped("QUERY_RESPONSE", ADR_A19_QUERY_RESPONSE.class); }
/** * <p> * Returns * MSH (Message header segment) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * QRF (Query filter segment) - creates it if necessary * </p> * * */ public QRF getQRF() { return getTyped("QRF", QRF.class); }
/** * <p> * Returns * ERR (Error segment) - creates it if necessary * </p> * * */ public ERR getERR() { return getTyped("ERR", ERR.class); }