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

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

public class RQA_I08_GUARANTOR_INSURANCE
extends AbstractGroup

Represents a RQA_I08_GUARANTOR_INSURANCE 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
RQA_I08_GUARANTOR_INSURANCE(Group parent, ModelClassFactory factory)
          Creates a new RQA_I08_GUARANTOR_INSURANCE group
 
Method Summary
 GT1 getGT1()
          Returns the first repetition of GT1 (Guarantor) - creates it if necessary
 GT1 getGT1(int rep)
          Returns a specific repetition of GT1 (Guarantor) - creates it if necessary
 int getGT1Reps()
          Returns the number of existing repetitions of GT1
 RQA_I08_INSURANCE getINSURANCE()
          Returns the first repetition of INSURANCE (a Group object) - creates it if necessary
 RQA_I08_INSURANCE getINSURANCE(int rep)
          Returns a specific repetition of INSURANCE (a Group object) - creates it if necessary
 int getINSURANCEReps()
          Returns the number of existing repetitions of INSURANCE
 String getVersion()
          Returns "2.4"
 void insertGT1(GT1 structure, int rep)
          Inserts a specific repetition of GT1 (Guarantor)
 GT1 insertGT1(int rep)
          Inserts a specific repetition of GT1 (Guarantor)
 RQA_I08_INSURANCE insertINSURANCE(int rep)
          Inserts a specific repetition of INSURANCE (a Group object)
 void insertINSURANCE(RQA_I08_INSURANCE structure, int rep)
          Inserts a specific repetition of INSURANCE (a Group object)
 GT1 removeGT1(int rep)
          Removes a specific repetition of GT1 (Guarantor)
 RQA_I08_INSURANCE removeINSURANCE(int rep)
          Removes a specific repetition of INSURANCE (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

RQA_I08_GUARANTOR_INSURANCE

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

Method Detail

getVersion

public String getVersion()
Returns "2.4"


getGT1

public GT1 getGT1()
Returns the first repetition of GT1 (Guarantor) - creates it if necessary


getGT1

public GT1 getGT1(int rep)
Returns a specific repetition of GT1 (Guarantor) - 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.

getGT1Reps

public int getGT1Reps()
Returns the number of existing repetitions of GT1


insertGT1

public void insertGT1(GT1 structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of GT1 (Guarantor)

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

insertGT1

public GT1 insertGT1(int rep)
              throws HL7Exception
Inserts a specific repetition of GT1 (Guarantor)

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

removeGT1

public GT1 removeGT1(int rep)
              throws HL7Exception
Removes a specific repetition of GT1 (Guarantor)

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

getINSURANCE

public RQA_I08_INSURANCE getINSURANCE()
Returns the first repetition of INSURANCE (a Group object) - creates it if necessary


getINSURANCE

public RQA_I08_INSURANCE getINSURANCE(int rep)
Returns a specific repetition of INSURANCE (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.

getINSURANCEReps

public int getINSURANCEReps()
Returns the number of existing repetitions of INSURANCE


insertINSURANCE

public void insertINSURANCE(RQA_I08_INSURANCE structure,
                            int rep)
                     throws HL7Exception
Inserts a specific repetition of INSURANCE (a Group object)

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

insertINSURANCE

public RQA_I08_INSURANCE insertINSURANCE(int rep)
                                  throws HL7Exception
Inserts a specific repetition of INSURANCE (a Group object)

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

removeINSURANCE

public RQA_I08_INSURANCE removeINSURANCE(int rep)
                                  throws HL7Exception
Removes a specific repetition of INSURANCE (a Group object)

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


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