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.