ca.uhn.hl7v2.model.v24.message
Class PMU_B01

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractGroup
      extended by ca.uhn.hl7v2.model.AbstractMessage
          extended by ca.uhn.hl7v2.model.v24.message.PMU_B01
All Implemented Interfaces:
Group, Message, Structure, Serializable

public class PMU_B01
extends AbstractMessage

Represents a PMU_B01 message structure (see chapter 15). This structure contains the following elements:

See Also:
Serialized Form

Constructor Summary
PMU_B01()
          Creates a new PMU_B01 message with DefaultModelClassFactory.
PMU_B01(ModelClassFactory factory)
          Creates a new PMU_B01 message with custom ModelClassFactory.
 
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
 EVN getEVN()
          Returns EVN (Event Type) - creates it if necessary
 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
 MSH getMSH()
          Returns MSH (Message Header) - creates it if necessary
 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 the first repetition of PRA (Practitioner Detail) - creates it if necessary
 PRA getPRA(int rep)
          Returns a specific repetition of PRA (Practitioner Detail) - creates it if necessary
 int getPRAReps()
          Returns the number of existing repetitions of PRA
 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)
 PRA insertPRA(int rep)
          Inserts a specific repetition of PRA (Practitioner Detail)
 void insertPRA(PRA structure, int rep)
          Inserts a specific repetition of PRA (Practitioner Detail)
 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)
 PRA removePRA(int rep)
          Removes a specific repetition of PRA (Practitioner Detail)
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractMessage
encode, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParser, getValidationContext, initQuickstart, parse, printStructure, setParser, setValidationContext, toString
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getClass, getModelClassFactory, getName, getNames, getParent, insertRepetition, insertRepetition, isGroup, isRepeating, isRequired, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ca.uhn.hl7v2.model.Group
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isGroup, isRepeating, isRequired
 
Methods inherited from interface ca.uhn.hl7v2.model.Structure
getName, getParent
 

Constructor Detail

PMU_B01

public PMU_B01()
Creates a new PMU_B01 message with DefaultModelClassFactory.


PMU_B01

public PMU_B01(ModelClassFactory factory)
Creates a new PMU_B01 message with custom ModelClassFactory.

Method Detail

getVersion

public String getVersion()
Returns "2.4"

Specified by:
getVersion in interface Message
Overrides:
getVersion in class AbstractMessage

getMSH

public MSH getMSH()
Returns MSH (Message Header) - creates it if necessary


getEVN

public EVN getEVN()
Returns EVN (Event Type) - creates it if necessary


getSTF

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


getPRA

public PRA getPRA()
Returns the first repetition of PRA (Practitioner Detail) - creates it if necessary


getPRA

public PRA getPRA(int rep)
Returns a specific repetition of PRA (Practitioner 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.

getPRAReps

public int getPRAReps()
Returns the number of existing repetitions of PRA


insertPRA

public void insertPRA(PRA structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of PRA (Practitioner Detail)

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

insertPRA

public PRA insertPRA(int rep)
              throws HL7Exception
Inserts a specific repetition of PRA (Practitioner Detail)

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

removePRA

public PRA removePRA(int rep)
              throws HL7Exception
Removes a specific repetition of PRA (Practitioner Detail)

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

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.