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

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

public class DFT_P11_INSURANCE
extends AbstractGroup

Represents a DFT_P11_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
DFT_P11_INSURANCE(Group parent, ModelClassFactory factory)
          Creates a new DFT_P11_INSURANCE group
 
Method Summary
 IN1 getIN1()
          Returns IN1 (Insurance) - creates it if necessary
 IN2 getIN2()
          Returns IN2 (Insurance Additional Information) - creates it if necessary
 IN3 getIN3()
          Returns the first repetition of IN3 (Insurance Additional Information, Certification) - creates it if necessary
 IN3 getIN3(int rep)
          Returns a specific repetition of IN3 (Insurance Additional Information, Certification) - creates it if necessary
 int getIN3Reps()
          Returns the number of existing repetitions of IN3
 ROL getROL()
          Returns the first repetition of ROL (Role) - creates it if necessary
 ROL getROL(int rep)
          Returns a specific repetition of ROL (Role) - creates it if necessary
 int getROLReps()
          Returns the number of existing repetitions of ROL
 String getVersion()
          Returns "2.4"
 void insertIN3(IN3 structure, int rep)
          Inserts a specific repetition of IN3 (Insurance Additional Information, Certification)
 IN3 insertIN3(int rep)
          Inserts a specific repetition of IN3 (Insurance Additional Information, Certification)
 ROL insertROL(int rep)
          Inserts a specific repetition of ROL (Role)
 void insertROL(ROL structure, int rep)
          Inserts a specific repetition of ROL (Role)
 IN3 removeIN3(int rep)
          Removes a specific repetition of IN3 (Insurance Additional Information, Certification)
 ROL removeROL(int rep)
          Removes a specific repetition of ROL (Role)
 
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

DFT_P11_INSURANCE

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

Method Detail

getVersion

public String getVersion()
Returns "2.4"


getIN1

public IN1 getIN1()
Returns IN1 (Insurance) - creates it if necessary


getIN2

public IN2 getIN2()
Returns IN2 (Insurance Additional Information) - creates it if necessary


getIN3

public IN3 getIN3()
Returns the first repetition of IN3 (Insurance Additional Information, Certification) - creates it if necessary


getIN3

public IN3 getIN3(int rep)
Returns a specific repetition of IN3 (Insurance Additional Information, Certification) - 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.

getIN3Reps

public int getIN3Reps()
Returns the number of existing repetitions of IN3


insertIN3

public void insertIN3(IN3 structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of IN3 (Insurance Additional Information, Certification)

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

insertIN3

public IN3 insertIN3(int rep)
              throws HL7Exception
Inserts a specific repetition of IN3 (Insurance Additional Information, Certification)

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

removeIN3

public IN3 removeIN3(int rep)
              throws HL7Exception
Removes a specific repetition of IN3 (Insurance Additional Information, Certification)

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

getROL

public ROL getROL()
Returns the first repetition of ROL (Role) - creates it if necessary


getROL

public ROL getROL(int rep)
Returns a specific repetition of ROL (Role) - 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.

getROLReps

public int getROLReps()
Returns the number of existing repetitions of ROL


insertROL

public void insertROL(ROL structure,
                      int rep)
               throws HL7Exception
Inserts a specific repetition of ROL (Role)

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

insertROL

public ROL insertROL(int rep)
              throws HL7Exception
Inserts a specific repetition of ROL (Role)

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

removeROL

public ROL removeROL(int rep)
              throws HL7Exception
Removes a specific repetition of ROL (Role)

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


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