Package ca.uhn.hl7v2.model.v24.segment
Class VTQ
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.VTQ
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 VTQ message segment (Virtual Table Query Request). This segment has the following fields:
- VTQ-1: Query Tag (ST) optional
- VTQ-2: Query/Response Format Code (ID)
- VTQ-3: VT Query Name (CE)
- VTQ-4: Virtual Table Name (CE)
- VTQ-5: Selection Criteria (QSC) optional repeating
- 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 VTQ-2: "Query/Response Format Code" - creates it if necessaryReturns VTQ-1: "Query Tag" - creates it if necessaryQSC[]Returns all repetitions of Selection Criteria (VTQ-5).getSelectionCriteria(int rep) Returns a specific repetition of VTQ-5: "Selection Criteria" - creates it if necessaryintReturns a count of the current number of repetitions of Selection Criteria (VTQ-5).Returns VTQ-4: "Virtual Table Name" - creates it if necessaryReturns VTQ-1: "Query Tag" - creates it if necessaryReturns VTQ-2: "Query/Response Format Code" - creates it if necessaryReturns VTQ-3: "VT Query Name" - creates it if necessaryReturns VTQ-4: "Virtual Table Name" - creates it if necessaryQSC[]Returns all repetitions of Selection Criteria (VTQ-5).getVtq5_SelectionCriteria(int rep) Returns a specific repetition of VTQ-5: "Selection Criteria" - creates it if necessaryintReturns a count of the current number of repetitions of Selection Criteria (VTQ-5).Returns VTQ-3: "VT Query Name" - creates it if necessaryinsertSelectionCriteria(int rep) Inserts a repetition of VTQ-5: "Selection Criteria" at a specific indexinsertVtq5_SelectionCriteria(int rep) Inserts a repetition of VTQ-5: "Selection Criteria" at a specific indexremoveSelectionCriteria(int rep) Removes a repetition of VTQ-5: "Selection Criteria" at a specific indexremoveVtq5_SelectionCriteria(int rep) Removes a repetition of VTQ-5: "Selection Criteria" 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
-
VTQ
Creates a new VTQ segment
-
-
Method Details
-
getQueryTag
Returns VTQ-1: "Query Tag" - creates it if necessary -
getVtq1_QueryTag
Returns VTQ-1: "Query Tag" - creates it if necessary -
getQueryResponseFormatCode
Returns VTQ-2: "Query/Response Format Code" - creates it if necessary -
getVtq2_QueryResponseFormatCode
Returns VTQ-2: "Query/Response Format Code" - creates it if necessary -
getVTQueryName
Returns VTQ-3: "VT Query Name" - creates it if necessary -
getVtq3_VTQueryName
Returns VTQ-3: "VT Query Name" - creates it if necessary -
getVirtualTableName
Returns VTQ-4: "Virtual Table Name" - creates it if necessary -
getVtq4_VirtualTableName
Returns VTQ-4: "Virtual Table Name" - creates it if necessary -
getSelectionCriteria
Returns all repetitions of Selection Criteria (VTQ-5). -
getVtq5_SelectionCriteria
Returns all repetitions of Selection Criteria (VTQ-5). -
getSelectionCriteriaReps
Returns a count of the current number of repetitions of Selection Criteria (VTQ-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSelectionCriteria
Returns a specific repetition of VTQ-5: "Selection Criteria" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getVtq5_SelectionCriteria
Returns a specific repetition of VTQ-5: "Selection Criteria" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getVtq5_SelectionCriteriaReps
Returns a count of the current number of repetitions of Selection Criteria (VTQ-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSelectionCriteria
Inserts a repetition of VTQ-5: "Selection Criteria" 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)
-
insertVtq5_SelectionCriteria
Inserts a repetition of VTQ-5: "Selection Criteria" 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)
-
removeSelectionCriteria
Removes a repetition of VTQ-5: "Selection Criteria" 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)
-
removeVtq5_SelectionCriteria
Removes a repetition of VTQ-5: "Selection Criteria" 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)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-