ca.uhn.hl7v2.model.v24.datatype
Class RFR

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractType
      extended by ca.uhn.hl7v2.model.v24.datatype.RFR
All Implemented Interfaces:
Composite, Type, Serializable

public class RFR
extends AbstractType
implements Composite

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

See Also:
Serialized Form

Constructor Summary
RFR(Message message)
          Creates a new RFR type
 
Method Summary
 IS getAdministrativeSex()
          Returns administrative sex (component #2).
 NR getAgeRange()
          Returns age range (component #3).
 Type getComponent(int number)
          Returns an individual data component.
 Type[] getComponents()
          Returns an array containing the data elements.
 TX getConditions()
          Returns conditions (component #7).
 NR getGestationalRange()
          Returns gestational range (component #4).
 NR getNumericRange()
          Returns numeric range (component #1).
 ST getRaceSubspecies()
          Returns race/subspecies (component #6).
 NR getRfr1_NumericRange()
          Returns numeric range (component #1).
 IS getRfr2_AdministrativeSex()
          Returns administrative sex (component #2).
 NR getRfr3_AgeRange()
          Returns age range (component #3).
 NR getRfr4_GestationalRange()
          Returns gestational range (component #4).
 TX getRfr5_Species()
          Returns species (component #5).
 ST getRfr6_RaceSubspecies()
          Returns race/subspecies (component #6).
 TX getRfr7_Conditions()
          Returns conditions (component #7).
 TX getSpecies()
          Returns species (component #5).
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractType
clear, encode, getExtraComponents, getMessage, getName, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.model.Type
clear, encode, getExtraComponents, getMessage, getName, parse
 

Constructor Detail

RFR

public RFR(Message message)
Creates a new RFR type

Method Detail

getComponents

public Type[] getComponents()
Returns an array containing the data elements.

Specified by:
getComponents in interface Composite

getComponent

public Type getComponent(int number)
                  throws DataTypeException
Returns an individual data component.

Specified by:
getComponent in interface Composite
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

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


getAdministrativeSex

public IS getAdministrativeSex()
Returns administrative sex (component #2). This is a convenience method that saves you from casting and handling an exception.


getRfr2_AdministrativeSex

public IS 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

public NR getGestationalRange()
Returns gestational range (component #4). This is a convenience method that saves you from casting and handling an exception.


getRfr4_GestationalRange

public NR 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

public ST getRaceSubspecies()
Returns race/subspecies (component #6). This is a convenience method that saves you from casting and handling an exception.


getRfr6_RaceSubspecies

public ST 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

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



Copyright © 2001-2011 University Health Network. All Rights Reserved.