public class ADT_A07_IN1IN2IN3 extends AbstractGroup
Represents a ADT_A07_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:
log| Constructor and Description |
|---|
ADT_A07_IN1IN2IN3(Group parent,
ModelClassFactory factory)
Creates a new ADT_A07_IN1IN2IN3 group
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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
|
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)
|
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, visitNestedStructuresgetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic ADT_A07_IN1IN2IN3(Group parent, ModelClassFactory factory)
public String getVersion()
public IN2 getIN2()
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.
HL7Exceptionpublic void insertIN3(IN3 structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public IN3 insertIN3(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public IN3 removeIN3(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001–2017 University Health Network. All rights reserved.