Package ca.uhn.hl7v2.model.v251.segment
Class TQ2
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.TQ2
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 TQ2 message segment (Timing/Quantity Relationship). This segment has the following fields:
- TQ2-1: Set ID - TQ2 (SI) optional
- TQ2-2: Sequence/Results Flag (ID) optional
- TQ2-3: Related Placer Number (EI) optional repeating
- TQ2-4: Related Filler Number (EI) optional repeating
- TQ2-5: Related Placer Group Number (EI) optional repeating
- TQ2-6: Sequence Condition Code (ID) optional
- TQ2-7: Cyclic Entry/Exit Indicator (ID) optional
- TQ2-8: Sequence Condition Time Interval (CQ) optional
- TQ2-9: Cyclic Group Maximum Number of Repeats (NM) optional
- TQ2-10: Special Service Request Relationship (ID) 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 TQ2-7: "Cyclic Entry/Exit Indicator" - creates it if necessaryReturns TQ2-9: "Cyclic Group Maximum Number of Repeats" - creates it if necessaryEI[]Returns all repetitions of Related Filler Number (TQ2-4).getRelatedFillerNumber(int rep) Returns a specific repetition of TQ2-4: "Related Filler Number" - creates it if necessaryintReturns a count of the current number of repetitions of Related Filler Number (TQ2-4).EI[]Returns all repetitions of Related Placer Group Number (TQ2-5).getRelatedPlacerGroupNumber(int rep) Returns a specific repetition of TQ2-5: "Related Placer Group Number" - creates it if necessaryintReturns a count of the current number of repetitions of Related Placer Group Number (TQ2-5).EI[]Returns all repetitions of Related Placer Number (TQ2-3).getRelatedPlacerNumber(int rep) Returns a specific repetition of TQ2-3: "Related Placer Number" - creates it if necessaryintReturns a count of the current number of repetitions of Related Placer Number (TQ2-3).Returns TQ2-6: "Sequence Condition Code" - creates it if necessaryReturns TQ2-8: "Sequence Condition Time Interval" - creates it if necessaryReturns TQ2-2: "Sequence/Results Flag" - creates it if necessaryReturns TQ2-1: "Set ID - TQ2" - creates it if necessaryReturns TQ2-10: "Special Service Request Relationship" - creates it if necessaryReturns TQ2-1: "Set ID - TQ2" - creates it if necessaryReturns TQ2-10: "Special Service Request Relationship" - creates it if necessaryReturns TQ2-2: "Sequence/Results Flag" - creates it if necessaryEI[]Returns all repetitions of Related Placer Number (TQ2-3).getTq23_RelatedPlacerNumber(int rep) Returns a specific repetition of TQ2-3: "Related Placer Number" - creates it if necessaryintReturns a count of the current number of repetitions of Related Placer Number (TQ2-3).EI[]Returns all repetitions of Related Filler Number (TQ2-4).getTq24_RelatedFillerNumber(int rep) Returns a specific repetition of TQ2-4: "Related Filler Number" - creates it if necessaryintReturns a count of the current number of repetitions of Related Filler Number (TQ2-4).EI[]Returns all repetitions of Related Placer Group Number (TQ2-5).getTq25_RelatedPlacerGroupNumber(int rep) Returns a specific repetition of TQ2-5: "Related Placer Group Number" - creates it if necessaryintReturns a count of the current number of repetitions of Related Placer Group Number (TQ2-5).Returns TQ2-6: "Sequence Condition Code" - creates it if necessaryReturns TQ2-7: "Cyclic Entry/Exit Indicator" - creates it if necessaryReturns TQ2-8: "Sequence Condition Time Interval" - creates it if necessaryReturns TQ2-9: "Cyclic Group Maximum Number of Repeats" - creates it if necessaryinsertRelatedFillerNumber(int rep) Inserts a repetition of TQ2-4: "Related Filler Number" at a specific indexinsertRelatedPlacerGroupNumber(int rep) Inserts a repetition of TQ2-5: "Related Placer Group Number" at a specific indexinsertRelatedPlacerNumber(int rep) Inserts a repetition of TQ2-3: "Related Placer Number" at a specific indexinsertTq23_RelatedPlacerNumber(int rep) Inserts a repetition of TQ2-3: "Related Placer Number" at a specific indexinsertTq24_RelatedFillerNumber(int rep) Inserts a repetition of TQ2-4: "Related Filler Number" at a specific indexinsertTq25_RelatedPlacerGroupNumber(int rep) Inserts a repetition of TQ2-5: "Related Placer Group Number" at a specific indexremoveRelatedFillerNumber(int rep) Removes a repetition of TQ2-4: "Related Filler Number" at a specific indexremoveRelatedPlacerGroupNumber(int rep) Removes a repetition of TQ2-5: "Related Placer Group Number" at a specific indexremoveRelatedPlacerNumber(int rep) Removes a repetition of TQ2-3: "Related Placer Number" at a specific indexremoveTq23_RelatedPlacerNumber(int rep) Removes a repetition of TQ2-3: "Related Placer Number" at a specific indexremoveTq24_RelatedFillerNumber(int rep) Removes a repetition of TQ2-4: "Related Filler Number" at a specific indexremoveTq25_RelatedPlacerGroupNumber(int rep) Removes a repetition of TQ2-5: "Related Placer Group Number" 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
-
TQ2
Creates a new TQ2 segment
-
-
Method Details
-
getSetIDTQ2
Returns TQ2-1: "Set ID - TQ2" - creates it if necessary -
getTq21_SetIDTQ2
Returns TQ2-1: "Set ID - TQ2" - creates it if necessary -
getSequenceResultsFlag
Returns TQ2-2: "Sequence/Results Flag" - creates it if necessary -
getTq22_SequenceResultsFlag
Returns TQ2-2: "Sequence/Results Flag" - creates it if necessary -
getRelatedPlacerNumber
Returns all repetitions of Related Placer Number (TQ2-3). -
getTq23_RelatedPlacerNumber
Returns all repetitions of Related Placer Number (TQ2-3). -
getRelatedPlacerNumberReps
Returns a count of the current number of repetitions of Related Placer Number (TQ2-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRelatedPlacerNumber
Returns a specific repetition of TQ2-3: "Related Placer Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq23_RelatedPlacerNumber
Returns a specific repetition of TQ2-3: "Related Placer Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq23_RelatedPlacerNumberReps
Returns a count of the current number of repetitions of Related Placer Number (TQ2-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRelatedPlacerNumber
Inserts a repetition of TQ2-3: "Related Placer Number" 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)
-
insertTq23_RelatedPlacerNumber
Inserts a repetition of TQ2-3: "Related Placer Number" 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)
-
removeRelatedPlacerNumber
Removes a repetition of TQ2-3: "Related Placer Number" 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)
-
removeTq23_RelatedPlacerNumber
Removes a repetition of TQ2-3: "Related Placer Number" 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)
-
getRelatedFillerNumber
Returns all repetitions of Related Filler Number (TQ2-4). -
getTq24_RelatedFillerNumber
Returns all repetitions of Related Filler Number (TQ2-4). -
getRelatedFillerNumberReps
Returns a count of the current number of repetitions of Related Filler Number (TQ2-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRelatedFillerNumber
Returns a specific repetition of TQ2-4: "Related Filler Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq24_RelatedFillerNumber
Returns a specific repetition of TQ2-4: "Related Filler Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq24_RelatedFillerNumberReps
Returns a count of the current number of repetitions of Related Filler Number (TQ2-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRelatedFillerNumber
Inserts a repetition of TQ2-4: "Related Filler Number" 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)
-
insertTq24_RelatedFillerNumber
Inserts a repetition of TQ2-4: "Related Filler Number" 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)
-
removeRelatedFillerNumber
Removes a repetition of TQ2-4: "Related Filler Number" 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)
-
removeTq24_RelatedFillerNumber
Removes a repetition of TQ2-4: "Related Filler Number" 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)
-
getRelatedPlacerGroupNumber
Returns all repetitions of Related Placer Group Number (TQ2-5). -
getTq25_RelatedPlacerGroupNumber
Returns all repetitions of Related Placer Group Number (TQ2-5). -
getRelatedPlacerGroupNumberReps
Returns a count of the current number of repetitions of Related Placer Group Number (TQ2-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRelatedPlacerGroupNumber
Returns a specific repetition of TQ2-5: "Related Placer Group Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq25_RelatedPlacerGroupNumber
Returns a specific repetition of TQ2-5: "Related Placer Group Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getTq25_RelatedPlacerGroupNumberReps
Returns a count of the current number of repetitions of Related Placer Group Number (TQ2-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRelatedPlacerGroupNumber
Inserts a repetition of TQ2-5: "Related Placer Group Number" 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)
-
insertTq25_RelatedPlacerGroupNumber
Inserts a repetition of TQ2-5: "Related Placer Group Number" 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)
-
removeRelatedPlacerGroupNumber
Removes a repetition of TQ2-5: "Related Placer Group Number" 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)
-
removeTq25_RelatedPlacerGroupNumber
Removes a repetition of TQ2-5: "Related Placer Group Number" 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)
-
getSequenceConditionCode
Returns TQ2-6: "Sequence Condition Code" - creates it if necessary -
getTq26_SequenceConditionCode
Returns TQ2-6: "Sequence Condition Code" - creates it if necessary -
getCyclicEntryExitIndicator
Returns TQ2-7: "Cyclic Entry/Exit Indicator" - creates it if necessary -
getTq27_CyclicEntryExitIndicator
Returns TQ2-7: "Cyclic Entry/Exit Indicator" - creates it if necessary -
getSequenceConditionTimeInterval
Returns TQ2-8: "Sequence Condition Time Interval" - creates it if necessary -
getTq28_SequenceConditionTimeInterval
Returns TQ2-8: "Sequence Condition Time Interval" - creates it if necessary -
getCyclicGroupMaximumNumberOfRepeats
Returns TQ2-9: "Cyclic Group Maximum Number of Repeats" - creates it if necessary -
getTq29_CyclicGroupMaximumNumberOfRepeats
Returns TQ2-9: "Cyclic Group Maximum Number of Repeats" - creates it if necessary -
getSpecialServiceRequestRelationship
Returns TQ2-10: "Special Service Request Relationship" - creates it if necessary -
getTq210_SpecialServiceRequestRelationship
Returns TQ2-10: "Special Service Request Relationship" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-