ca.uhn.hl7v2.model.v231.group
Class ADT_A31_IN1IN2IN3

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

public class ADT_A31_IN1IN2IN3
extends AbstractGroup

Represents a ADT_A31_IN1IN2IN3 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
ADT_A31_IN1IN2IN3(Group parent, ModelClassFactory factory)
          Creates a new ADT_A31_IN1IN2IN3 group
 
Method Summary
 IN1 getIN1()
          Returns IN1 (IN1 - insurance segment) - creates it if necessary
 IN2 getIN2()
          Returns IN2 (IN2 - insurance additional information segment) - creates it if necessary
 IN3 getIN3()
          Returns the first repetition of IN3 (IN3 - insurance additional information, certification segment) - creates it if necessary
 IN3 getIN3(int rep)
          Returns a specific repetition of IN3 (IN3 - insurance additional information, certification segment) - creates it if necessary
 int getIN3Reps()
          Returns the number of existing repetitions of IN3
 String getVersion()
          Returns "2.3.1"
 void insertIN3(IN3 structure, int rep)
          Inserts a specific repetition of IN3 (IN3 - insurance additional information, certification segment)
 IN3 insertIN3(int rep)
          Inserts a specific repetition of IN3 (IN3 - insurance additional information, certification segment)
 IN3 removeIN3(int rep)
          Removes a specific repetition of IN3 (IN3 - insurance additional information, certification segment)
 
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

ADT_A31_IN1IN2IN3

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

Method Detail

getVersion

public String getVersion()
Returns "2.3.1"


getIN1

public IN1 getIN1()
Returns IN1 (IN1 - insurance segment) - creates it if necessary


getIN2

public IN2 getIN2()
Returns IN2 (IN2 - insurance additional information segment) - creates it if necessary


getIN3

public IN3 getIN3()
Returns the first repetition of IN3 (IN3 - insurance additional information, certification segment) - creates it if necessary


getIN3

public IN3 getIN3(int rep)
Returns a specific repetition of IN3 (IN3 - insurance additional information, certification segment) - 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 (IN3 - insurance additional information, certification segment)

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

insertIN3

public IN3 insertIN3(int rep)
              throws HL7Exception
Inserts a specific repetition of IN3 (IN3 - insurance additional information, certification segment)

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

removeIN3

public IN3 removeIN3(int rep)
              throws HL7Exception
Removes a specific repetition of IN3 (IN3 - insurance additional information, certification segment)

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


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