com.merge.HL7.v260.fields
Class HL7FieldCSU

java.lang.Object
  extended by com.merge.HL7.HL7Field
      extended by com.merge.HL7.v260.fields.HL7FieldCSU

public class HL7FieldCSU
extends HL7Field

This data type defines the channel sensitivity (gain) and the units in which it is measured in a waveform result.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.merge.HL7.HL7Field
HL7Field.FieldFormatter
 
Field Summary
 
Fields inherited from class com.merge.HL7.HL7Field
EMPTY_VALUE, NULL_VALUE
 
Constructor Summary
HL7FieldCSU()
          Creates an empty HL7 CSU type field object.
 
Method Summary
 java.lang.String getAlternateUnitofMeasureCodingSystem()
          Gets the Alternate Unit of Measure Coding System component of this field.
 java.lang.String getAlternateUnitofMeasureDescription()
          Gets the Alternate Unit of Measure Description component of this field.
 java.lang.String getAlternateUnitofMeasureIdentifier()
          Gets the Alternate Unit of Measure Identifier component of this field.
 java.lang.String getChannelSensitivity()
          Gets the Channel Sensitivity component of this field.
 java.lang.String getComponentDescription(int index)
          Gets the description of a component in this field.
 int getComponentLength(int index)
          Gets the maximum number of characters for a component in this field.
 java.lang.String getComponentType(int index)
          Gets the HL7 data type of a component in this field.
 int getMaxSize()
          Gets the number of components defined for this field.
 java.lang.String getTableNo(int index)
          Gets the table identifier of a component in this field.
 java.lang.String getUnitofMeasureCodingSystem()
          Gets the Unit of Measure Coding System component of this field.
 java.lang.String getUnitofMeasureDescription()
          Gets the Unit of Measure Description component of this field.
 java.lang.String getUnitofMeasureIdentifier()
          Gets the Unit of Measure Identifier component of this field.
 boolean isAlternateUnitofMeasureCodingSystemEmpty()
          Tells whether the Alternate Unit of Measure Coding System component has been specified.
 boolean isAlternateUnitofMeasureCodingSystemNull()
          Tells whether the Alternate Unit of Measure Coding System component has a has Null value as defined by HL7.
 boolean isAlternateUnitofMeasureDescriptionEmpty()
          Tells whether the Alternate Unit of Measure Description component has been specified.
 boolean isAlternateUnitofMeasureDescriptionNull()
          Tells whether the Alternate Unit of Measure Description component has a has Null value as defined by HL7.
 boolean isAlternateUnitofMeasureIdentifierEmpty()
          Tells whether the Alternate Unit of Measure Identifier component has been specified.
 boolean isAlternateUnitofMeasureIdentifierNull()
          Tells whether the Alternate Unit of Measure Identifier component has a has Null value as defined by HL7.
 boolean isChannelSensitivityEmpty()
          Tells whether the Channel Sensitivity component has been specified.
 boolean isChannelSensitivityNull()
          Tells whether the Channel Sensitivity component has a has Null value as defined by HL7.
 boolean isComponentMandatory(int index)
          Tells whether a component is mandatory.
 boolean isUnitofMeasureCodingSystemEmpty()
          Tells whether the Unit of Measure Coding System component has been specified.
 boolean isUnitofMeasureCodingSystemNull()
          Tells whether the Unit of Measure Coding System component has a has Null value as defined by HL7.
 boolean isUnitofMeasureDescriptionEmpty()
          Tells whether the Unit of Measure Description component has been specified.
 boolean isUnitofMeasureDescriptionNull()
          Tells whether the Unit of Measure Description component has a has Null value as defined by HL7.
 boolean isUnitofMeasureIdentifierEmpty()
          Tells whether the Unit of Measure Identifier component has been specified.
 boolean isUnitofMeasureIdentifierNull()
          Tells whether the Unit of Measure Identifier component has a has Null value as defined by HL7.
 void setAlternateUnitofMeasureCodingSystem(java.lang.String val)
          Sets the Alternate Unit of Measure Coding System from a string.
 void setAlternateUnitofMeasureDescription(java.lang.String val)
          Sets the Alternate Unit of Measure Description from a string.
 void setAlternateUnitofMeasureIdentifier(java.lang.String val)
          Sets the Alternate Unit of Measure Identifier from a string.
 void setChannelSensitivity(java.lang.String val)
          Sets the Channel Sensitivity from a string.
 void setUnitofMeasureCodingSystem(java.lang.String val)
          Sets the Unit of Measure Coding System from a string.
 void setUnitofMeasureDescription(java.lang.String val)
          Sets the Unit of Measure Description from a string.
 void setUnitofMeasureIdentifier(java.lang.String val)
          Sets the Unit of Measure Identifier from a string.
 
