Class DIN

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class DIN extends AbstractComposite

Represents an HL7 DIN (activation date) data type. This type consists of the following components:

  • date (TS)
  • institution name (CE)
See Also:
  • Constructor Details

    • DIN

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

      public TS getDate()
      Returns date (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getDin1_Date

      public TS getDin1_Date()
      Returns date (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getInstitutionName

      Returns institution name (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getDin2_InstitutionName

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