Class CM_RI

All Implemented Interfaces:
Composite, Type, Visitable, Serializable

public class CM_RI extends AbstractComposite

Represents an HL7 CM_RI (interval) data type. This type consists of the following components:

  • repeat pattern (ST)
  • explicit time intevall (ST)
See Also:
  • Constructor Details

    • CM_RI

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

      public ST getRepeatPattern()
      Returns repeat pattern (component 1). This is a convenience method that saves you from casting and handling an exception.
    • getCm_ri1_RepeatPattern

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

      Returns explicit time intevall (component 2). This is a convenience method that saves you from casting and handling an exception.
    • getCm_ri2_ExplicitTimeIntevall

      Returns explicit time intevall (component 2). This is a convenience method that saves you from casting and handling an exception.