All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class DLD extends AbstractComposite

Represents an HL7 DLD (Discharge Location and Date) data type. This type consists of the following components:

  • Discharge Location (IS)
  • 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.