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

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

public class RSP_K25_STAFF
extends AbstractGroup

Represents a RSP_K25_STAFF 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
RSP_K25_STAFF(Group parent, ModelClassFactory factory)
          Creates a new RSP_K25_STAFF group
 
Method Summary
 AFF getAFF()
          Returns the first repetition of AFF (Professional Affiliation) - creates it if necessary
 AFF getAFF(int rep)
          Returns a specific repetition of AFF (Professional Affiliation) - creates it if necessary
 int getAFFReps()
          Returns the number of existing repetitions of AFF
 EDU getEDU()
          Returns the first repetition of EDU (Educational Detail) - creates it if necessary
 EDU getEDU(int rep)
          Returns a specific repetition of EDU (Educational Detail) - creates it if necessary
 int getEDUReps()
          Returns the number of existing repetitions of EDU
 LAN getLAN()
          Returns the first repetition of LAN (Language Detail) - creates it if necessary
 LAN getLAN(int rep)
          Returns a specific repetition of LAN (Language Detail) - creates it if necessary
 int getLANReps()
          Returns the number of existing repetitions of LAN
 ORG getORG()
          Returns the first repetition of ORG (Practitioner Organization Unit) - creates it if necessary
 ORG getORG(int rep)
          Returns a specific repetition of ORG (Practitioner Organization Unit) - creates it if necessary
 int getORGReps()
          Returns the number of existing repetitions of ORG
 PRA getPRA()
          Returns PRA (Practitioner Detail) - creates it if necessary
 STF getSTF()
          Returns STF (Staff Identification) - creates it if necessary
 String getVersion()
          Returns "2.4"
 void insertAFF(AFF structure, int rep)
          Inserts a specific repetition of AFF (Professional Affiliation)
 AFF insertAFF(int rep)
          Inserts a specific repetition of AFF (Professional Affiliation)
 void insertEDU(EDU structure, int rep)
          Inserts a specific repetition of EDU (Educational Detail)
 EDU insertEDU(int rep)
          Inserts a specific repetition of EDU (Educational Detail)
 LAN insertLAN(int rep)
          Inserts a specific repetition of LAN (Language Detail)
 void insertLAN(LAN structure, int rep)
          Inserts a specific repetition of LAN (Language Detail)
 ORG insertORG(int rep)
          Inserts a specific repetition of ORG (Practitioner Organization Unit)
 void insertORG(ORG structure, int rep)
          Inserts a specific repetition of ORG (Practitioner Organization Unit)
 AFF removeAFF(int rep)
          Removes a specific repetition of AFF (Professional Affiliation)
 EDU removeEDU(int rep)
          Removes a specific repetition of EDU (Educational Detail)
 LAN removeLAN(int rep)
          Removes a specific repetition of LAN (Language Detail)
 ORG removeORG(int rep)
          Removes a specific repetition of ORG (Practitioner Organization Unit)
 
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

RSP_K25_STAFF

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

Method Detail

getVersion

public String getVersion()
Returns "2.4"


getSTF

public STF getSTF()
Returns STF (Staff Identification) - creates it if necessary


getPRA

public PRA getPRA()
Returns PRA (Practitioner Detail) - creates it if necessary


getORG

public ORG getORG()
Returns the first repetition of ORG (Practitioner Organization Unit) - creates it if necessary


getORG

public ORG getORG(int rep)
Returns a specific repetition of ORG (Practitioner Organization Unit) - 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.

getORGReps

public int getORGReps()
Returns the number of existing repetitions of ORG


insertORG

public void insertORG(ORG structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of ORG (Practitioner Organization Unit)

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

insertORG

public ORG insertORG(int rep)
              throws HL7Exception
Inserts a specific repetition of ORG (Practitioner Organization Unit)

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

removeORG

public ORG removeORG(int rep)
              throws HL7Exception
Removes a specific repetition of ORG (Practitioner Organization Unit)

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

getAFF

public AFF getAFF()
Returns the first repetition of AFF (Professional Affiliation) - creates it if necessary


getAFF

public AFF getAFF(int rep)
Returns a specific repetition of AFF (Professional Affiliation) - 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.

getAFFReps

public int getAFFReps()
Returns the number of existing repetitions of AFF


insertAFF

public void insertAFF(AFF structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of AFF (Professional Affiliation)

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

insertAFF

public AFF insertAFF(int rep)
              throws HL7Exception
Inserts a specific repetition of AFF (Professional Affiliation)

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

removeAFF

public AFF removeAFF(int rep)
              throws HL7Exception
Removes a specific repetition of AFF (Professional Affiliation)

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

getLAN

public LAN getLAN()
Returns the first repetition of LAN (Language Detail) - creates it if necessary


getLAN

public LAN getLAN(int rep)
Returns a specific repetition of LAN (Language Detail) - 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.

getLANReps

public int getLANReps()
Returns the number of existing repetitions of LAN


insertLAN

public void insertLAN(LAN structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of LAN (Language Detail)

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

insertLAN

public LAN insertLAN(int rep)
              throws HL7Exception
Inserts a specific repetition of LAN (Language Detail)

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

removeLAN

public LAN removeLAN(int rep)
              throws HL7Exception
Removes a specific repetition of LAN (Language Detail)

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

getEDU

public EDU getEDU()
Returns the first repetition of EDU (Educational Detail) - creates it if necessary


getEDU

public EDU getEDU(int rep)
Returns a specific repetition of EDU (Educational Detail) - 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.

getEDUReps

public int getEDUReps()
Returns the number of existing repetitions of EDU


insertEDU

public void insertEDU(EDU structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of EDU (Educational Detail)

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

insertEDU

public EDU insertEDU(int rep)
              throws HL7Exception
Inserts a specific repetition of EDU (Educational Detail)

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

removeEDU

public EDU removeEDU(int rep)
              throws HL7Exception
Removes a specific repetition of EDU (Educational Detail)

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


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