All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class ELD extends AbstractComposite

Represents an HL7 ELD (Error Location and Description) data type. This type consists of the following components:

  • Segment ID (ST)
  • Segment Sequence (NM)
  • Field Position (NM)
  • Code Identifying Error (CE)
See Also:
  • Constructor Details

    • ELD

      public ELD(Message message)
      Creates a new ELD type
  • Method Details

    • getComponents

      public Type[] getComponents()
      Returns an array containing the data elements.
    • getComponent

      public Type getComponent(int number) throws DataTypeException
      Returns an individual data component.
      Parameters:
      number - The component number (0-indexed)
      Throws:
      DataTypeException - if the given element number is out of range.
    • getSegmentID

      public ST getSegmentID()
      Returns Segment ID (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getEld1_SegmentID

      Returns Segment ID (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getSegmentSequence

      Returns Segment Sequence (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getEld2_SegmentSequence

      Returns Segment Sequence (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getFieldPosition

      public NM getFieldPosition()
      Returns Field Position (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getEld3_FieldPosition

      Returns Field Position (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getCodeIdentifyingError

      Returns Code Identifying Error (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getEld4_CodeIdentifyingError

      Returns Code Identifying Error (component 4). This is a convenience method that saves you from casting and handling an exception.