Class DLT

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class DLT extends AbstractComposite

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

  • Range (NR)
  • numeric threshold (NM)
  • change computation (ST)
  • length of time-days (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.
    • getRange

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

      public NR getDlt1_Range()
      Returns 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.
    • getLengthOfTimeDays

      Returns length of time-days (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getDlt4_LengthOfTimeDays

      Returns length of time-days (component 4). This is a convenience method that saves you from casting and handling an exception.