Class DLD

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class DLD extends AbstractComposite

Represents an HL7 DLD (discharge location) data type. This type consists of the following components:

  • discharge location (ID)
  • effective date (TS)
See Also:
  • Constructor Details

    • DLD

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

      Returns discharge location (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getDld1_DischargeLocation

      Returns discharge location (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getEffectiveDate

      public TS getEffectiveDate()
      Returns effective date (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getDld2_EffectiveDate

      Returns effective date (component 2). This is a convenience method that saves you from casting and handling an exception.