public class VTQ extends AbstractSegment
Represents an HL7 VTQ message segment (VTQ - virtual table query request segment). This segment has the following fields:
log
Constructor and Description |
---|
VTQ(Group parent,
ModelClassFactory factory)
Creates a new VTQ segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ID |
getQueryResponseFormatCode()
Returns
VTQ-2: "Query/ Response Format Code" - creates it if necessary
|
ST |
getQueryTag()
Returns
VTQ-1: "Query Tag" - creates it if necessary
|
QSC[] |
getSelectionCriteria()
Returns all repetitions of Selection Criteria (VTQ-5).
|
QSC |
getSelectionCriteria(int rep)
Returns a specific repetition of
VTQ-5: "Selection Criteria" - creates it if necessary
|
int |
getSelectionCriteriaReps()
Returns a count of the current number of repetitions of Selection Criteria (VTQ-5).
|
CE |
getVirtualTableName()
Returns
VTQ-4: "Virtual Table Name" - creates it if necessary
|
ST |
getVtq1_QueryTag()
Returns
VTQ-1: "Query Tag" - creates it if necessary
|
ID |
getVtq2_QueryResponseFormatCode()
Returns
VTQ-2: "Query/ Response Format Code" - creates it if necessary
|
CE |
getVtq3_VTQueryName()
Returns
VTQ-3: "VT Query Name" - creates it if necessary
|
CE |
getVtq4_VirtualTableName()
Returns
VTQ-4: "Virtual Table Name" - creates it if necessary
|
QSC[] |
getVtq5_SelectionCriteria()
Returns all repetitions of Selection Criteria (VTQ-5).
|
QSC |
getVtq5_SelectionCriteria(int rep)
Returns a specific repetition of
VTQ-5: "Selection Criteria" - creates it if necessary
|
int |
getVtq5_SelectionCriteriaReps()
Returns a count of the current number of repetitions of Selection Criteria (VTQ-5).
|
CE |
getVTQueryName()
Returns
VTQ-3: "VT Query Name" - creates it if necessary
|
QSC |
insertSelectionCriteria(int rep)
Inserts a repetition of
VTQ-5: "Selection Criteria" at a specific index
|
QSC |
insertVtq5_SelectionCriteria(int rep)
Inserts a repetition of
VTQ-5: "Selection Criteria" at a specific index
|
QSC |
removeSelectionCriteria(int rep)
Removes a repetition of
VTQ-5: "Selection Criteria" at a specific index
|
QSC |
removeVtq5_SelectionCriteria(int rep)
Removes a repetition of
VTQ-5: "Selection Criteria" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public VTQ(Group parent, ModelClassFactory factory)
public ST getQueryTag()
public ST getVtq1_QueryTag()
public ID getQueryResponseFormatCode()
public ID getVtq2_QueryResponseFormatCode()
public CE getVTQueryName()
public CE getVtq3_VTQueryName()
public CE getVirtualTableName()
public CE getVtq4_VirtualTableName()
public QSC[] getSelectionCriteria()
public QSC[] getVtq5_SelectionCriteria()
public int getSelectionCriteriaReps()
public QSC getSelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public QSC getVtq5_SelectionCriteria(int rep)
rep
- The repetition index (0-indexed)public int getVtq5_SelectionCriteriaReps()
public QSC insertSelectionCriteria(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public QSC insertVtq5_SelectionCriteria(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public QSC removeSelectionCriteria(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public QSC removeVtq5_SelectionCriteria(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.