public class MFN_M05_MFELOCLCHLRLLDPLCHLCC extends AbstractGroup
Represents a MFN_M05_MFELOCLCHLRLLDPLCHLCC 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 |
---|
MFN_M05_MFELOCLCHLRLLDPLCHLCC(Group parent,
ModelClassFactory factory)
Creates a new MFN_M05_MFELOCLCHLRLLDPLCHLCC group
|
Modifier and Type | Method and Description |
---|---|
LCH |
getLCH()
Returns
the first repetition of
LCH (LCH - location characteristic segment) - creates it if necessary
|
LCH |
getLCH(int rep)
Returns a specific repetition of
LCH (LCH - location characteristic segment) - creates it if necessary
|
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
|
MFN_M05_LDPLCHLCC |
getLDPLCHLCC()
Returns
the first repetition of
LDPLCHLCC (a Group object) - creates it if necessary
|
MFN_M05_LDPLCHLCC |
getLDPLCHLCC(int rep)
Returns a specific repetition of
LDPLCHLCC (a Group object) - creates it if necessary
|
List<MFN_M05_LDPLCHLCC> |
getLDPLCHLCCAll()
Returns a non-modifiable List containing all current existing repetitions of LDPLCHLCC.
|
int |
getLDPLCHLCCReps()
Returns the number of existing repetitions of LDPLCHLCC
|
LOC |
getLOC()
Returns
LOC (LOC - location identification segment) - creates it if necessary
|
LRL |
getLRL()
Returns
the first repetition of
LRL (LRL - location relationship segment) - creates it if necessary
|
LRL |
getLRL(int rep)
Returns a specific repetition of
LRL (LRL - location relationship segment) - 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 (MFE - master file entry segment) - creates it if necessary
|
String |
getVersion()
Returns "2.3.1"
|
LCH |
insertLCH(int rep)
Inserts a specific repetition of LCH (LCH - location characteristic segment)
|
void |
insertLCH(LCH structure,
int rep)
Inserts a specific repetition of LCH (LCH - location characteristic segment)
|
MFN_M05_LDPLCHLCC |
insertLDPLCHLCC(int rep)
Inserts a specific repetition of LDPLCHLCC (a Group object)
|
void |
insertLDPLCHLCC(MFN_M05_LDPLCHLCC structure,
int rep)
Inserts a specific repetition of LDPLCHLCC (a Group object)
|
LRL |
insertLRL(int rep)
Inserts a specific repetition of LRL (LRL - location relationship segment)
|
void |
insertLRL(LRL structure,
int rep)
Inserts a specific repetition of LRL (LRL - location relationship segment)
|
LCH |
removeLCH(int rep)
Removes a specific repetition of LCH (LCH - location characteristic segment)
|
MFN_M05_LDPLCHLCC |
removeLDPLCHLCC(int rep)
Removes a specific repetition of LDPLCHLCC (a Group object)
|
LRL |
removeLRL(int rep)
Removes a specific repetition of LRL (LRL - location relationship segment)
|
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, visitNestedStructures
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public MFN_M05_MFELOCLCHLRLLDPLCHLCC(Group parent, ModelClassFactory factory)
public String getVersion()
public LOC getLOC()
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.
HL7Exception
public void insertLCH(LCH structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public LCH insertLCH(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public LCH removeLCH(int rep) throws HL7Exception
HL7Exception
AbstractGroup.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.
HL7Exception
public void insertLRL(LRL structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public LRL insertLRL(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public LRL removeLRL(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public MFN_M05_LDPLCHLCC getLDPLCHLCC()
public MFN_M05_LDPLCHLCC getLDPLCHLCC(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 getLDPLCHLCCReps()
public List<MFN_M05_LDPLCHLCC> getLDPLCHLCCAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of LDPLCHLCC.
Note that unlike getLDPLCHLCC()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertLDPLCHLCC(MFN_M05_LDPLCHLCC structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M05_LDPLCHLCC insertLDPLCHLCC(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M05_LDPLCHLCC removeLDPLCHLCC(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.