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

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

public class PEX_P07_PEX_CAUSE
extends AbstractGroup

Represents a PEX_P07_PEX_CAUSE 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
PEX_P07_PEX_CAUSE(Group parent, ModelClassFactory factory)
          Creates a new PEX_P07_PEX_CAUSE group
 
Method Summary
 PEX_P07_ASSOCIATED_PERSON getASSOCIATED_PERSON()
          Returns ASSOCIATED_PERSON (a Group object) - creates it if necessary
 NTE getNTE()
          Returns the first repetition of NTE (Notes and Comments) - creates it if necessary
 NTE getNTE(int rep)
          Returns a specific repetition of NTE (Notes and Comments) - creates it if necessary
 int getNTEReps()
          Returns the number of existing repetitions of NTE
 OBX getOBX()
          Returns the first repetition of OBX (Observation/Result) - creates it if necessary
 OBX getOBX(int rep)
          Returns a specific repetition of OBX (Observation/Result) - creates it if necessary
 int getOBXReps()
          Returns the number of existing repetitions of OBX
 PCR getPCR()
          Returns PCR (Possible Causal Relationship) - creates it if necessary
 PRB getPRB()
          Returns the first repetition of PRB (Problem Details) - creates it if necessary
 PRB getPRB(int rep)
          Returns a specific repetition of PRB (Problem Details) - creates it if necessary
 int getPRBReps()
          Returns the number of existing repetitions of PRB
 PEX_P07_RX_ADMINISTRATION getRX_ADMINISTRATION()
          Returns the first repetition of RX_ADMINISTRATION (a Group object) - creates it if necessary
 PEX_P07_RX_ADMINISTRATION getRX_ADMINISTRATION(int rep)
          Returns a specific repetition of RX_ADMINISTRATION (a Group object) - creates it if necessary
 int getRX_ADMINISTRATIONReps()
          Returns the number of existing repetitions of RX_ADMINISTRATION
 PEX_P07_RX_ORDER getRX_ORDER()
          Returns RX_ORDER (a Group object) - creates it if necessary
 PEX_P07_STUDY getSTUDY()
          Returns the first repetition of STUDY (a Group object) - creates it if necessary
 PEX_P07_STUDY getSTUDY(int rep)
          Returns a specific repetition of STUDY (a Group object) - creates it if necessary
 int getSTUDYReps()
          Returns the number of existing repetitions of STUDY
 String getVersion()
          Returns "2.4"
 NTE insertNTE(int rep)
          Inserts a specific repetition of NTE (Notes and Comments)
 void insertNTE(NTE structure, int rep)
          Inserts a specific repetition of NTE (Notes and Comments)
 OBX insertOBX(int rep)
          Inserts a specific repetition of OBX (Observation/Result)
 void insertOBX(OBX structure, int rep)
          Inserts a specific repetition of OBX (Observation/Result)
 PRB insertPRB(int rep)
          Inserts a specific repetition of PRB (Problem Details)
 void insertPRB(PRB structure, int rep)
          Inserts a specific repetition of PRB (Problem Details)
 PEX_P07_RX_ADMINISTRATION insertRX_ADMINISTRATION(int rep)
          Inserts a specific repetition of RX_ADMINISTRATION (a Group object)
 void insertRX_ADMINISTRATION(PEX_P07_RX_ADMINISTRATION structure, int rep)
          Inserts a specific repetition of RX_ADMINISTRATION (a Group object)
 PEX_P07_STUDY insertSTUDY(int rep)
          Inserts a specific repetition of STUDY (a Group object)
 void insertSTUDY(PEX_P07_STUDY structure, int rep)
          Inserts a specific repetition of STUDY (a Group object)
 NTE removeNTE(int rep)
          Removes a specific repetition of NTE (Notes and Comments)
 OBX removeOBX(int rep)
          Removes a specific repetition of OBX (Observation/Result)
 PRB removePRB(int rep)
          Removes a specific repetition of PRB (Problem Details)
 PEX_P07_RX_ADMINISTRATION removeRX_ADMINISTRATION(int rep)
          Removes a specific repetition of RX_ADMINISTRATION (a Group object)
 PEX_P07_STUDY removeSTUDY(int rep)
          Removes a specific repetition of STUDY (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

PEX_P07_PEX_CAUSE

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

Method Detail

getVersion

public String getVersion()
Returns "2.4"


getPCR

public PCR getPCR()
Returns PCR (Possible Causal Relationship) - creates it if necessary


getRX_ORDER

public PEX_P07_RX_ORDER getRX_ORDER()
Returns RX_ORDER (a Group object) - creates it if necessary


getRX_ADMINISTRATION

public PEX_P07_RX_ADMINISTRATION getRX_ADMINISTRATION()
Returns the first repetition of RX_ADMINISTRATION (a Group object) - creates it if necessary


getRX_ADMINISTRATION

public PEX_P07_RX_ADMINISTRATION getRX_ADMINISTRATION(int rep)
Returns a specific repetition of RX_ADMINISTRATION (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.

getRX_ADMINISTRATIONReps

public int getRX_ADMINISTRATIONReps()
Returns the number of existing repetitions of RX_ADMINISTRATION


insertRX_ADMINISTRATION

public void insertRX_ADMINISTRATION(PEX_P07_RX_ADMINISTRATION structure,
                                    int rep)
                             throws HL7Exception
Inserts a specific repetition of RX_ADMINISTRATION (a Group object)

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

insertRX_ADMINISTRATION

public PEX_P07_RX_ADMINISTRATION insertRX_ADMINISTRATION(int rep)
                                                  throws HL7Exception
Inserts a specific repetition of RX_ADMINISTRATION (a Group object)

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

removeRX_ADMINISTRATION

public PEX_P07_RX_ADMINISTRATION removeRX_ADMINISTRATION(int rep)
                                                  throws HL7Exception
Removes a specific repetition of RX_ADMINISTRATION (a Group object)

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

getPRB

public PRB getPRB()
Returns the first repetition of PRB (Problem Details) - creates it if necessary


getPRB

public PRB getPRB(int rep)
Returns a specific repetition of PRB (Problem Details) - 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.

getPRBReps

public int getPRBReps()
Returns the number of existing repetitions of PRB


insertPRB

public void insertPRB(PRB structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of PRB (Problem Details)

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

insertPRB

public PRB insertPRB(int rep)
              throws HL7Exception
Inserts a specific repetition of PRB (Problem Details)

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

removePRB

public PRB removePRB(int rep)
              throws HL7Exception
Removes a specific repetition of PRB (Problem Details)

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

getOBX

public OBX getOBX()
Returns the first repetition of OBX (Observation/Result) - creates it if necessary


getOBX

public OBX getOBX(int rep)
Returns a specific repetition of OBX (Observation/Result) - 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.

getOBXReps

public int getOBXReps()
Returns the number of existing repetitions of OBX


insertOBX

public void insertOBX(OBX structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of OBX (Observation/Result)

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

insertOBX

public OBX insertOBX(int rep)
              throws HL7Exception
Inserts a specific repetition of OBX (Observation/Result)

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

removeOBX

public OBX removeOBX(int rep)
              throws HL7Exception
Removes a specific repetition of OBX (Observation/Result)

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

getNTE

public NTE getNTE()
Returns the first repetition of NTE (Notes and Comments) - creates it if necessary


getNTE

public NTE getNTE(int rep)
Returns a specific repetition of NTE (Notes and Comments) - 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.

getNTEReps

public int getNTEReps()
Returns the number of existing repetitions of NTE


insertNTE

public void insertNTE(NTE structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of NTE (Notes and Comments)

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

insertNTE

public NTE insertNTE(int rep)
              throws HL7Exception
Inserts a specific repetition of NTE (Notes and Comments)

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

removeNTE

public NTE removeNTE(int rep)
              throws HL7Exception
Removes a specific repetition of NTE (Notes and Comments)

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

getASSOCIATED_PERSON

public PEX_P07_ASSOCIATED_PERSON getASSOCIATED_PERSON()
Returns ASSOCIATED_PERSON (a Group object) - creates it if necessary


getSTUDY

public PEX_P07_STUDY getSTUDY()
Returns the first repetition of STUDY (a Group object) - creates it if necessary


getSTUDY

public PEX_P07_STUDY getSTUDY(int rep)
Returns a specific repetition of STUDY (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.

getSTUDYReps

public int getSTUDYReps()
Returns the number of existing repetitions of STUDY


insertSTUDY

public void insertSTUDY(PEX_P07_STUDY structure,
                        int rep)
                 throws HL7Exception
Inserts a specific repetition of STUDY (a Group object)

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

insertSTUDY

public PEX_P07_STUDY insertSTUDY(int rep)
                          throws HL7Exception
Inserts a specific repetition of STUDY (a Group object)

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

removeSTUDY

public PEX_P07_STUDY removeSTUDY(int rep)
                          throws HL7Exception
Removes a specific repetition of STUDY (a Group object)

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


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