Package ca.uhn.hl7v2.model.v22.segment
Class QRD
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.QRD
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 QRD message segment (QUERY DEFINITION). This segment has the following fields:
- QRD-1: Query date / time (TS)
- QRD-2: Query Format Code (ID)
- QRD-3: Query Priority (ID)
- QRD-4: Query ID (ST)
- QRD-5: Deferred Response Type (ID) optional
- QRD-6: Deferred response date / time (TS) optional
- QRD-7: Quantity Limited Request (CQ_QUANTITY)
- QRD-8: Who Subject Filter (ST) repeating
- QRD-9: What Subject Filter (ID) repeating
- QRD-10: What Department Data Code (ST) repeating
- QRD-11: What data code value qualifier (CM_VR) optional repeating
- QRD-12: Query Results Level (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 QRD-6: "Deferred response date / time" - creates it if necessaryReturns QRD-5: "Deferred Response Type" - creates it if necessaryReturns QRD-1: "Query date / time" - creates it if necessaryST[]Returns all repetitions of What Department Data Code (QRD-10).getQrd10_WhatDepartmentDataCode(int rep) Returns a specific repetition of QRD-10: "What Department Data Code" - creates it if necessaryintReturns a count of the current number of repetitions of What Department Data Code (QRD-10).CM_VR[]Returns all repetitions of What data code value qualifier (QRD-11).getQrd11_WhatDataCodeValueQualifier(int rep) Returns a specific repetition of QRD-11: "What data code value qualifier" - creates it if necessaryintReturns a count of the current number of repetitions of What data code value qualifier (QRD-11).Returns QRD-12: "Query Results Level" - creates it if necessaryReturns QRD-2: "Query Format Code" - creates it if necessaryReturns QRD-3: "Query Priority" - creates it if necessaryReturns QRD-4: "Query ID" - creates it if necessaryReturns QRD-5: "Deferred Response Type" - creates it if necessaryReturns QRD-6: "Deferred response date / time" - creates it if necessaryReturns QRD-7: "Quantity Limited Request" - creates it if necessaryST[]Returns all repetitions of Who Subject Filter (QRD-8).getQrd8_WhoSubjectFilter(int rep) Returns a specific repetition of QRD-8: "Who Subject Filter" - creates it if necessaryintReturns a count of the current number of repetitions of Who Subject Filter (QRD-8).ID[]Returns all repetitions of What Subject Filter (QRD-9).getQrd9_WhatSubjectFilter(int rep) Returns a specific repetition of QRD-9: "What Subject Filter" - creates it if necessaryintReturns a count of the current number of repetitions of What Subject Filter (QRD-9).Returns QRD-7: "Quantity Limited Request" - creates it if necessaryReturns QRD-1: "Query date / time" - creates it if necessaryReturns QRD-2: "Query Format Code" - creates it if necessaryReturns QRD-4: "Query ID" - creates it if necessaryReturns QRD-3: "Query Priority" - creates it if necessaryReturns QRD-12: "Query Results Level" - creates it if necessaryCM_VR[]Returns all repetitions of What data code value qualifier (QRD-11).getWhatDataCodeValueQualifier(int rep) Returns a specific repetition of QRD-11: "What data code value qualifier" - creates it if necessaryintReturns a count of the current number of repetitions of What data code value qualifier (QRD-11).ST[]Returns all repetitions of What Department Data Code (QRD-10).getWhatDepartmentDataCode(int rep) Returns a specific repetition of QRD-10: "What Department Data Code" - creates it if necessaryintReturns a count of the current number of repetitions of What Department Data Code (QRD-10).ID[]Returns all repetitions of What Subject Filter (QRD-9).getWhatSubjectFilter(int rep) Returns a specific repetition of QRD-9: "What Subject Filter" - creates it if necessaryintReturns a count of the current number of repetitions of What Subject Filter (QRD-9).ST[]Returns all repetitions of Who Subject Filter (QRD-8).getWhoSubjectFilter(int rep) Returns a specific repetition of QRD-8: "Who Subject Filter" - creates it if necessaryintReturns a count of the current number of repetitions of Who Subject Filter (QRD-8).insertQrd10_WhatDepartmentDataCode(int rep) Inserts a repetition of QRD-10: "What Department Data Code" at a specific indexInserts a repetition of QRD-11: "What data code value qualifier" at a specific indexinsertQrd8_WhoSubjectFilter(int rep) Inserts a repetition of QRD-8: "Who Subject Filter" at a specific indexinsertQrd9_WhatSubjectFilter(int rep) Inserts a repetition of QRD-9: "What Subject Filter" at a specific indexinsertWhatDataCodeValueQualifier(int rep) Inserts a repetition of QRD-11: "What data code value qualifier" at a specific indexinsertWhatDepartmentDataCode(int rep) Inserts a repetition of QRD-10: "What Department Data Code" at a specific indexinsertWhatSubjectFilter(int rep) Inserts a repetition of QRD-9: "What Subject Filter" at a specific indexinsertWhoSubjectFilter(int rep) Inserts a repetition of QRD-8: "Who Subject Filter" at a specific indexremoveQrd10_WhatDepartmentDataCode(int rep) Removes a repetition of QRD-10: "What Department Data Code" at a specific indexRemoves a repetition of QRD-11: "What data code value qualifier" at a specific indexremoveQrd8_WhoSubjectFilter(int rep) Removes a repetition of QRD-8: "Who Subject Filter" at a specific indexremoveQrd9_WhatSubjectFilter(int rep) Removes a repetition of QRD-9: "What Subject Filter" at a specific indexremoveWhatDataCodeValueQualifier(int rep) Removes a repetition of QRD-11: "What data code value qualifier" at a specific indexremoveWhatDepartmentDataCode(int rep) Removes a repetition of QRD-10: "What Department Data Code" at a specific indexremoveWhatSubjectFilter(int rep) Removes a repetition of QRD-9: "What Subject Filter" at a specific indexremoveWhoSubjectFilter(int rep) Removes a repetition of QRD-8: "Who Subject Filter" 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
-
QRD
Creates a new QRD segment
-
-
Method Details
-
getQueryDateTime
Returns QRD-1: "Query date / time" - creates it if necessary -
getQrd1_QueryDateTime
Returns QRD-1: "Query date / time" - creates it if necessary -
getQueryFormatCode
Returns QRD-2: "Query Format Code" - creates it if necessary -
getQrd2_QueryFormatCode
Returns QRD-2: "Query Format Code" - creates it if necessary -
getQueryPriority
Returns QRD-3: "Query Priority" - creates it if necessary -
getQrd3_QueryPriority
Returns QRD-3: "Query Priority" - creates it if necessary -
getQueryID
Returns QRD-4: "Query ID" - creates it if necessary -
getQrd4_QueryID
Returns QRD-4: "Query ID" - creates it if necessary -
getDeferredResponseType
Returns QRD-5: "Deferred Response Type" - creates it if necessary -
getQrd5_DeferredResponseType
Returns QRD-5: "Deferred Response Type" - creates it if necessary -
getDeferredResponseDateTime
Returns QRD-6: "Deferred response date / time" - creates it if necessary -
getQrd6_DeferredResponseDateTime
Returns QRD-6: "Deferred response date / time" - creates it if necessary -
getQuantityLimitedRequest
Returns QRD-7: "Quantity Limited Request" - creates it if necessary -
getQrd7_QuantityLimitedRequest
Returns QRD-7: "Quantity Limited Request" - creates it if necessary -
getWhoSubjectFilter
Returns all repetitions of Who Subject Filter (QRD-8). -
getQrd8_WhoSubjectFilter
Returns all repetitions of Who Subject Filter (QRD-8). -
getWhoSubjectFilterReps
Returns a count of the current number of repetitions of Who Subject Filter (QRD-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getWhoSubjectFilter
Returns a specific repetition of QRD-8: "Who Subject Filter" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd8_WhoSubjectFilter
Returns a specific repetition of QRD-8: "Who Subject Filter" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd8_WhoSubjectFilterReps
Returns a count of the current number of repetitions of Who Subject Filter (QRD-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertWhoSubjectFilter
Inserts a repetition of QRD-8: "Who Subject Filter" 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)
-
insertQrd8_WhoSubjectFilter
Inserts a repetition of QRD-8: "Who Subject Filter" 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)
-
removeWhoSubjectFilter
Removes a repetition of QRD-8: "Who Subject Filter" 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)
-
removeQrd8_WhoSubjectFilter
Removes a repetition of QRD-8: "Who Subject Filter" 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)
-
getWhatSubjectFilter
Returns all repetitions of What Subject Filter (QRD-9). -
getQrd9_WhatSubjectFilter
Returns all repetitions of What Subject Filter (QRD-9). -
getWhatSubjectFilterReps
Returns a count of the current number of repetitions of What Subject Filter (QRD-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getWhatSubjectFilter
Returns a specific repetition of QRD-9: "What Subject Filter" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd9_WhatSubjectFilter
Returns a specific repetition of QRD-9: "What Subject Filter" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd9_WhatSubjectFilterReps
Returns a count of the current number of repetitions of What Subject Filter (QRD-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertWhatSubjectFilter
Inserts a repetition of QRD-9: "What Subject Filter" 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)
-
insertQrd9_WhatSubjectFilter
Inserts a repetition of QRD-9: "What Subject Filter" 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)
-
removeWhatSubjectFilter
Removes a repetition of QRD-9: "What Subject Filter" 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)
-
removeQrd9_WhatSubjectFilter
Removes a repetition of QRD-9: "What Subject Filter" 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)
-
getWhatDepartmentDataCode
Returns all repetitions of What Department Data Code (QRD-10). -
getQrd10_WhatDepartmentDataCode
Returns all repetitions of What Department Data Code (QRD-10). -
getWhatDepartmentDataCodeReps
Returns a count of the current number of repetitions of What Department Data Code (QRD-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getWhatDepartmentDataCode
Returns a specific repetition of QRD-10: "What Department Data Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd10_WhatDepartmentDataCode
Returns a specific repetition of QRD-10: "What Department Data Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd10_WhatDepartmentDataCodeReps
Returns a count of the current number of repetitions of What Department Data Code (QRD-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertWhatDepartmentDataCode
Inserts a repetition of QRD-10: "What Department Data Code" 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)
-
insertQrd10_WhatDepartmentDataCode
Inserts a repetition of QRD-10: "What Department Data Code" 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)
-
removeWhatDepartmentDataCode
Removes a repetition of QRD-10: "What Department Data Code" 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)
-
removeQrd10_WhatDepartmentDataCode
Removes a repetition of QRD-10: "What Department Data Code" 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)
-
getWhatDataCodeValueQualifier
Returns all repetitions of What data code value qualifier (QRD-11). -
getQrd11_WhatDataCodeValueQualifier
Returns all repetitions of What data code value qualifier (QRD-11). -
getWhatDataCodeValueQualifierReps
Returns a count of the current number of repetitions of What data code value qualifier (QRD-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getWhatDataCodeValueQualifier
Returns a specific repetition of QRD-11: "What data code value qualifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd11_WhatDataCodeValueQualifier
Returns a specific repetition of QRD-11: "What data code value qualifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQrd11_WhatDataCodeValueQualifierReps
Returns a count of the current number of repetitions of What data code value qualifier (QRD-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertWhatDataCodeValueQualifier
Inserts a repetition of QRD-11: "What data code value qualifier" 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)
-
insertQrd11_WhatDataCodeValueQualifier
Inserts a repetition of QRD-11: "What data code value qualifier" 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)
-
removeWhatDataCodeValueQualifier
Removes a repetition of QRD-11: "What data code value qualifier" 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)
-
removeQrd11_WhatDataCodeValueQualifier
Removes a repetition of QRD-11: "What data code value qualifier" 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)
-
getQueryResultsLevel
Returns QRD-12: "Query Results Level" - creates it if necessary -
getQrd12_QueryResultsLevel
Returns QRD-12: "Query Results Level" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-