public class QRI extends AbstractSegment
Represents an HL7 QRI message segment (Query Response Instance). This segment has the following fields:
log
Constructor and Description |
---|
QRI(Group parent,
ModelClassFactory factory)
Creates a new QRI segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getAlgorithmDescriptor()
Returns
QRI-3: "Algorithm Descriptor" - creates it if necessary
|
NM |
getCandidateConfidence()
Returns
QRI-1: "Candidate Confidence" - creates it if necessary
|
IS[] |
getMatchReasonCode()
Returns all repetitions of Match Reason Code (QRI-2).
|
IS |
getMatchReasonCode(int rep)
Returns a specific repetition of
QRI-2: "Match Reason Code" - creates it if necessary
|
int |
getMatchReasonCodeReps()
Returns a count of the current number of repetitions of Match Reason Code (QRI-2).
|
NM |
getQri1_CandidateConfidence()
Returns
QRI-1: "Candidate Confidence" - creates it if necessary
|
IS[] |
getQri2_MatchReasonCode()
Returns all repetitions of Match Reason Code (QRI-2).
|
IS |
getQri2_MatchReasonCode(int rep)
Returns a specific repetition of
QRI-2: "Match Reason Code" - creates it if necessary
|
int |
getQri2_MatchReasonCodeReps()
Returns a count of the current number of repetitions of Match Reason Code (QRI-2).
|
CE |
getQri3_AlgorithmDescriptor()
Returns
QRI-3: "Algorithm Descriptor" - creates it if necessary
|
IS |
insertMatchReasonCode(int rep)
Inserts a repetition of
QRI-2: "Match Reason Code" at a specific index
|
IS |
insertQri2_MatchReasonCode(int rep)
Inserts a repetition of
QRI-2: "Match Reason Code" at a specific index
|
IS |
removeMatchReasonCode(int rep)
Removes a repetition of
QRI-2: "Match Reason Code" at a specific index
|
IS |
removeQri2_MatchReasonCode(int rep)
Removes a repetition of
QRI-2: "Match Reason Code" 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 QRI(Group parent, ModelClassFactory factory)
public NM getCandidateConfidence()
public NM getQri1_CandidateConfidence()
public IS[] getMatchReasonCode()
public IS[] getQri2_MatchReasonCode()
public int getMatchReasonCodeReps()
public IS getMatchReasonCode(int rep)
rep
- The repetition index (0-indexed)public IS getQri2_MatchReasonCode(int rep)
rep
- The repetition index (0-indexed)public int getQri2_MatchReasonCodeReps()
public IS insertMatchReasonCode(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 IS insertQri2_MatchReasonCode(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 IS removeMatchReasonCode(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 IS removeQri2_MatchReasonCode(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 CE getAlgorithmDescriptor()
public CE getQri3_AlgorithmDescriptor()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.