Methods inherited from class com.merge.HL7.HL7Field
clone, createField, createField, getBoolValue, getComponent, getContent, getContent, getContent, getDataType, getDateValue, getDoubleValue, getFieldFormatter, getFieldName, getHL7Version, getIntValue, getMinSize, getValue, getValue, isBasicType, isEmpty, isNull, setComponent, setContent, setContent, setFieldClass, setFormatter, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, size, toAnnotatedString, toAnnotatedString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HL7FieldCSU

public HL7FieldCSU()
Creates an empty HL7 CSU type field object.

Method Detail

getMaxSize

public int getMaxSize()
Gets the number of components defined for this field.

Overrides:
getMaxSize in class HL7Field
Returns:
The maximum number of components.

getComponentType

public java.lang.String getComponentType(int index)
Gets the HL7 data type of a component in this field.

Overrides:
getComponentType in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
A string representing the component's data type.

getComponentDescription

public java.lang.String getComponentDescription(int index)
Gets the description of a component in this field.

Overrides:
getComponentDescription in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
A string representing the component's description.

getComponentLength

public int getComponentLength(int index)
Gets the maximum number of characters for a component in this field.

Overrides:
getComponentLength in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
The maximum length of the component as defined by HL7.

isComponentMandatory

public boolean isComponentMandatory(int index)
Tells whether a component is mandatory.

Overrides:
isComponentMandatory in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
true if the specified component is mandatory.

getTableNo

public java.lang.String getTableNo(int index)
Gets the table identifier of a component in this field.

Overrides:
getTableNo in class HL7Field
Parameters:
index - The one based index of the component.
Returns:
A string representing the table number as defined by HL7 or an empty string if a table number is not defined.

getChannelSensitivity

public java.lang.String getChannelSensitivity()
Gets the Channel Sensitivity component of this field.

Returns:
the Channel Sensitivity value

setChannelSensitivity

public void setChannelSensitivity(java.lang.String val)
Sets the Channel Sensitivity from a string.

Parameters:
val - The value to set for Channel Sensitivity

isChannelSensitivityEmpty

public boolean isChannelSensitivityEmpty()
Tells whether the Channel Sensitivity component has been specified.

Returns:
true if the component is empty.

isChannelSensitivityNull

public boolean isChannelSensitivityNull()
Tells whether the Channel Sensitivity component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

getUnitofMeasureIdentifier

public java.lang.String getUnitofMeasureIdentifier()
Gets the Unit of Measure Identifier component of this field.

Returns:
the Unit of Measure Identifier value

setUnitofMeasureIdentifier

public void setUnitofMeasureIdentifier(java.lang.String val)
Sets the Unit of Measure Identifier from a string.

Parameters:
val - The value to set for Unit of Measure Identifier

isUnitofMeasureIdentifierEmpty

public boolean isUnitofMeasureIdentifierEmpty()
Tells whether the Unit of Measure Identifier component has been specified.

Returns:
true if the component is empty.

isUnitofMeasureIdentifierNull

public boolean isUnitofMeasureIdentifierNull()
Tells whether the Unit of Measure Identifier component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

getUnitofMeasureDescription

public java.lang.String getUnitofMeasureDescription()
Gets the Unit of Measure Description component of this field.

Returns:
the Unit of Measure Description value

setUnitofMeasureDescription

public void setUnitofMeasureDescription(java.lang.String val)
Sets the Unit of Measure Description from a string.

