public class RQI_I01_GUARANTOR_INSURANCE extends AbstractGroup
Represents a RQI_I01_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:
log
Constructor and Description |
---|
RQI_I01_GUARANTOR_INSURANCE(Group parent,
ModelClassFactory factory)
Creates a new RQI_I01_GUARANTOR_INSURANCE group
|
Modifier and Type | Method and Description |
---|---|
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
|
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
|
RQI_I01_INSURANCE |
getINSURANCE()
Returns
the first repetition of
INSURANCE (a Group object) - creates it if necessary
|
RQI_I01_INSURANCE |
getINSURANCE(int rep)
Returns a specific repetition of
INSURANCE (a Group object) - creates it if necessary
|
List<RQI_I01_INSURANCE> |
getINSURANCEAll()
Returns a non-modifiable List containing all current existing repetitions of INSURANCE.
|
int |
getINSURANCEReps()
Returns the number of existing repetitions of INSURANCE
|
String |
getVersion()
Returns "2.8.1"
|
void |
insertGT1(GT1 structure,
int rep)
Inserts a specific repetition of GT1 (Guarantor)
|
GT1 |
insertGT1(int rep)
Inserts a specific repetition of GT1 (Guarantor)
|
RQI_I01_INSURANCE |
insertINSURANCE(int rep)
Inserts a specific repetition of INSURANCE (a Group object)
|
void |
insertINSURANCE(RQI_I01_INSURANCE structure,
int rep)
Inserts a specific repetition of INSURANCE (a Group object)
|
GT1 |
removeGT1(int rep)
Removes a specific repetition of GT1 (Guarantor)
|
RQI_I01_INSURANCE |
removeINSURANCE(int rep)
Removes a specific repetition of INSURANCE (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 RQI_I01_GUARANTOR_INSURANCE(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 RQI_I01_INSURANCE getINSURANCE()
public RQI_I01_INSURANCE getINSURANCE(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 getINSURANCEReps()
public List<RQI_I01_INSURANCE> getINSURANCEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of INSURANCE.
Note that unlike getINSURANCE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertINSURANCE(RQI_I01_INSURANCE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public RQI_I01_INSURANCE insertINSURANCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public RQI_I01_INSURANCE removeINSURANCE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.