public class ADR_A19_INSURANCE extends AbstractGroup
Represents a ADR_A19_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 |
---|
ADR_A19_INSURANCE(Group parent,
ModelClassFactory factory)
Creates a new ADR_A19_INSURANCE group
|
Modifier and Type | Method and Description |
---|---|
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
|
List<IN3> |
getIN3All()
Returns a non-modifiable List containing all current existing repetitions of IN3.
|
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
|
List<ROL> |
getROLAll()
Returns a non-modifiable List containing all current existing repetitions of ROL.
|
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)
|
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 ADR_A19_INSURANCE(Group parent, ModelClassFactory factory)
public String getVersion()
public IN3 getIN3()
public IN3 getIN3(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 getIN3Reps()
public List<IN3> getIN3All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of IN3.
Note that unlike getIN3()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertIN3(IN3 structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public IN3 insertIN3(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public IN3 removeIN3(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ROL getROL(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 getROLReps()
public List<ROL> getROLAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ROL.
Note that unlike getROL()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertROL(ROL structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ROL insertROL(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ROL removeROL(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.