Parameters:
val - The value to set for Unit of Measure Description

isUnitofMeasureDescriptionEmpty

public boolean isUnitofMeasureDescriptionEmpty()
Tells whether the Unit of Measure Description component has been specified.

Returns:
true if the component is empty.

isUnitofMeasureDescriptionNull

public boolean isUnitofMeasureDescriptionNull()
Tells whether the Unit of Measure Description component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

getUnitofMeasureCodingSystem

public java.lang.String getUnitofMeasureCodingSystem()
Gets the Unit of Measure Coding System component of this field.

Returns:
the Unit of Measure Coding System value

setUnitofMeasureCodingSystem

public void setUnitofMeasureCodingSystem(java.lang.String val)
Sets the Unit of Measure Coding System from a string.

Parameters:
val - The value to set for Unit of Measure Coding System

isUnitofMeasureCodingSystemEmpty

public boolean isUnitofMeasureCodingSystemEmpty()
Tells whether the Unit of Measure Coding System component has been specified.

Returns:
true if the component is empty.

isUnitofMeasureCodingSystemNull

public boolean isUnitofMeasureCodingSystemNull()
Tells whether the Unit of Measure Coding System component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

getAlternateUnitofMeasureIdentifier

public java.lang.String getAlternateUnitofMeasureIdentifier()
Gets the Alternate Unit of Measure Identifier component of this field.

Returns:
the Alternate Unit of Measure Identifier value

setAlternateUnitofMeasureIdentifier

public void setAlternateUnitofMeasureIdentifier(java.lang.String val)
Sets the Alternate Unit of Measure Identifier from a string.

Parameters:
val - The value to set for Alternate Unit of Measure Identifier

isAlternateUnitofMeasureIdentifierEmpty

public boolean isAlternateUnitofMeasureIdentifierEmpty()
Tells whether the Alternate Unit of Measure Identifier component has been specified.

Returns:
true if the component is empty.

isAlternateUnitofMeasureIdentifierNull

public boolean isAlternateUnitofMeasureIdentifierNull()
Tells whether the Alternate Unit of Measure Identifier component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

getAlternateUnitofMeasureDescription

public java.lang.String getAlternateUnitofMeasureDescription()
Gets the Alternate Unit of Measure Description component of this field.

Returns:
the Alternate Unit of Measure Description value

setAlternateUnitofMeasureDescription

public void setAlternateUnitofMeasureDescription(java.lang.String val)
Sets the Alternate Unit of Measure Description from a string.

Parameters:
val - The value to set for Alternate Unit of Measure Description

isAlternateUnitofMeasureDescriptionEmpty

public boolean isAlternateUnitofMeasureDescriptionEmpty()
Tells whether the Alternate Unit of Measure Description component has been specified.

Returns:
true if the component is empty.

isAlternateUnitofMeasureDescriptionNull

public boolean isAlternateUnitofMeasureDescriptionNull()
Tells whether the Alternate Unit of Measure Description component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

getAlternateUnitofMeasureCodingSystem

public java.lang.String getAlternateUnitofMeasureCodingSystem()
Gets the Alternate Unit of Measure Coding System component of this field.

Returns:
the Alternate Unit of Measure Coding System value

setAlternateUnitofMeasureCodingSystem

public void setAlternateUnitofMeasureCodingSystem(java.lang.String val)
Sets the Alternate Unit of Measure Coding System from a string.

Parameters:
val - The value to set for Alternate Unit of Measure Coding System

isAlternateUnitofMeasureCodingSystemEmpty

public boolean isAlternateUnitofMeasureCodingSystemEmpty()
Tells whether the Alternate Unit of Measure Coding System component has been specified.

Returns:
true if the component is empty.

isAlternateUnitofMeasureCodingSystemNull

public boolean isAlternateUnitofMeasureCodingSystemNull()
Tells whether the Alternate Unit of Measure Coding System component has a has Null value as defined by HL7.

Returns:
true if the component has the HL7 Null value.

Copyright © 2010 Merge Healthcare Inc. All Rights Reserved.