Class CM_RFR

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_RFR extends AbstractComposite

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

  • Reference Range (CM_RANGE)
  • Sex (ID)
  • Age Range (CM_RANGE)
  • Gestational Age Range (CM_RANGE)
  • Species (ST)
  • Race / Subspecies (ID)
  • Text Condition (ST)
See Also:
  • Constructor Details

    • CM_RFR

      public CM_RFR(Message message)
      Creates a new CM_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.
    • getReferenceRange

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

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

      public ID getSex()
      Returns Sex (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_rfr2_Sex

      public ID getCm_rfr2_Sex()
      Returns Sex (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getAgeRange

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

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

      Returns Gestational Age Range (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getCm_rfr4_GestationalAgeRange

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

      public ST getSpecies()
      Returns Species (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getCm_rfr5_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.
    • getCm_rfr6_RaceSubspecies

      Returns Race / Subspecies (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getTextCondition

      public ST getTextCondition()
      Returns Text Condition (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getCm_rfr7_TextCondition

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