All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class DLT extends AbstractComposite

Represents an HL7 DLT (Delta) data type. This type consists of the following components:

  • Normal Range (NR)
  • Numeric Threshold (NM)
  • Change Computation (ID)
  • Days Retained (NM)
See Also:
  • Constructor Details

    • DLT

      public DLT(Message message)
      Creates a new DLT 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.
    • getNormalRange

      public NR getNormalRange()
      Returns Normal Range (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getDlt1_NormalRange

      Returns Normal Range (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getNumericThreshold

      Returns Numeric Threshold (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getDlt2_NumericThreshold

      Returns Numeric Threshold (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getChangeComputation

      Returns Change Computation (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getDlt3_ChangeComputation

      Returns Change Computation (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getDaysRetained

      public NM getDaysRetained()
      Returns Days Retained (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getDlt4_DaysRetained

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