Class CM_RANGE

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_RANGE extends AbstractComposite

Represents an HL7 CM_RANGE (Wertebereich) data type. This type consists of the following components:

  • Low Value (CE)
  • High Value (CE)
See Also:
  • Constructor Details

  • 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.
    • getLowValue

      public CE getLowValue()
      Returns Low Value (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCm_range1_LowValue

      Returns Low Value (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getHighValue

      public CE getHighValue()
      Returns High Value (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_range2_HighValue

      Returns High Value (component 2). This is a convenience method that saves you from casting and handling an exception.