ca.uhn.hl7v2.model.v24.group
Class MFN_M05_MF_LOCATION

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

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:

See Also:
Serialized Form

Constructor Summary
MFN_M05_MF_LOCATION(Group parent, ModelClassFactory factory)
          Creates a new MFN_M05_MF_LOCATION group
 
Method Summary
 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
 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
 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
 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.4"
 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)
 
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_MF_LOCATION

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

Method Detail

getVersion

public String getVersion()
Returns "2.4"


getMFE

public MFE getMFE()
Returns MFE (Master File Entry) - creates it if necessary


getLOC

public LOC getLOC()
Returns LOC (Location Identification) - creates it if necessary


getLCH

public LCH getLCH()
Returns the first repetition of LCH (Location Characteristic) - creates it if necessary


getLCH

public LCH getLCH(int rep)
Returns a specific repetition of LCH (Location Characteristic) - 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 (Location Characteristic)

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

insertLCH

public LCH insertLCH(int rep)
              throws HL7Exception
Inserts a specific repetition of LCH (Location Characteristic)

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

removeLCH

public LCH removeLCH(int rep)
              throws HL7Exception
Removes a specific repetition of LCH (Location Characteristic)

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

getLRL

public LRL getLRL()
Returns the first repetition of LRL (Location Relationship) - creates it if necessary


getLRL

public LRL getLRL(int rep)
Returns a specific repetition of LRL (Location Relationship) - 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 (Location Relationship)

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

insertLRL

public LRL insertLRL(int rep)
              throws HL7Exception
Inserts a specific repetition of LRL (Location Relationship)

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

removeLRL

public LRL removeLRL(int rep)
              throws HL7Exception
Removes a specific repetition of LRL (Location Relationship)

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

getMF_LOC_DEPT

public MFN_M05_MF_LOC_DEPT getMF_LOC_DEPT()
Returns the first repetition of MF_LOC_DEPT (a Group object) - creates it if necessary


getMF_LOC_DEPT

public 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

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.

getMF_LOC_DEPTReps

public int getMF_LOC_DEPTReps()
Returns the number of existing repetitions of MF_LOC_DEPT


insertMF_LOC_DEPT

public void insertMF_LOC_DEPT(MFN_M05_MF_LOC_DEPT structure,
                              int rep)
                       throws HL7Exception
Inserts a specific repetition of MF_LOC_DEPT (a Group object)

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

insertMF_LOC_DEPT

public MFN_M05_MF_LOC_DEPT insertMF_LOC_DEPT(int rep)
                                      throws HL7Exception
Inserts a specific repetition of MF_LOC_DEPT (a Group object)

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

removeMF_LOC_DEPT

public MFN_M05_MF_LOC_DEPT removeMF_LOC_DEPT(int rep)
                                      throws HL7Exception
Removes a specific repetition of MF_LOC_DEPT (a Group object)

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


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