Package ca.uhn.hl7v2.model.v251.datatype
Class RPT
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.RPT
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns Calendar Alignment (component 2).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.getEvent()Returns Event (component 8).Returns Event Offset Quantity (component 9).Returns Event Offset Units (component 10).Returns General Timing Specification (component 11).Returns Institution Specified Time (component 7).Returns Period Quantity (component 5).Returns Period Units (component 6).Returns Phase Range Begin Value (component 3).Returns Phase Range End Value (component 4).Returns Repeat Pattern Code (component 1).Returns Repeat Pattern Code (component 1).Returns Event Offset Units (component 10).Returns General Timing Specification (component 11).Returns Calendar Alignment (component 2).Returns Phase Range Begin Value (component 3).Returns Phase Range End Value (component 4).Returns Period Quantity (component 5).Returns Period Units (component 6).Returns Institution Specified Time (component 7).Returns Event (component 8).Returns Event Offset Quantity (component 9).Methods inherited from class ca.uhn.hl7v2.model.AbstractComposite
accept, clear, getTyped, isEmpty, provideLocationMethods inherited from class ca.uhn.hl7v2.model.AbstractType
encode, getExtraComponents, getMessage, getName, parse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
encode, getExtraComponents, getMessage, getName, parse
-
Constructor Details
-
RPT
Creates a new RPT type
-
-
Method Details
-
getComponents
Returns an array containing the data elements. -
getComponent
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
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
Returns Event (component 8). This is a convenience method that saves you from casting and handling an exception. -
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.
-