Class CM_DIN

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_DIN extends AbstractComposite

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

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

    • CM_DIN

      public CM_DIN(Message message)
      Creates a new CM_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.
    • getCm_din1_Date

      public TS getCm_din1_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.
    • getCm_din2_InstitutionName

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