cdac.medinfo.sdk.hl7282.baselibs.segments

## Class EQL

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

- All Implemented Interfaces:
    ISegment

      public class EQL
      extends Segment

  EQL - embedded query language segment

  The EQL segment is used to define queries using select statements based on the query language of choice.

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

  EQL-1: Query Tag (ST)Optional
  EQL-2: Query/Response Format Code (ID)Required
  EQL-3: EQL Query Name (CE)Required
  EQL-4: EQL Query Statement (ST)Required

  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
    `EQL()` Constructs the EQL 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

    - #### EQL

          public EQL()

      Constructs the EQL Segment.