Class CM_ABS_RANGE

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_ABS_RANGE extends AbstractComposite

Represents an HL7 CM_ABS_RANGE (absolute range) data type. This type consists of the following components:

  • Range (CM_RANGE)
  • Numeric Change (NM)
  • Percent per Change (NM)
  • Days (NM)
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.
    • getRange

      public CM_RANGE getRange()
      Returns Range (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCm_abs_range1_Range

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

      public NM getNumericChange()
      Returns Numeric Change (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_abs_range2_NumericChange

      Returns Numeric Change (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getPercentPerChange

      Returns Percent per Change (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getCm_abs_range3_PercentPerChange

      Returns Percent per Change (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getDays

      public NM getDays()
      Returns Days (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getCm_abs_range4_Days

      Returns Days (component 4). This is a convenience method that saves you from casting and handling an exception.