public class RQA_I08_GT1IN1IN2IN3 extends AbstractGroup
Represents a RQA_I08_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 |
---|
RQA_I08_GT1IN1IN2IN3(Group parent,
ModelClassFactory factory)
Creates a new RQA_I08_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
|
RQA_I08_IN1IN2IN3 |
getIN1IN2IN3()
Returns
the first repetition of
IN1IN2IN3 (a Group object) - creates it if necessary
|
RQA_I08_IN1IN2IN3 |
getIN1IN2IN3(int rep)
Returns a specific repetition of
IN1IN2IN3 (a Group object) - creates it if necessary
|
List<RQA_I08_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)
|
RQA_I08_IN1IN2IN3 |
insertIN1IN2IN3(int rep)
Inserts a specific repetition of IN1IN2IN3 (a Group object)
|
void |
insertIN1IN2IN3(RQA_I08_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)
|
RQA_I08_IN1IN2IN3 |
removeIN1IN2IN3(int rep)
Removes a specific repetition of IN1IN2IN3 (a Group object)
|
accept, add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructures
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public RQA_I08_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.
HL7Exception
public void insertGT1(GT1 structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public GT1 insertGT1(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public GT1 removeGT1(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public RQA_I08_IN1IN2IN3 getIN1IN2IN3()
public RQA_I08_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<RQA_I08_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.
HL7Exception
public void insertIN1IN2IN3(RQA_I08_IN1IN2IN3 structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public RQA_I08_IN1IN2IN3 insertIN1IN2IN3(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public RQA_I08_IN1IN2IN3 removeIN1IN2IN3(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.