public class CD extends CompositeDataType
This data type is used for labeling of digital waveform data
Represents an HL7 CD data type. This data type has the following attributes:
1. channel identifier (WVI)Optional
2. electrode names (WVS)Optional
3. channel sensitivity/units (CSU)Optional
4. calibration parameters (CCP)Optional
5. sampling frequency (NM)Optional
6. minimum/maximum data values (NR)Optional
This class provides accessors & mutators for the elements mentioned above. This class override the equal method, to check whether some other object is "equal to" this one.
User can also create Data Type through DataElementFactory
| Constructor and Description |
|---|
CD()
Default Constructor for CD
|
CD(int iComponentType,
IDataTypeMap objIDataTypeMap)
Constructor for CD class which takes two arguments and
sets the value in the respective member variable.
|
CD(int iComponentType,
int iMinLength,
int iMaxLength,
java.lang.String strCLength,
IDataTypeMap objIDataTypeMap)
Constructor for CD class which takes five arguments and
sets the value in the respective member variable.
|
CD(int iComponentType,
int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int ITableNo,
IDataTypeMap objIDataTypeMap)
Constructor for CD class which takes six arguments and
sets the value in the respective member variable.
|
CD(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iComponentType)
Constructor for CD class which takes four arguments and
sets the value in the respective member variable.
|
CD(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo,
int iComponentType)
Constructor for CD class which takes five arguments and
sets the value in the respective member variable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object objObject)
This method checks the equality of Object.
|
CCP |
getChannelCalibrationParameters()
Returns Channel Calibration Parameters
|
WVI |
getChannelIdentifier()
Returns Channel Identifier
|
NM |
getChannelSamplingFrequency()
Returns Channel Calibration Parameters
|
CSU |
getChannelSensitivityUnits()
Returns Channel Sensitivity Units
|
NR |
getMinimumMaximumDataValues()
Returns Minimum Maximum Data Values
|
WVS |
getWaveformSource()
Returns Waveform Source
|
void |
setChannelCalibrationParameters(CCP objChannelCalibrationParameters)
Sets the Channel Calibration Parameters.
|
void |
setChannelIdentifier(WVI objChannelIdentifier)
Sets the Channel Identifier.
|
void |
setChannelSamplingFrequency(NM objNM)
Sets the Channel Sampling Frequency.
|
void |
setChannelSamplingFrequency(java.lang.String strChannelSamplingFrequency)
Sets the Channel Sampling Frequency.
|
void |
setChannelSensitivityUnits(CSU objSSChannelSensitivityUnits)
Sets the Channel Sensitivity Units.
|
void |
setMinimumMaximumDataValues(NR objMinMaxDataValues)
Sets the Minimum - Maximum Data Values.
|
void |
setWaveformSource(WVS objWaveformSource)
Sets the Waveform Source.
|
copy, dumpDataType, getAttributes, getDataTypeName, getLength, getValue, isPrimitive, read, setValue, validate, write, writeToXMLpublic CD()
public CD(int iMinLength, int iMaxLength, java.lang.String strCLength, int iComponentType) throws InvalidComponentTypeException
iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.iComponentType - The Type of the component i.e Component or a subcomponent.InvalidComponentTypeException - - if Component Type is not specified or valid.public CD(int iMinLength, int iMaxLength, java.lang.String strCLength, int iTableNo, int iComponentType)
iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.iTableNo - The Table number to which the value for the component is specified.iComponentType - The Type of the component i.e Component or a subcomponent.InvalidComponentTypeException - - if Component Type is not specified or valid.public CD(int iComponentType, IDataTypeMap objIDataTypeMap)
objIDataTypeMap - object of Data Type Map.iComponentType - The Type of the component i.e Component or a subcomponent.InvalidComponentTypeException - - if Component Type is not specified or valid.public CD(int iComponentType, int iMinLength, int iMaxLength, java.lang.String strCLength, IDataTypeMap objIDataTypeMap)
objIDataTypeMap - object of Data Type Map.iComponentType - The Type of the component i.e Component or a subcomponent.iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.InvalidComponentTypeException - - if Component Type is not specified or valid.public CD(int iComponentType, int iMinLength, int iMaxLength, java.lang.String strCLength, int ITableNo, IDataTypeMap objIDataTypeMap)
objIDataTypeMap - object of Data Type Map.iComponentType - The Type of the component i.e Component or a subcomponent.iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.iTableNo - The Table number to which the value for the component is specified.InvalidComponentTypeException - - if Component Type is not specified or valid.public void setChannelIdentifier(WVI objChannelIdentifier)
objChannelIdentifier - Specifies the number and name of the recording channel where waveform data is transmitted.public void setWaveformSource(WVS objWaveformSource)
objWaveformSource - Specifies the Waveform Source.public void setChannelSensitivityUnits(CSU objSSChannelSensitivityUnits)
objSSChannelSensitivityUnits - Defines the channel sensitivity (gain) and the units in which it is measured.public void setChannelCalibrationParameters(CCP objChannelCalibrationParameters)
objChannelCalibrationParameters - Specifies the corrections to channel sensitivity, the baseline, and the
channel time skew.public void setChannelSamplingFrequency(java.lang.String strChannelSamplingFrequency)
strChannelSamplingFrequency - Defines the sampling frequency in hertz of the channelpublic void setChannelSamplingFrequency(NM objNM)
objNM - Defines the sampling frequency in hertz of the channelpublic void setMinimumMaximumDataValues(NR objMinMaxDataValues)
objMinMaxDataValues - Specifies the minimum and maximum data values which can occur in this
channel in the digital waveform datapublic WVI getChannelIdentifier()
public WVS getWaveformSource()
public CSU getChannelSensitivityUnits()
public CCP getChannelCalibrationParameters()
public NM getChannelSamplingFrequency()
public NR getMinimumMaximumDataValues()
public boolean equals(java.lang.Object objObject)
equals in class java.lang.ObjectobjObject - object of Object class.