Class RFR

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class RFR extends AbstractComposite

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

  • numeric range (NR)
  • administrative sex (IS)
  • age range (NR)
  • gestational range (NR)
  • species (TX)
  • race/subspecies (ST)
  • conditions (TX)
See Also:
  • Constructor Details

    • RFR

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

      public NR getNumericRange()
      Returns numeric range (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getRfr1_NumericRange

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

      Returns administrative sex (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getRfr2_AdministrativeSex

      Returns administrative sex (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getAgeRange

      public NR getAgeRange()
      Returns age range (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getRfr3_AgeRange

      public NR getRfr3_AgeRange()
      Returns age range (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getGestationalRange

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

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

      public TX getSpecies()
      Returns species (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getRfr5_Species

      public TX getRfr5_Species()
      Returns species (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getRaceSubspecies

      Returns race/subspecies (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getRfr6_RaceSubspecies

      Returns race/subspecies (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getConditions

      public TX getConditions()
      Returns conditions (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getRfr7_Conditions

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