ca.uhn.hl7v2.model.v231.group
Class MFN_M05_MFELOCLCHLRLLDPLCHLCC

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractGroup
      extended by ca.uhn.hl7v2.model.v231.group.MFN_M05_MFELOCLCHLRLLDPLCHLCC
All Implemented Interfaces:
Group, Structure, Serializable

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:

See Also:
Serialized Form

Constructor Summary
MFN_M05_MFELOCLCHLRLLDPLCHLCC(Group parent, ModelClassFactory factory)
          Creates a new MFN_M05_MFELOCLCHLRLLDPLCHLCC group
 
Method Summary
 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
 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
 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
 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)
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getClass, getMessage, getModelClassFactory, getName, getNames, getParent, insertRepetition, insertRepetition, isGroup, isRepeating, isRequired, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MFN_M05_MFELOCLCHLRLLDPLCHLCC

public MFN_M05_MFELOCLCHLRLLDPLCHLCC(Group parent,
                                     ModelClassFactory factory)
Creates a new MFN_M05_MFELOCLCHLRLLDPLCHLCC group

Method Detail

getVersion

public String getVersion()
Returns "2.3.1"


getMFE

public MFE getMFE()
Returns MFE (MFE - master file entry segment) - creates it if necessary


getLOC

public LOC getLOC()
Returns LOC (LOC - location identification segment) - creates it if necessary


getLCH

public LCH getLCH()
Returns the first repetition of LCH (LCH - location characteristic segment) - creates it if necessary


getLCH

public LCH getLCH(int rep)
Returns a specific repetition of LCH (LCH - location characteristic segment) - creates it if necessary

Parameters:
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)
Throws:
HL7Exception - if the repetition requested is more than one greater than the number of existing repetitions.

getLCHReps

public int getLCHReps()
Returns the number of existing repetitions of LCH


insertLCH

public void insertLCH(LCH structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of LCH (LCH - location characteristic segment)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

insertLCH

public LCH insertLCH(int rep)
              throws HL7Exception
Inserts a specific repetition of LCH (LCH - location characteristic segment)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

removeLCH

public LCH removeLCH(int rep)
              throws HL7Exception
Removes a specific repetition of LCH (LCH - location characteristic segment)

Throws:
HL7Exception
See Also:
AbstractGroup.removeRepetition(String, int)

getLRL

public LRL getLRL()
Returns the first repetition of LRL (LRL - location relationship segment) - creates it if necessary


getLRL

public LRL getLRL(int rep)
Returns a specific repetition of LRL (LRL - location relationship segment) - creates it if necessary

Parameters:
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)
Throws:
HL7Exception - if the repetition requested is more than one greater than the number of existing repetitions.

getLRLReps

public int getLRLReps()
Returns the number of existing repetitions of LRL


insertLRL

public void insertLRL(LRL structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of LRL (LRL - location relationship segment)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

insertLRL

public LRL insertLRL(int rep)
              throws HL7Exception
Inserts a specific repetition of LRL (LRL - location relationship segment)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

removeLRL

public LRL removeLRL(int rep)
              throws HL7Exception
Removes a specific repetition of LRL (LRL - location relationship segment)

Throws:
HL7Exception
See Also:
AbstractGroup.removeRepetition(String, int)

getLDPLCHLCC

public MFN_M05_LDPLCHLCC getLDPLCHLCC()
Returns the first repetition of LDPLCHLCC (a Group object) - creates it if necessary


getLDPLCHLCC

public MFN_M05_LDPLCHLCC getLDPLCHLCC(int rep)
Returns a specific repetition of LDPLCHLCC (a Group object) - creates it if necessary

Parameters:
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)
Throws:
HL7Exception - if the repetition requested is more than one greater than the number of existing repetitions.

getLDPLCHLCCReps

public int getLDPLCHLCCReps()
Returns the number of existing repetitions of LDPLCHLCC


insertLDPLCHLCC

public void insertLDPLCHLCC(MFN_M05_LDPLCHLCC structure,
                            int rep)
                     throws HL7Exception
Inserts a specific repetition of LDPLCHLCC (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

insertLDPLCHLCC

public MFN_M05_LDPLCHLCC insertLDPLCHLCC(int rep)
                                  throws HL7Exception
Inserts a specific repetition of LDPLCHLCC (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup#insertRepetition(Structure, int)

removeLDPLCHLCC

public MFN_M05_LDPLCHLCC removeLDPLCHLCC(int rep)
                                  throws HL7Exception
Removes a specific repetition of LDPLCHLCC (a Group object)

Throws:
HL7Exception
See Also:
AbstractGroup.removeRepetition(String, int)


Copyright © 2001-2011 University Health Network. All Rights Reserved.