public class MFR_M05_MF_QUERY extends AbstractGroup
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:
log| Constructor and Description |
|---|
MFR_M05_MF_QUERY(Group parent,
ModelClassFactory factory)
Creates a new MFR_M05_MF_QUERY group
|
| Modifier and Type | Method and Description |
|---|---|
LCC |
getLCC()
Returns
the first repetition of
LCC (Location Charge Code) - creates it if necessary
|
LCC |
getLCC(int rep)
Returns a specific repetition of
LCC (Location Charge Code) - creates it if necessary
|
List<LCC> |
getLCCAll()
Returns a non-modifiable List containing all current existing repetitions of LCC.
|
int |
getLCCReps()
Returns the number of existing repetitions of LCC
|
LCH |
getLCH()
Returns
the first repetition of
LCH (Location Characteristic) - creates it if necessary
|
LCH |
getLCH(int rep)
Returns a specific repetition of
LCH (Location Characteristic) - creates it if necessary
|
LCH |
getLCH2()
Returns
the first repetition of
LCH2 (Location Characteristic) - creates it if necessary
|
LCH |
getLCH2(int rep)
Returns a specific repetition of
LCH (Location Characteristic) - creates it if necessary
|
List<LCH> |
getLCH2All()
Returns a non-modifiable List containing all current existing repetitions of LCH2.
|
int |
getLCH2Reps()
Returns the number of existing repetitions of LCH2
|
List<LCH> |
getLCHAll()
Returns a non-modifiable List containing all current existing repetitions of LCH.
|
int |
getLCHReps()
Returns the number of existing repetitions of LCH
|
LDP |
getLDP()
Returns
the first repetition of
LDP (Location Department) - creates it if necessary
|
LDP |
getLDP(int rep)
Returns a specific repetition of
LDP (Location Department) - creates it if necessary
|
List<LDP> |
getLDPAll()
Returns a non-modifiable List containing all current existing repetitions of LDP.
|
int |
getLDPReps()
Returns the number of existing repetitions of LDP
|
LOC |
getLOC()
Returns
LOC (Location Identification) - creates it if necessary
|
LRL |
getLRL()
Returns
the first repetition of
LRL (Location Relationship) - creates it if necessary
|
LRL |
getLRL(int rep)
Returns a specific repetition of
LRL (Location Relationship) - creates it if necessary
|
List<LRL> |
getLRLAll()
Returns a non-modifiable List containing all current existing repetitions of LRL.
|
int |
getLRLReps()
Returns the number of existing repetitions of LRL
|
MFE |
getMFE()
Returns
MFE (Master File Entry) - creates it if necessary
|
String |
getVersion()
Returns "2.5"
|
LCC |
insertLCC(int rep)
Inserts a specific repetition of LCC (Location Charge Code)
|
void |
insertLCC(LCC structure,
int rep)
Inserts a specific repetition of LCC (Location Charge Code)
|
LCH |
insertLCH(int rep)
Inserts a specific repetition of LCH (Location Characteristic)
|
void |
insertLCH(LCH structure,
int rep)
Inserts a specific repetition of LCH (Location Characteristic)
|
LCH |
insertLCH2(int rep)
Inserts a specific repetition of LCH2 (Location Characteristic)
|
void |
insertLCH2(LCH structure,
int rep)
Inserts a specific repetition of LCH2 (Location Characteristic)
|
LDP |
insertLDP(int rep)
Inserts a specific repetition of LDP (Location Department)
|
void |
insertLDP(LDP structure,
int rep)
Inserts a specific repetition of LDP (Location Department)
|
LRL |
insertLRL(int rep)
Inserts a specific repetition of LRL (Location Relationship)
|
void |
insertLRL(LRL structure,
int rep)
Inserts a specific repetition of LRL (Location Relationship)
|
LCC |
removeLCC(int rep)
Removes a specific repetition of LCC (Location Charge Code)
|
LCH |
removeLCH(int rep)
Removes a specific repetition of LCH (Location Characteristic)
|
LCH |
removeLCH2(int rep)
Removes a specific repetition of LCH2 (Location Characteristic)
|
LDP |
removeLDP(int rep)
Removes a specific repetition of LDP (Location Department)
|
LRL |
removeLRL(int rep)
Removes a specific repetition of LRL (Location Relationship)
|
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, visitNestedStructuresgetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic MFR_M05_MF_QUERY(Group parent, ModelClassFactory factory)
public String getVersion()
public LCH getLCH()
public LCH getLCH(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getLCHReps()
public List<LCH> getLCHAll() throws HL7Exception
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.
HL7Exceptionpublic void insertLCH(LCH structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LCH insertLCH(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LCH removeLCH(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public LRL getLRL()
public LRL getLRL(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getLRLReps()
public List<LRL> getLRLAll() throws HL7Exception
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.
HL7Exceptionpublic void insertLRL(LRL structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LRL insertLRL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LRL removeLRL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public LDP getLDP()
public LDP getLDP(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getLDPReps()
public List<LDP> getLDPAll() throws HL7Exception
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.
HL7Exceptionpublic void insertLDP(LDP structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LDP insertLDP(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LDP removeLDP(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public LCH getLCH2()
public LCH getLCH2(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getLCH2Reps()
public List<LCH> getLCH2All() throws HL7Exception
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.
HL7Exceptionpublic void insertLCH2(LCH structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LCH insertLCH2(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LCH removeLCH2(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public LCC getLCC()
public LCC getLCC(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getLCCReps()
public List<LCC> getLCCAll() throws HL7Exception
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.
HL7Exceptionpublic void insertLCC(LCC structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LCC insertLCC(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LCC removeLCC(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001–2017 University Health Network. All rights reserved.