public class MFN_M05_LDPLCHLCC extends AbstractGroup
Represents a MFN_M05_LDPLCHLCC 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_LDPLCHLCC(Group parent,
ModelClassFactory factory)
Creates a new MFN_M05_LDPLCHLCC group
|
| Modifier and Type | Method and Description |
|---|---|
LCC |
getLCC()
Returns
the first repetition of
LCC (LCC - location charge code segment) - creates it if necessary
|
LCC |
getLCC(int rep)
Returns a specific repetition of
LCC (LCC - location charge code segment) - 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 (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
|
LDP |
getLDP()
Returns
LDP (LDP - location department segment) - creates it if necessary
|
String |
getVersion()
Returns "2.3.1"
|
LCC |
insertLCC(int rep)
Inserts a specific repetition of LCC (LCC - location charge code segment)
|
void |
insertLCC(LCC structure,
int rep)
Inserts a specific repetition of LCC (LCC - location charge code segment)
|
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)
|
LCC |
removeLCC(int rep)
Removes a specific repetition of LCC (LCC - location charge code segment)
|
LCH |
removeLCH(int rep)
Removes a specific repetition of LCH (LCH - location characteristic segment)
|
add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insertRepetition, insertRepetition, isGroup, isRepeating, isRequired, removeRepetition, tryToInstantiateStructuregetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic MFN_M05_LDPLCHLCC(Group parent, ModelClassFactory factory)
public String getVersion()
public LDP getLDP()
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-2012 University Health Network. All Rights Reserved.