public class RI extends AbstractComposite
Represents an HL7 RI (Repeat Interval) data type. This type consists of the following components:
log
Constructor and Description |
---|
RI(Message message)
Creates a new RI type
|
Modifier and Type | Method and Description |
---|---|
Type |
getComponent(int number)
Returns an individual data component.
|
Type[] |
getComponents()
Returns an array containing the data elements.
|
ST |
getExplicitTimeInterval()
Returns Explicit Time Interval (component 2).
|
IS |
getRepeatPattern()
Returns Repeat Pattern (component 1).
|
IS |
getRi1_RepeatPattern()
Returns Repeat Pattern (component 1).
|
ST |
getRi2_ExplicitTimeInterval()
Returns Explicit Time Interval (component 2).
|
accept, clear, getTyped, isEmpty, provideLocation
encode, getExtraComponents, getMessage, getName, parse, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
encode, getExtraComponents, getMessage, getName, parse
public Type[] getComponents()
public Type getComponent(int number) throws DataTypeException
number
- The component number (0-indexed)DataTypeException
- if the given element number is out of range.public IS getRepeatPattern()
public IS getRi1_RepeatPattern()
public ST getExplicitTimeInterval()
public ST getRi2_ExplicitTimeInterval()
Copyright © 2001–2017 University Health Network. All rights reserved.