All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CSU extends AbstractComposite

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

  • Channel Sensitivity (NM)
  • Unit of Measure Identifier (ST)
  • Unit of Measure Description (ST)
  • Unit of Measure Coding System (ID)
  • Alternate Unit of Measure Identifier (ST)
  • Alternate Unit of Measure Description (ST)
  • Alternate Unit of Measure Coding System (ID)
See Also:
  • Constructor Details

    • CSU

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

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

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

      Returns Unit of Measure Identifier (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCsu2_UnitOfMeasureIdentifier

      Returns Unit of Measure Identifier (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getUnitOfMeasureDescription

      Returns Unit of Measure Description (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getCsu3_UnitOfMeasureDescription

      Returns Unit of Measure Description (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getUnitOfMeasureCodingSystem

      Returns Unit of Measure Coding System (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getCsu4_UnitOfMeasureCodingSystem

      Returns Unit of Measure Coding System (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getAlternateUnitOfMeasureIdentifier

      Returns Alternate Unit of Measure Identifier (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getCsu5_AlternateUnitOfMeasureIdentifier

      Returns Alternate Unit of Measure Identifier (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getAlternateUnitOfMeasureDescription

      Returns Alternate Unit of Measure Description (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getCsu6_AlternateUnitOfMeasureDescription

      Returns Alternate Unit of Measure Description (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getAlternateUnitOfMeasureCodingSystem

      Returns Alternate Unit of Measure Coding System (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getCsu7_AlternateUnitOfMeasureCodingSystem

      Returns Alternate Unit of Measure Coding System (component 7). This is a convenience method that saves you from casting and handling an exception.