Class CM_SPD

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_SPD extends AbstractComposite

Represents an HL7 CM_SPD (Specialty) 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

    • CM_SPD

      public CM_SPD(Message message)
      Creates a new CM_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.
    • getCm_spd1_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.
    • getCm_spd2_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.
    • getCm_spd3_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.
    • getCm_spd4_DateOfCertification

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