Package ca.uhn.hl7v2.model.v251.segment
Class TQ1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.TQ1
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 TQ1 message segment (Timing/Quantity). This segment has the following fields:
- TQ1-1: Set ID - TQ1 (SI) optional
- TQ1-2: Quantity (CQ) optional
- TQ1-3: Repeat Pattern (RPT) optional repeating
- TQ1-4: Explicit Time (TM) optional repeating
- TQ1-5: Relative Time and Units (CQ) optional repeating
- TQ1-6: Service Duration (CQ) optional
- TQ1-7: Start date/time (TS) optional
- TQ1-8: End date/time (TS) optional
- TQ1-9: Priority (CWE) optional repeating
- TQ1-10: Condition text (TX) optional
- TQ1-11: Text instruction (TX) optional
- TQ1-12: Conjunction (ID) optional
- TQ1-13: Occurrence duration (CQ) optional
- TQ1-14: Total occurrence's (NM) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns TQ1-10: "Condition text" - creates it if necessaryReturns TQ1-12: "Conjunction" - creates it if necessaryReturns TQ1-8: "End date/time" - creates it if necessaryTM[]Returns all repetitions of Explicit Time (TQ1-4).getExplicitTime(int rep) Returns a specific repetition of TQ1-4: "Explicit Time" - creates it if necessaryintReturns a count of the current number of repetitions of Explicit Time (TQ1-4).Returns TQ1-13: "Occurrence duration" - creates it if necessaryCWE[]Returns all repetitions of Priority (TQ1-9).getPriority(int rep) Returns a specific repetition of TQ1-9: "Priority" - creates it if necessaryintReturns a count of the current number of repetitions of Priority (TQ1-9).Returns TQ1-2: "Quantity" - creates it if necessaryCQ[]Returns all repetitions of Relative Time and Units (TQ1-5).getRelativeTimeAndUnits(int rep) Returns a specific repetition of TQ1-5: "Relative Time and Units" - creates it if necessaryintReturns a count of the current number of repetitions of Relative Time and Units (TQ1-5).RPT[]Returns all repetitions of Repeat Pattern (TQ1-3).getRepeatPattern(int rep) Returns a specific repetition of TQ1-3: "Repeat Pattern" - creates it if necessaryintReturns a count of the current number of repetitions of Repeat Pattern (TQ1-3).Returns TQ1-6: "Service Duration" - creates it if necessaryReturns TQ1-1: "Set ID - TQ1" - creates it if necessaryReturns TQ1-7: "Start date/time" - creates it if necessaryReturns TQ1-11: "Text instruction" - creates it if necessaryReturns TQ1-14: "Total occurrence's" - creates it if necessaryReturns TQ1-1: "Set ID - TQ1" - creates it if necessaryReturns TQ1-10: "Condition text" - creates it if necessaryReturns TQ1-11: "Text instruction" - creates it if necessaryReturns TQ1-12: "Conjunction" - creates it if necessaryReturns TQ1-13: "Occurrence duration" - creates it if necessaryReturns TQ1-14: "Total occurrence's" - creates it if necessaryReturns TQ1-2: "Quantity" - creates it if necessaryRPT[]Returns all repetitions of Repeat Pattern (TQ1-3).getTq13_RepeatPattern(int rep) Returns a specific repetition of TQ1-3: "Repeat Pattern" - creates it if necessaryintReturns a count of the current number of repetitions of Repeat Pattern (TQ1-3).TM[]Returns all repetitions of Explicit Time (TQ1-4).getTq14_ExplicitTime(int rep) Returns a specific repetition of TQ1-4: "Explicit Time" - creates it if necessaryintReturns a count of the current number of repetitions of Explicit Time (TQ1-4).CQ[]Returns all repetitions of Relative Time and Units (TQ1-5).getTq15_RelativeTimeAndUnits(int rep) Returns a specific repetition of TQ1-5: "Relative Time and Units" - creates it if necessaryintReturns a count of the current number of repetitions of Relative Time and Units (TQ1-5).Returns TQ1-6: "Service Duration" - creates it if necessaryReturns TQ1-7: "Start date/time" - creates it if necessaryReturns TQ1-8: "End date/time" - creates it if necessaryCWE[]Returns all repetitions of Priority (TQ1-9).getTq19_Priority(int rep) Returns a specific repetition of TQ1-9: "Priority" - creates it if necessaryintReturns a count of the current number of repetitions of Priority (TQ1-9).insertExplicitTime(int rep) Inserts a repetition of TQ1-4: "Explicit Time" at a specific indexinsertPriority(int rep) Inserts a repetition of TQ1-9: "Priority" at a specific indexinsertRelativeTimeAndUnits(int rep) Inserts a repetition of TQ1-5: "Relative Time and Units" at a specific indexinsertRepeatPattern(int rep) Inserts a repetition of TQ1-3: "Repeat Pattern" at a specific indexinsertTq13_RepeatPattern(int rep) Inserts a repetition of TQ1-3: "Repeat Pattern" at a specific indexinsertTq14_ExplicitTime(int rep) Inserts a repetition of TQ1-4: "Explicit Time" at a specific indexinsertTq15_RelativeTimeAndUnits(int rep) Inserts a repetition of TQ1-5: "Relative Time and Units" at a specific indexinsertTq19_Priority(int rep) Inserts a repetition of TQ1-9: "Priority" at a specific indexremoveExplicitTime(int rep) Removes a repetition of TQ1-4: "Explicit Time" at a specific indexremovePriority(int rep) Removes a repetition of TQ1-9: "Priority" at a specific indexremoveRelativeTimeAndUnits(int rep) Removes a repetition of TQ1-5: "Relative Time and Units" at a specific indexremoveRepeatPattern(int rep) Removes a repetition of TQ1-3: "Repeat Pattern" at a specific indexremoveTq13_RepeatPattern(int rep) Removes a repetition of TQ1-3: "Repeat Pattern" at a specific indexremoveTq14_ExplicitTime(int rep) Removes a repetition of TQ1-4: "Explicit Time" at a specific indexremoveTq15_RelativeTimeAndUnits(int rep) Removes a repetition of TQ1-5: "Relative Time and Units" at a specific indexremoveTq19_Priority(int rep) Removes a repetition of TQ1-9: "Priority" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
TQ1
Creates a new TQ1 segment
-
-
Method Details
-
getSetIDTQ1
Returns TQ1-1: "Set ID - TQ1" - creates it if necessary -
getTq11_SetIDTQ1
Returns TQ1-1: "Set ID - TQ1" - creates it if necessary -
getQuantity
Returns TQ1-2: "Quantity" - creates it if necessary -
getTq12_Quantity
Returns TQ1-2: "Quantity" - creates it if necessary -
getRepeatPattern
Returns all repetitions of Repeat Pattern (TQ1-3). -
getTq13_RepeatPattern
Returns all repetitions of Repeat Pattern (TQ1-3). -
getRepeatPatternReps
Returns a count of the current number of repetitions of Repeat Pattern (TQ1-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRepeatPattern
Returns a specific repetition of TQ1-3: "Repeat Pattern" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq13_RepeatPattern
Returns a specific repetition of TQ1-3: "Repeat Pattern" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq13_RepeatPatternReps
Returns a count of the current number of repetitions of Repeat Pattern (TQ1-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRepeatPattern
Inserts a repetition of TQ1-3: "Repeat Pattern" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertTq13_RepeatPattern
Inserts a repetition of TQ1-3: "Repeat Pattern" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeRepeatPattern
Removes a repetition of TQ1-3: "Repeat Pattern" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeTq13_RepeatPattern
Removes a repetition of TQ1-3: "Repeat Pattern" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getExplicitTime
Returns all repetitions of Explicit Time (TQ1-4). -
getTq14_ExplicitTime
Returns all repetitions of Explicit Time (TQ1-4). -
getExplicitTimeReps
Returns a count of the current number of repetitions of Explicit Time (TQ1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getExplicitTime
Returns a specific repetition of TQ1-4: "Explicit Time" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq14_ExplicitTime
Returns a specific repetition of TQ1-4: "Explicit Time" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq14_ExplicitTimeReps
Returns a count of the current number of repetitions of Explicit Time (TQ1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertExplicitTime
Inserts a repetition of TQ1-4: "Explicit Time" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertTq14_ExplicitTime
Inserts a repetition of TQ1-4: "Explicit Time" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeExplicitTime
Removes a repetition of TQ1-4: "Explicit Time" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeTq14_ExplicitTime
Removes a repetition of TQ1-4: "Explicit Time" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getRelativeTimeAndUnits
Returns all repetitions of Relative Time and Units (TQ1-5). -
getTq15_RelativeTimeAndUnits
Returns all repetitions of Relative Time and Units (TQ1-5). -
getRelativeTimeAndUnitsReps
Returns a count of the current number of repetitions of Relative Time and Units (TQ1-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRelativeTimeAndUnits
Returns a specific repetition of TQ1-5: "Relative Time and Units" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq15_RelativeTimeAndUnits
Returns a specific repetition of TQ1-5: "Relative Time and Units" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq15_RelativeTimeAndUnitsReps
Returns a count of the current number of repetitions of Relative Time and Units (TQ1-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRelativeTimeAndUnits
Inserts a repetition of TQ1-5: "Relative Time and Units" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertTq15_RelativeTimeAndUnits
Inserts a repetition of TQ1-5: "Relative Time and Units" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeRelativeTimeAndUnits
Removes a repetition of TQ1-5: "Relative Time and Units" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeTq15_RelativeTimeAndUnits
Removes a repetition of TQ1-5: "Relative Time and Units" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getServiceDuration
Returns TQ1-6: "Service Duration" - creates it if necessary -
getTq16_ServiceDuration
Returns TQ1-6: "Service Duration" - creates it if necessary -
getStartDateTime
Returns TQ1-7: "Start date/time" - creates it if necessary -
getTq17_StartDateTime
Returns TQ1-7: "Start date/time" - creates it if necessary -
getEndDateTime
Returns TQ1-8: "End date/time" - creates it if necessary -
getTq18_EndDateTime
Returns TQ1-8: "End date/time" - creates it if necessary -
getPriority
Returns all repetitions of Priority (TQ1-9). -
getTq19_Priority
Returns all repetitions of Priority (TQ1-9). -
getPriorityReps
Returns a count of the current number of repetitions of Priority (TQ1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPriority
Returns a specific repetition of TQ1-9: "Priority" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq19_Priority
Returns a specific repetition of TQ1-9: "Priority" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq19_PriorityReps
Returns a count of the current number of repetitions of Priority (TQ1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPriority
Inserts a repetition of TQ1-9: "Priority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertTq19_Priority
Inserts a repetition of TQ1-9: "Priority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removePriority
Removes a repetition of TQ1-9: "Priority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeTq19_Priority
Removes a repetition of TQ1-9: "Priority" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getConditionText
Returns TQ1-10: "Condition text" - creates it if necessary -
getTq110_ConditionText
Returns TQ1-10: "Condition text" - creates it if necessary -
getTextInstruction
Returns TQ1-11: "Text instruction" - creates it if necessary -
getTq111_TextInstruction
Returns TQ1-11: "Text instruction" - creates it if necessary -
getConjunction
Returns TQ1-12: "Conjunction" - creates it if necessary -
getTq112_Conjunction
Returns TQ1-12: "Conjunction" - creates it if necessary -
getOccurrenceDuration
Returns TQ1-13: "Occurrence duration" - creates it if necessary -
getTq113_OccurrenceDuration
Returns TQ1-13: "Occurrence duration" - creates it if necessary -
getTotalOccurrenceS
Returns TQ1-14: "Total occurrence's" - creates it if necessary -
getTq114_TotalOccurrenceS
Returns TQ1-14: "Total occurrence's" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-