All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class SPD extends AbstractComposite

Represents an HL7 SPD (Specialty Description) data type. This type consists of the following components:

  • Specialty Name (ST)
  • Governing Board (ST)
  • Eligible or Certified (ID)
  • Date of Certification (DT)
See Also:
  • Constructor Details

    • SPD

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

      public ST getSpecialtyName()
      Returns Specialty Name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getSpd1_SpecialtyName

      Returns Specialty Name (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getGoverningBoard

      Returns Governing Board (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getSpd2_GoverningBoard

      Returns Governing Board (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getEligibleOrCertified

      Returns Eligible or Certified (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getSpd3_EligibleOrCertified

      Returns Eligible or Certified (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getDateOfCertification

      Returns Date of Certification (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getSpd4_DateOfCertification

      Returns Date of Certification (component 4). This is a convenience method that saves you from casting and handling an exception.