All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class RPT extends AbstractComposite

Represents an HL7 RPT (Repeat Pattern) data type. This type consists of the following components:

  • Repeat Pattern Code (CWE)
  • Calendar Alignment (ID)
  • Phase Range Begin Value (NM)
  • Phase Range End Value (NM)
  • Period Quantity (NM)
  • Period Units (IS)
  • Institution Specified Time (ID)
  • Event (ID)
  • Event Offset Quantity (NM)
  • Event Offset Units (IS)
  • General Timing Specification (GTS)
See Also:
  • Constructor Details

    • RPT

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

      Returns Repeat Pattern Code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getRpt1_RepeatPatternCode

      Returns Repeat Pattern Code (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCalendarAlignment

      Returns Calendar Alignment (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getRpt2_CalendarAlignment

      Returns Calendar Alignment (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getPhaseRangeBeginValue

      Returns Phase Range Begin Value (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getRpt3_PhaseRangeBeginValue

      Returns Phase Range Begin Value (component 3). This is a convenience method that saves you from casting and handling an exception.
    • getPhaseRangeEndValue

      Returns Phase Range End Value (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getRpt4_PhaseRangeEndValue

      Returns Phase Range End Value (component 4). This is a convenience method that saves you from casting and handling an exception.
    • getPeriodQuantity

      Returns Period Quantity (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getRpt5_PeriodQuantity

      Returns Period Quantity (component 5). This is a convenience method that saves you from casting and handling an exception.
    • getPeriodUnits

      public IS getPeriodUnits()
      Returns Period Units (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getRpt6_PeriodUnits

      Returns Period Units (component 6). This is a convenience method that saves you from casting and handling an exception.
    • getInstitutionSpecifiedTime

      Returns Institution Specified Time (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getRpt7_InstitutionSpecifiedTime

      Returns Institution Specified Time (component 7). This is a convenience method that saves you from casting and handling an exception.
    • getEvent

      public ID getEvent()
      Returns Event (component 8). This is a convenience method that saves you from casting and handling an exception.
    • getRpt8_Event

      public ID getRpt8_Event()
      Returns Event (component 8). This is a convenience method that saves you from casting and handling an exception.
    • getEventOffsetQuantity

      Returns Event Offset Quantity (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getRpt9_EventOffsetQuantity

      Returns Event Offset Quantity (component 9). This is a convenience method that saves you from casting and handling an exception.
    • getEventOffsetUnits

      Returns Event Offset Units (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getRpt10_EventOffsetUnits

      Returns Event Offset Units (component 10). This is a convenience method that saves you from casting and handling an exception.
    • getGeneralTimingSpecification

      Returns General Timing Specification (component 11). This is a convenience method that saves you from casting and handling an exception.
    • getRpt11_GeneralTimingSpecification

      Returns General Timing Specification (component 11). This is a convenience method that saves you from casting and handling an exception.