Class MFR_M05_MF_QUERY
- All Implemented Interfaces:
Group,Structure,Visitable,Serializable
Represents a MFR_M05_MF_QUERY group structure (a Group object). A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together. This Group contains the following elements:
- 1: MFE (Master File Entry)
- 2: LOC (Location Identification)
- 3: LCH (Location Characteristic) optional repeating
- 4: LRL (Location Relationship) optional repeating
- 5: LDP (Location Department) repeating
- 6: LCH (Location Characteristic) optional repeating
- 7: LCC (Location Charge Code) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionMFR_M05_MF_QUERY(Group parent, ModelClassFactory factory) Creates a new MFR_M05_MF_QUERY group -
Method Summary
Modifier and TypeMethodDescriptiongetLCC()Returns the first repetition of LCC (Location Charge Code) - creates it if necessarygetLCC(int rep) Returns a specific repetition of LCC (Location Charge Code) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of LCC.intReturns the number of existing repetitions of LCCgetLCH()Returns the first repetition of LCH (Location Characteristic) - creates it if necessarygetLCH(int rep) Returns a specific repetition of LCH (Location Characteristic) - creates it if necessarygetLCH2()Returns the first repetition of LCH2 (Location Characteristic) - creates it if necessarygetLCH2(int rep) Returns a specific repetition of LCH (Location Characteristic) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of LCH2.intReturns the number of existing repetitions of LCH2Returns a non-modifiable List containing all current existing repetitions of LCH.intReturns the number of existing repetitions of LCHgetLDP()Returns the first repetition of LDP (Location Department) - creates it if necessarygetLDP(int rep) Returns a specific repetition of LDP (Location Department) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of LDP.intReturns the number of existing repetitions of LDPgetLOC()Returns LOC (Location Identification) - creates it if necessarygetLRL()Returns the first repetition of LRL (Location Relationship) - creates it if necessarygetLRL(int rep) Returns a specific repetition of LRL (Location Relationship) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of LRL.intReturns the number of existing repetitions of LRLgetMFE()Returns MFE (Master File Entry) - creates it if necessaryReturns "2.5.1"insertLCC(int rep) Inserts a specific repetition of LCC (Location Charge Code)voidInserts a specific repetition of LCC (Location Charge Code)insertLCH(int rep) Inserts a specific repetition of LCH (Location Characteristic)voidInserts a specific repetition of LCH (Location Characteristic)insertLCH2(int rep) Inserts a specific repetition of LCH2 (Location Characteristic)voidinsertLCH2(LCH structure, int rep) Inserts a specific repetition of LCH2 (Location Characteristic)insertLDP(int rep) Inserts a specific repetition of LDP (Location Department)voidInserts a specific repetition of LDP (Location Department)insertLRL(int rep) Inserts a specific repetition of LRL (Location Relationship)voidInserts a specific repetition of LRL (Location Relationship)removeLCC(int rep) Removes a specific repetition of LCC (Location Charge Code)removeLCH(int rep) Removes a specific repetition of LCH (Location Characteristic)removeLCH2(int rep) Removes a specific repetition of LCH2 (Location Characteristic)removeLDP(int rep) Removes a specific repetition of LDP (Location Department)removeLRL(int rep) Removes a specific repetition of LRL (Location Relationship)Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
accept, add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructuresMethods 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
-
MFR_M05_MF_QUERY
Creates a new MFR_M05_MF_QUERY group
-
-
Method Details
-
getVersion
Returns "2.5.1" -
getMFE
Returns MFE (Master File Entry) - creates it if necessary -
getLOC
Returns LOC (Location Identification) - creates it if necessary -
getLCH
Returns the first repetition of LCH (Location Characteristic) - creates it if necessary -
getLCH
Returns a specific repetition of LCH (Location Characteristic) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getLCHReps
Returns the number of existing repetitions of LCH -
getLCHAll
Returns a non-modifiable List containing all current existing repetitions of LCH.
Note that unlike
getLCH(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertLCH
Inserts a specific repetition of LCH (Location Characteristic)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertLCH
Inserts a specific repetition of LCH (Location Characteristic)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeLCH
Removes a specific repetition of LCH (Location Characteristic)- Throws:
HL7Exception- See Also:
-
getLRL
Returns the first repetition of LRL (Location Relationship) - creates it if necessary -
getLRL
Returns a specific repetition of LRL (Location Relationship) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getLRLReps
Returns the number of existing repetitions of LRL -
getLRLAll
Returns a non-modifiable List containing all current existing repetitions of LRL.
Note that unlike
getLRL(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertLRL
Inserts a specific repetition of LRL (Location Relationship)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertLRL
Inserts a specific repetition of LRL (Location Relationship)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeLRL
Removes a specific repetition of LRL (Location Relationship)- Throws:
HL7Exception- See Also:
-
getLDP
Returns the first repetition of LDP (Location Department) - creates it if necessary -
getLDP
Returns a specific repetition of LDP (Location Department) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getLDPReps
Returns the number of existing repetitions of LDP -
getLDPAll
Returns a non-modifiable List containing all current existing repetitions of LDP.
Note that unlike
getLDP(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertLDP
Inserts a specific repetition of LDP (Location Department)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertLDP
Inserts a specific repetition of LDP (Location Department)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeLDP
Removes a specific repetition of LDP (Location Department)- Throws:
HL7Exception- See Also:
-
getLCH2
Returns the first repetition of LCH2 (Location Characteristic) - creates it if necessary -
getLCH2
Returns a specific repetition of LCH (Location Characteristic) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getLCH2Reps
Returns the number of existing repetitions of LCH2 -
getLCH2All
Returns a non-modifiable List containing all current existing repetitions of LCH2.
Note that unlike
getLCH2(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertLCH2
Inserts a specific repetition of LCH2 (Location Characteristic)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertLCH2
Inserts a specific repetition of LCH2 (Location Characteristic)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeLCH2
Removes a specific repetition of LCH2 (Location Characteristic)- Throws:
HL7Exception- See Also:
-
getLCC
Returns the first repetition of LCC (Location Charge Code) - creates it if necessary -
getLCC
Returns a specific repetition of LCC (Location Charge Code) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getLCCReps
Returns the number of existing repetitions of LCC -
getLCCAll
Returns a non-modifiable List containing all current existing repetitions of LCC.
Note that unlike
getLCC(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertLCC
Inserts a specific repetition of LCC (Location Charge Code)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertLCC
Inserts a specific repetition of LCC (Location Charge Code)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeLCC
Removes a specific repetition of LCC (Location Charge Code)- Throws:
HL7Exception- See Also:
-