All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CD extends AbstractComposite

Represents an HL7 CD (Channel Definition) data type. This type consists of the following components:

  • Channel Identifier (WVI)
  • Waveform Source (WVS)
  • Channel Sensitivity/Units (CSU)
  • Channel Calibration Parameters (CCP)
  • Channel Sampling Frequency (NM)
  • Minimum/Maximum Data Values (NR)
See Also:
  • Constructor Details

    • CD

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

      Returns Channel Identifier (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCd1_ChannelIdentifier

      Returns Channel Identifier (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getWaveformSource

      Returns Waveform Source (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCd2_WaveformSource

      Returns Waveform Source (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getChannelSensitivityUnits

      Returns Channel Sensitivity/Units (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getCd3_ChannelSensitivityUnits

      Returns Channel Sensitivity/Units (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getChannelCalibrationParameters

      Returns Channel Calibration Parameters (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getCd4_ChannelCalibrationParameters

      Returns Channel Calibration Parameters (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getChannelSamplingFrequency

      Returns Channel Sampling Frequency (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getCd5_ChannelSamplingFrequency

      Returns Channel Sampling Frequency (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getMinimumMaximumDataValues

      Returns Minimum/Maximum Data Values (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getCd6_MinimumMaximumDataValues

      Returns Minimum/Maximum Data Values (component 6). This is a convenience method that saves you from casting and handling an exception.