Package ca.uhn.hl7v2.model.v251.segment
Class QRI
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.QRI
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 QRI message segment (Query Response Instance). This segment has the following fields:
- QRI-1: Candidate Confidence (NM) optional
- QRI-2: Match Reason Code (IS) optional repeating
- QRI-3: Algorithm Descriptor (CE) 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 QRI-3: "Algorithm Descriptor" - creates it if necessaryReturns QRI-1: "Candidate Confidence" - creates it if necessaryIS[]Returns all repetitions of Match Reason Code (QRI-2).getMatchReasonCode(int rep) Returns a specific repetition of QRI-2: "Match Reason Code" - creates it if necessaryintReturns a count of the current number of repetitions of Match Reason Code (QRI-2).Returns QRI-1: "Candidate Confidence" - creates it if necessaryIS[]Returns all repetitions of Match Reason Code (QRI-2).getQri2_MatchReasonCode(int rep) Returns a specific repetition of QRI-2: "Match Reason Code" - creates it if necessaryintReturns a count of the current number of repetitions of Match Reason Code (QRI-2).Returns QRI-3: "Algorithm Descriptor" - creates it if necessaryinsertMatchReasonCode(int rep) Inserts a repetition of QRI-2: "Match Reason Code" at a specific indexinsertQri2_MatchReasonCode(int rep) Inserts a repetition of QRI-2: "Match Reason Code" at a specific indexremoveMatchReasonCode(int rep) Removes a repetition of QRI-2: "Match Reason Code" at a specific indexremoveQri2_MatchReasonCode(int rep) Removes a repetition of QRI-2: "Match Reason Code" 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
-
QRI
Creates a new QRI segment
-
-
Method Details
-
getCandidateConfidence
Returns QRI-1: "Candidate Confidence" - creates it if necessary -
getQri1_CandidateConfidence
Returns QRI-1: "Candidate Confidence" - creates it if necessary -
getMatchReasonCode
Returns all repetitions of Match Reason Code (QRI-2). -
getQri2_MatchReasonCode
Returns all repetitions of Match Reason Code (QRI-2). -
getMatchReasonCodeReps
Returns a count of the current number of repetitions of Match Reason Code (QRI-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getMatchReasonCode
Returns a specific repetition of QRI-2: "Match Reason Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQri2_MatchReasonCode
Returns a specific repetition of QRI-2: "Match Reason Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getQri2_MatchReasonCodeReps
Returns a count of the current number of repetitions of Match Reason Code (QRI-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertMatchReasonCode
Inserts a repetition of QRI-2: "Match Reason 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)
-
insertQri2_MatchReasonCode
Inserts a repetition of QRI-2: "Match Reason 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)
-
removeMatchReasonCode
Removes a repetition of QRI-2: "Match Reason 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)
-
removeQri2_MatchReasonCode
Removes a repetition of QRI-2: "Match Reason 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)
-
getAlgorithmDescriptor
Returns QRI-3: "Algorithm Descriptor" - creates it if necessary -
getQri3_AlgorithmDescriptor
Returns QRI-3: "Algorithm Descriptor" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-