cdac.medinfo.sdk.hl7282.baselibs.segments

## Class ERQ

- java.lang.Object
- - cdac.medinfo.sdk.hl7282.baselibs.segments.Segment
  - - cdac.medinfo.sdk.hl7282.baselibs.segments.ERQ

- All Implemented Interfaces:
    ISegment

      public class ERQ
      extends Segment

  ERQ - Event Replay Query Segment.

  The ERQ segment is used to issue queries where the desired response is formatted as an event replay response message.

  Represents an HL7 ERQ message segment. This segment has the following fields:

  ERQ-1: Query Tag (ST)Optional
  ERQ-2: Event Identifier (CE)Required
  ERQ-3: Input Parameter List (QIP)Optional

  This class provides mechanism to validate message against HL7 v 2.8.2 standard. The class provides accessors & mutators for the elements mentioned above. The class has validate method which validates Message against HL7 v 2.8.2 standard.

  User can also create Segment through `SegmentFactory`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ERQ()` Constructs a new ERQ Segment

  - ### Method Summary

    - ### Methods inherited from class cdac.medinfo.sdk.hl7282.baselibs.segments.Segment

      `addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, validate, writeToXML`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ERQ

          public ERQ()

      Constructs a new ERQ Segment