public class RPI_I04_GT1IN1IN2IN3 extends AbstractGroup
Represents a RPI_I04_GT1IN1IN2IN3 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:
log| Constructor and Description |
|---|
RPI_I04_GT1IN1IN2IN3(Group parent,
ModelClassFactory factory)
Creates a new RPI_I04_GT1IN1IN2IN3 group
|
| Modifier and Type | Method and Description |
|---|---|
GT1 |
getGT1()
Returns
the first repetition of
GT1 (GT1 - guarantor segment) - creates it if necessary
|
GT1 |
getGT1(int rep)
Returns a specific repetition of
GT1 (GT1 - guarantor segment) - creates it if necessary
|
List<GT1> |
getGT1All()
Returns a non-modifiable List containing all current existing repetitions of GT1.
|
int |
getGT1Reps()
Returns the number of existing repetitions of GT1
|
RPI_I04_IN1IN2IN3 |
getIN1IN2IN3()
Returns
the first repetition of
IN1IN2IN3 (a Group object) - creates it if necessary
|
RPI_I04_IN1IN2IN3 |
getIN1IN2IN3(int rep)
Returns a specific repetition of
IN1IN2IN3 (a Group object) - creates it if necessary
|
List<RPI_I04_IN1IN2IN3> |
getIN1IN2IN3All()
Returns a non-modifiable List containing all current existing repetitions of IN1IN2IN3.
|
int |
getIN1IN2IN3Reps()
Returns the number of existing repetitions of IN1IN2IN3
|
String |
getVersion()
Returns "2.3.1"
|
void |
insertGT1(GT1 structure,
int rep)
Inserts a specific repetition of GT1 (GT1 - guarantor segment)
|
GT1 |
insertGT1(int rep)
Inserts a specific repetition of GT1 (GT1 - guarantor segment)
|
RPI_I04_IN1IN2IN3 |
insertIN1IN2IN3(int rep)
Inserts a specific repetition of IN1IN2IN3 (a Group object)
|
void |
insertIN1IN2IN3(RPI_I04_IN1IN2IN3 structure,
int rep)
Inserts a specific repetition of IN1IN2IN3 (a Group object)
|
GT1 |
removeGT1(int rep)
Removes a specific repetition of GT1 (GT1 - guarantor segment)
|
RPI_I04_IN1IN2IN3 |
removeIN1IN2IN3(int rep)
Removes a specific repetition of IN1IN2IN3 (a Group object)
|
add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insertRepetition, insertRepetition, isGroup, isRepeating, isRequired, removeRepetition, tryToInstantiateStructuregetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic RPI_I04_GT1IN1IN2IN3(Group parent, ModelClassFactory factory)
public String getVersion()
public GT1 getGT1()
public GT1 getGT1(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getGT1Reps()
public List<GT1> getGT1All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of GT1.
Note that unlike getGT1(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertGT1(GT1 structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public GT1 insertGT1(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public GT1 removeGT1(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public RPI_I04_IN1IN2IN3 getIN1IN2IN3()
public RPI_I04_IN1IN2IN3 getIN1IN2IN3(int rep)
rep - The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception - if the repetition requested is more than one
greater than the number of existing repetitions.public int getIN1IN2IN3Reps()
public List<RPI_I04_IN1IN2IN3> getIN1IN2IN3All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of IN1IN2IN3.
Note that unlike getIN1IN2IN3(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertIN1IN2IN3(RPI_I04_IN1IN2IN3 structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public RPI_I04_IN1IN2IN3 insertIN1IN2IN3(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public RPI_I04_IN1IN2IN3 removeIN1IN2IN3(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2012 University Health Network. All Rights Reserved.