Class CSU

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CSU extends AbstractComposite

Represents an HL7 CSU (channel sensitivity/units) 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 (IS)
  • alternate unit of measure identifier (ST)
  • alternate unit of measure description (ST)
  • alternate unit of measure coding system (IS)
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.