public class MFN_M05_MF_LOCATION extends AbstractGroup
Represents a MFN_M05_MF_LOCATION 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_MF_LOCATION(Group parent,
ModelClassFactory factory)
Creates a new MFN_M05_MF_LOCATION group
|
Modifier and Type | Method and Description |
---|---|
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
|
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
|
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
|
MFN_M05_MF_LOC_DEPT |
getMF_LOC_DEPT()
Returns
the first repetition of
MF_LOC_DEPT (a Group object) - creates it if necessary
|
MFN_M05_MF_LOC_DEPT |
getMF_LOC_DEPT(int rep)
Returns a specific repetition of
MF_LOC_DEPT (a Group object) - creates it if necessary
|
List<MFN_M05_MF_LOC_DEPT> |
getMF_LOC_DEPTAll()
Returns a non-modifiable List containing all current existing repetitions of MF_LOC_DEPT.
|
int |
getMF_LOC_DEPTReps()
Returns the number of existing repetitions of MF_LOC_DEPT
|
MFE |
getMFE()
Returns
MFE (Master File Entry) - creates it if necessary
|
String |
getVersion()
Returns "2.7"
|
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)
|
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)
|
MFN_M05_MF_LOC_DEPT |
insertMF_LOC_DEPT(int rep)
Inserts a specific repetition of MF_LOC_DEPT (a Group object)
|
void |
insertMF_LOC_DEPT(MFN_M05_MF_LOC_DEPT structure,
int rep)
Inserts a specific repetition of MF_LOC_DEPT (a Group object)
|
LCH |
removeLCH(int rep)
Removes a specific repetition of LCH (Location Characteristic)
|
LRL |
removeLRL(int rep)
Removes a specific repetition of LRL (Location Relationship)
|
MFN_M05_MF_LOC_DEPT |
removeMF_LOC_DEPT(int rep)
Removes a specific repetition of MF_LOC_DEPT (a Group object)
|
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_MF_LOCATION(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.
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_MF_LOC_DEPT getMF_LOC_DEPT()
public MFN_M05_MF_LOC_DEPT getMF_LOC_DEPT(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 getMF_LOC_DEPTReps()
public List<MFN_M05_MF_LOC_DEPT> getMF_LOC_DEPTAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of MF_LOC_DEPT.
Note that unlike getMF_LOC_DEPT()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertMF_LOC_DEPT(MFN_M05_MF_LOC_DEPT structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M05_MF_LOC_DEPT insertMF_LOC_DEPT(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M05_MF_LOC_DEPT removeMF_LOC_DEPT(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.