public class MFR_M05_MF_LOC_DEPT extends AbstractGroup
Represents a MFR_M05_MF_LOC_DEPT 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_LOC_DEPT(Group parent,
ModelClassFactory factory)
Creates a new MFR_M05_MF_LOC_DEPT 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
|
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
LDP (Location Department) - creates it if necessary
|
String |
getVersion()
Returns "2.6"
|
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)
|
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)
|
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_LOC_DEPT(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 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-2014 University Health Network. All Rights Reserved.