public class CSU extends CompositeDataType
This data type defines the channel sensitivity (gain) and the units in which it is measured in a waveform result.
Represents an HL7 CSU data type. This data type has the following attributes:
1. Channel Sensitivity (NM)Required
2. Unit of Measure Identifier (ST)Conditional
3. Unit of Measure Description (ST)Conditional
4. Unit of Measure Coding System (ID)Conditional
5. Alternate Unit of Measure Identifier (ST)Optional
6. Alternate Unit of Measure Description (ST)Optional
7. Alternate Unit of Measure Coding System (ID)Conditional
8. Unit of Measure Coding System Version ID (ST)Conditional
9. Alternate Unit of Measure Coding System Version ID (ST)Optional
10. Original Text (ST)Optional
11. Second Alternate Unit of Measure Identifier (ST)Optional
12. Second Alternate Unit of Measure Text (ST)Optional
13. Name of Second Alternate Unit of Measure Coding System (ID)Optional
14. Second Alternate Unit of Measure Coding System Version ID (ST)Conditional
15. Unit of Measure Coding System OID (ST)Conditional
16. Unit of Measure Value Set OID (ST)Optional
17. Unit of Measure Value Set Version ID (DTM)Conditional
18. Alternate Unit of Measure Coding System (ST)Conditional
19. Alternate Unit of Measure Value Set OID (ST)Optional
20. Alternate Unit of Measure Value Set Version ID (DTM)Conditional
21. Alternate Unit of Measure Coding System OID (ST)COnditional
22. Alternate Unit of Measure Value Set OID (ST)Optional
23. Alternate Unit of Measure Value Set Version ID (ST)Conditiobnal
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 |
|---|
CSU()
Default Constructor for CSU
|
CSU(int iComponentType,
IDataTypeMap objIDataTypeMap)
Constructor for CSU class which takes two arguments and
sets the value in the respective member variable.
|
CSU(int iComponentType,
int iMinLength,
int iMaxLength,
java.lang.String strCLength,
IDataTypeMap objIDataTypeMap)
Constructor for CSU class which takes five arguments and
sets the value in the respective member variable.
|
CSU(int iComponentType,
int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int ITableNo,
IDataTypeMap objIDataTypeMap)
Constructor for CSU class which takes six arguments and
sets the value in the respective member variable.
|
CSU(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iComponentType)
Constructor for CSU class which takes four arguments and
sets the value in the respective member variable.
|
CSU(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo,
int iComponentType)
Constructor for CSU 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.
|
ID |
getAlternateUnitOfMeasureCodingSystem()
Returns Alternate Unit of Measure Coding System
|
ST |
getAlternateUnitofMeasureCodingSystemOID()
Returns Alternate Unit of Measure Coding System OID
|
ST |
getAlternateUnitofMeasureCodingSystemVersionID()
Returns Alternate Unit of Measure Coding System Version ID
|
ST |
getAlternateUnitOfMeasureDescription()
Returns Alternate Unit of Measure Description
|
ST |
getAlternateUnitOfMeasureIdentifier()
Returns Alternate Unit of Measure Identifier
|
ST |
getAlternateUnitofMeasureValueSetOID()
Returns Alternate Unit of Measure Value Set OID
|
DTM |
getAlternateUnitofMeasureValueSetVersionID()
Returns Alternate Unit of Measure Value Set Version ID
|
NM |
getChannelSensitivity()
Returns Channel Sensitivity
|
ID |
getNameofSecondAlternateUnitofMeasureCodingSystem()
Returns Name of Second Alternate Unit of Measure Coding System
|
ST |
getOriginalText()
Returns Original Text.
|
ST |
getSecondAlternateUnitofMeasureCodingSystemOID()
Returns Second Alternate Unit of Measure Coding System OID
|
ST |
getSecondAlternateUnitofMeasureCodingSystemVersionID()
Returns Second Alternate Unit of Measure Coding System Version ID
|
ST |
getSecondAlternateUnitofMeasureIdentifier()
Returns Second Alternate Unit of Measure Identifier
|
ST |
getSecondAlternateUnitofMeasureText()
Returns Second Alternate Unit of Measure Text
|
ST |
getSecondAlternateUnitofMeasureValueSetOID()
Returns Second Alternate Unit of Measure Value Set OID
|
ST |
getSecondAlternateUnitofMeasureValueSetVersionID()
Returns Second Alternate Unit of Measure Value Set Version ID
|
ID |
getUnitOfMeasureCodingSystem()
Returns Unit of Measure Coding System
|
ST |
getUnitofMeasureCodingSystemOID()
Returns Unit of Measure Coding System OID
|
ST |
getUnitofMeasureCodingSystemVersionID()
Returns Unit of Measure Coding System Version ID
|
ST |
getUnitOfMeasureDescription()
Returns Unit of Measure Description
|
ST |
getUnitOfMeasureIdentifier()
Returns Unit of Measure Identifier
|
ST |
getUnitofMeasureValueSetOID()
Returns Unit of Measure Value Set OID
|
DTM |
getUnitofMeasureValueSetVersionID()
Returns Unit of Measure Value Set Version ID
|
void |
setAlternateUnitOfMeasureCodingSystem(ID objID)
Sets the Alternate Unit Of Measure Coding System.
|
void |
setAlternateUnitOfMeasureCodingSystem(java.lang.String strAlternateUnitOfMeasureCodingSystem)
Sets the Alternate Unit Of Measure Coding System.
|
void |
setAlternateUnitofMeasureCodingSystemOID(ST objST)
Sets the Alternate Unit of Measure Coding System OID.
|
void |
setAlternateUnitofMeasureCodingSystemOID(java.lang.String strAlternateUnitofMeasureCodingSystemOID)
Sets the Alternate Unit of Measure Coding System OID.
|
void |
setAlternateUnitofMeasureCodingSystemVersionID(ST objST)
Sets the Alternate Unit of Measure Coding System Version ID.
|
void |
setAlternateUnitofMeasureCodingSystemVersionID(java.lang.String strAlternateUnitofMeasureCodingSystemVersionID)
Sets the Alternate Unit of Measure Coding System Version ID.
|
void |
setAlternateUnitOfMeasureDescription(ST objST)
Sets the Alternate Unit Of Measure Description.
|
void |
setAlternateUnitOfMeasureDescription(java.lang.String strAlternateUnitOfMeasureDescription)
Sets the Alternate Unit Of Measure Description.
|
void |
setAlternateUnitOfMeasureIdentifier(ST objST)
Sets the Alternate Unit Of Measure Identifier.
|
void |
setAlternateUnitOfMeasureIdentifier(java.lang.String strAlternateUnitOfMeasureIdentifier)
Sets the Alternate Unit Of Measure Identifier.
|
void |
setAlternateUnitofMeasureValueSetOID(ST objST)
Sets the Alternate Unit of Measure Value Set OID.
|
void |
setAlternateUnitofMeasureValueSetOID(java.lang.String strAlternateUnitofMeasureValueSetOID)
Sets the Alternate Unit of Measure Value Set OID.
|
void |
setAlternateUnitofMeasureValueSetVersionID(DTM objDTM)
Sets the Alternate Unit of Measure Value Set Version ID.
|
void |
setAlternateUnitofMeasureValueSetVersionID(java.lang.String strAlternateUnitofMeasureValueSetVersionID)
Sets the Alternate Unit of Measure Value Set Version ID.
|
void |
setChannelSensitivity(NM objNM)
Sets the Channel Sensitivity.
|
void |
setChannelSensitivity(java.lang.String strChannelSensitivity)
Sets the Channel Sensitivity.
|
void |
setNameofSecondAlternateUnitofMeasureCodingSystem(ID objID)
Sets the Name of Second Alternate Unit of Measure Coding System.
|
void |
setNameofSecondAlternateUnitofMeasureCodingSystem(java.lang.String strNameofSecondAlternateUnitofMeasureCodingSystem)
Sets the Name of Second Alternate Unit of Measure Coding System.
|
void |
setOriginalText(ST objST)
Sets the Original Text.
|
void |
setOriginalText(java.lang.String strOriginalText)
Sets the Original Text.
|
void |
setSecondAlternateUnitofMeasureCodingSystemOID(ST objST)
Sets the Alternate Unit of Measure Coding System OID.
|
void |
setSecondAlternateUnitofMeasureCodingSystemOID(java.lang.String strSecondAlternateUnitofMeasureCodingSystemOID)
Sets the Second Alternate Unit of Measure Coding System OID.
|
void |
setSecondAlternateUnitofMeasureCodingSystemVersionID(ST objST)
Sets the Second Alternate Unit of Measure Coding System Version ID.
|
void |
setSecondAlternateUnitofMeasureCodingSystemVersionID(java.lang.String strSecondAlternateUnitofMeasureCodingSystemVersionID)
Sets the Second Alternate Unit of Measure Coding System Version ID.
|
void |
setSecondAlternateUnitofMeasureIdentifier(ST objST)
Sets the Second Alternate Unit of Measure Identifier.
|
void |
setSecondAlternateUnitofMeasureIdentifier(java.lang.String strSecondAlternateUnitofMeasureIdentifier)
Sets the Second Alternate Unit of Measure Identifier.
|
void |
setSecondAlternateUnitofMeasureText(ST objST)
Sets the Second Alternate Unit of Measure Text.
|
void |
setSecondAlternateUnitofMeasureText(java.lang.String strSecondAlternateUnitofMeasureText)
Sets the Second Alternate Unit of Measure Text.
|
void |
setSecondAlternateUnitofMeasureValueSetOID(ST objST)
Sets the Alternate Unit of Measure Value Set OID.
|
void |
setSecondAlternateUnitofMeasureValueSetOID(java.lang.String strSecondAlternateUnitofMeasureValueSetOID)
Sets the Second Alternate Unit of Measure Value Set OID.
|
void |
setSecondAlternateUnitofMeasureValueSetVersionID(ST objST)
Sets the Alternate Unit of Measure Value Set Version ID.
|
void |
setSecondAlternateUnitofMeasureValueSetVersionID(java.lang.String strSecondAlternateUnitofMeasureValueSetVersionID)
Sets the Second Alternate Unit of Measure Value Set Version ID.
|
void |
setUnitOfMeasureCodingSystem(ID objID)
Sets the Unit Of Measure Coding System.
|
void |
setUnitOfMeasureCodingSystem(java.lang.String strUnitOfMeasureCodingSystem)
Sets the Unit Of Measure Coding System.
|
void |
setUnitofMeasureCodingSystemOID(ST objST)
Sets the Unit of Measure Coding System OID.
|
void |
setUnitofMeasureCodingSystemOID(java.lang.String strUnitofMeasureCodingSystemOID)
Sets the Unit of Measure Coding System OID.
|
void |
setUnitofMeasureCodinSystemVersionID(ST objST)
Sets the Unit of Measure Coding System Version ID.
|
void |
setUnitofMeasureCodinSystemVersionID(java.lang.String strUnitofMeasureCodinSystemVersionID)
Sets the Unit of Measure Coding System Version ID.
|
void |
setUnitOfMeasureDescription(ST objST)
Sets the Unit Of Measure Description.
|
void |
setUnitOfMeasureDescription(java.lang.String strUnitOfMeasureDescription)
Sets the Unit Of Measure Description.
|
void |
setUnitOfMeasureIdentifier(ST objST)
sets the Unit Of Measure Identifier.
|
void |
setUnitOfMeasureIdentifier(java.lang.String strUnitOfMeasureIdentifier)
sets the Unit Of Measure Identifier.
|
void |
setUnitofMeasureValueSetOID(ST objST)
Sets the Unit of Measure Value Set OID.
|
void |
setUnitofMeasureValueSetOID(java.lang.String strUnitofMeasureValueSetOID)
Sets the Unit of Measure Value Set OID.
|
void |
setUnitofMeasureValueSetVersionID(DTM objDTM)
Sets the Unit of Measure Value Set Version ID.
|
void |
setUnitofMeasureValueSetVersionID(java.lang.String strUnitofMeasureValueSetVersionID)
Sets the Unit of Measure Value Set Version ID.
|
boolean |
validate()
The Method validates the Input value,and if validated properly then returns true.
|
copy, dumpDataType, getAttributes, getDataTypeName, getLength, getValue, isPrimitive, read, setValue, write, writeToXMLpublic CSU()
public CSU(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 CSU(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo,
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.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 CSU(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 CSU(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 CSU(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 setChannelSensitivity(java.lang.String strChannelSensitivity)
strChannelSensitivity - Specifies the nominal value that corresponds to one unit in the waveform datapublic void setChannelSensitivity(NM objNM)
objNM - Specifies the nominal value that corresponds to one unit in the waveform datapublic void setUnitOfMeasureIdentifier(java.lang.String strUnitOfMeasureIdentifier)
strUnitOfMeasureIdentifier - Specifies unit designation for the channel sensitivity.public void setUnitOfMeasureIdentifier(ST objST)
objST - Specifies unit designation for the channel sensitivity.public void setUnitOfMeasureDescription(java.lang.String strUnitOfMeasureDescription)
strUnitOfMeasureDescription - Specifies full text name of the unit of measure identifier.public void setUnitOfMeasureDescription(ST objST)
objST - Specifies full text name of the unit of measure identifier.public void setUnitOfMeasureCodingSystem(java.lang.String strUnitOfMeasureCodingSystem)
strUnitOfMeasureCodingSystem - Specifies the designated system of units.public void setUnitOfMeasureCodingSystem(ID objID)
objID - Specifies the designated system of units.public void setAlternateUnitOfMeasureIdentifier(java.lang.String strAlternateUnitOfMeasureIdentifier)
strAlternateUnitOfMeasureIdentifier - Specifies an alternate units designation for the channel sensitivity.public void setAlternateUnitOfMeasureIdentifier(ST objST)
objST - Specifies an alternate units designation for the channel sensitivity.public void setAlternateUnitOfMeasureDescription(java.lang.String strAlternateUnitOfMeasureDescription)
strAlternateUnitOfMeasureDescription - Specifies full text name of the alternate unit of measure identifierpublic void setAlternateUnitOfMeasureDescription(ST objST)
objST - Specifies full text name of the alternate unit of measure identifierpublic void setAlternateUnitOfMeasureCodingSystem(java.lang.String strAlternateUnitOfMeasureCodingSystem)
strAlternateUnitOfMeasureCodingSystem - Specifies the coding system for the alternate unit of measure.public void setAlternateUnitOfMeasureCodingSystem(ID objID)
objString - Specifies the coding system for the alternate unit of measure.public void setUnitofMeasureCodinSystemVersionID(java.lang.String strUnitofMeasureCodinSystemVersionID)
strUnitofMeasureCodinSystemVersionID - Specifies the version of the coding system identified by components 2-4.public void setUnitofMeasureCodinSystemVersionID(ST objST)
objST - Specifies the version of the coding system identified by components 2-4.public void setAlternateUnitofMeasureCodingSystemVersionID(java.lang.String strAlternateUnitofMeasureCodingSystemVersionID)
strAlternateUnitofMeasureCodingSystemVersionID - Specifies version for the coding system identified by components 5-7.public void setAlternateUnitofMeasureCodingSystemVersionID(ST objST)
objST - Specifies version for the coding system identified by components 5-7.public void setOriginalText(java.lang.String strOriginalText)
strOriginalText - Specifies the text as seen and/or selected by the user who entered the data.public void setOriginalText(ST objST)
objST - Specifies the text as seen and/or selected by the user who entered the data.public void setSecondAlternateUnitofMeasureIdentifier(java.lang.String strSecondAlternateUnitofMeasureIdentifier)
strSecondAlternateUnitofMeasureIdentifier - Specifies A sequence of characters that uniquely identifies a second alternate units designation for the channel sensitivity.public void setSecondAlternateUnitofMeasureIdentifier(ST objST)
objST - Specifies A sequence of characters that uniquely identifies a second alternate units designation for the channel sensitivity.public void setSecondAlternateUnitofMeasureText(java.lang.String strSecondAlternateUnitofMeasureText)
strSecondAlternateUnitofMeasureText - Specifies the descriptive or textual name of the second alternate identifier.public void setSecondAlternateUnitofMeasureText(ST objST)
objST - Specifies the descriptive or textual name of the second alternate identifier.public void setNameofSecondAlternateUnitofMeasureCodingSystem(java.lang.String strNameofSecondAlternateUnitofMeasureCodingSystem)
strNameofSecondAlternateUnitofMeasureCodingSystem - Specifies the coding system for the second alternate unit of measure.public void setNameofSecondAlternateUnitofMeasureCodingSystem(ID objID)
objID - Specifies the coding system for the second alternate unit of measure.public void setSecondAlternateUnitofMeasureCodingSystemVersionID(java.lang.String strSecondAlternateUnitofMeasureCodingSystemVersionID)
strSecondAlternateUnitofMeasureCodingSystemVersionID - carries the version for the coding system identified by components 11-13.public void setSecondAlternateUnitofMeasureCodingSystemVersionID(ST objST)
objST - carries the version for the coding system identified by components 11-13.public void setUnitofMeasureCodingSystemOID(java.lang.String strUnitofMeasureCodingSystemOID)
strUnitofMeasureCodingSystemOID - contains the ISO Object Identifier (OID) for the coding system.public void setUnitofMeasureCodingSystemOID(ST objST)
objST - contains the ISO Object Identifier (OID) for the coding system.public void setUnitofMeasureValueSetOID(java.lang.String strUnitofMeasureValueSetOID)
strUnitofMeasureValueSetOID - contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CSU.2 is obtained.public void setUnitofMeasureValueSetOID(ST objST)
objST - contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CSU.2 is obtained.public void setUnitofMeasureValueSetVersionID(java.lang.String strUnitofMeasureValueSetVersionID)
strUnitofMeasureValueSetVersionID - carries the version for the value set identified by CSU.16 and it is a date.public void setUnitofMeasureValueSetVersionID(DTM objDTM)
objDTM - carries the version for the value set identified by CSU.16 and it is a date.public void setAlternateUnitofMeasureCodingSystemOID(java.lang.String strAlternateUnitofMeasureCodingSystemOID)
strAlternateUnitofMeasureCodingSystemOID - contains the ISO Object Identifier (OID) for the coding system or value set named in CSU.7public void setAlternateUnitofMeasureCodingSystemOID(ST objST)
objST - contains the ISO Object Identifier (OID) for the coding system or value set named in CSU.7public void setAlternateUnitofMeasureValueSetOID(java.lang.String strAlternateUnitofMeasureValueSetOID)
strAlternateUnitofMeasureValueSetOID - contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CSU.5 is obtained.public void setAlternateUnitofMeasureValueSetOID(ST objST)
objST - contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CSU.5 is obtained.public void setAlternateUnitofMeasureValueSetVersionID(java.lang.String strAlternateUnitofMeasureValueSetVersionID)
strAlternateUnitofMeasureValueSetVersionID - carries the version for the value set identified by CSU.19 and it is a date.public void setAlternateUnitofMeasureValueSetVersionID(DTM objDTM)
objDTM - carries the version for the value set identified by CSU.19 and it is a date.public void setSecondAlternateUnitofMeasureCodingSystemOID(java.lang.String strSecondAlternateUnitofMeasureCodingSystemOID)
strSecondAlternateUnitofMeasureCodingSystemOID - contains the ISO Object Identifier (OID) for the coding system or value set named in CSU.13.public void setSecondAlternateUnitofMeasureCodingSystemOID(ST objST)
objST - contains the ISO Object Identifier (OID) for the coding system or value set named in CSU.13.public void setSecondAlternateUnitofMeasureValueSetOID(java.lang.String strSecondAlternateUnitofMeasureValueSetOID)
strSecondAlternateUnitofMeasureValueSetOID - contains the ISO Object Identifier (OID) to allow identification of the value set.public void setSecondAlternateUnitofMeasureValueSetOID(ST objST)
objST - contains the ISO Object Identifier (OID) to allow identification of the value set.public void setSecondAlternateUnitofMeasureValueSetVersionID(java.lang.String strSecondAlternateUnitofMeasureValueSetVersionID)
strSecondAlternateUnitofMeasureValueSetVersionID - carries the version for the value set identified by CSU.22 and it is a date.public void setSecondAlternateUnitofMeasureValueSetVersionID(ST objST)
objST - carries the version for the value set identified by CSU.22 and it is a date.public NM getChannelSensitivity()
public ST getUnitOfMeasureIdentifier()
public ST getUnitOfMeasureDescription()
public ID getUnitOfMeasureCodingSystem()
public ST getAlternateUnitOfMeasureIdentifier()
public ST getAlternateUnitOfMeasureDescription()
public ID getAlternateUnitOfMeasureCodingSystem()
public ST getUnitofMeasureCodingSystemVersionID()
public ST getAlternateUnitofMeasureCodingSystemVersionID()
public ST getOriginalText()
public ST getSecondAlternateUnitofMeasureIdentifier()
public ST getSecondAlternateUnitofMeasureText()
public ID getNameofSecondAlternateUnitofMeasureCodingSystem()
public ST getSecondAlternateUnitofMeasureCodingSystemVersionID()
public ST getUnitofMeasureCodingSystemOID()
public ST getUnitofMeasureValueSetOID()
public DTM getUnitofMeasureValueSetVersionID()
public ST getAlternateUnitofMeasureCodingSystemOID()
public ST getAlternateUnitofMeasureValueSetOID()
public DTM getAlternateUnitofMeasureValueSetVersionID()
public ST getSecondAlternateUnitofMeasureCodingSystemOID()
public ST getSecondAlternateUnitofMeasureValueSetOID()
public ST getSecondAlternateUnitofMeasureValueSetVersionID()
public boolean validate()
throws InvalidDataTypeException
validate in interface IDataTypevalidate in class CompositeDataTypeInvalidDataTypeException - - if Invalid values is entered or Mandatory field is missing.public boolean equals(java.lang.Object objObject)
equals in class java.lang.ObjectobjObject - object of Object class.