public class ORD_O02_PIDNTEORCODSNTEORCODTNTE extends AbstractGroup
Represents a ORD_O02_PIDNTEORCODSNTEORCODTNTE 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 |
---|
ORD_O02_PIDNTEORCODSNTEORCODTNTE(Group parent,
ModelClassFactory factory)
Creates a new ORD_O02_PIDNTEORCODSNTEORCODTNTE group
|
Modifier and Type | Method and Description |
---|---|
ORD_O02_ORCODSNTE |
getORCODSNTE()
Returns
the first repetition of
ORCODSNTE (a Group object) - creates it if necessary
|
ORD_O02_ORCODSNTE |
getORCODSNTE(int rep)
Returns a specific repetition of
ORCODSNTE (a Group object) - creates it if necessary
|
List<ORD_O02_ORCODSNTE> |
getORCODSNTEAll()
Returns a non-modifiable List containing all current existing repetitions of ORCODSNTE.
|
int |
getORCODSNTEReps()
Returns the number of existing repetitions of ORCODSNTE
|
ORD_O02_ORCODTNTE |
getORCODTNTE()
Returns
the first repetition of
ORCODTNTE (a Group object) - creates it if necessary
|
ORD_O02_ORCODTNTE |
getORCODTNTE(int rep)
Returns a specific repetition of
ORCODTNTE (a Group object) - creates it if necessary
|
List<ORD_O02_ORCODTNTE> |
getORCODTNTEAll()
Returns a non-modifiable List containing all current existing repetitions of ORCODTNTE.
|
int |
getORCODTNTEReps()
Returns the number of existing repetitions of ORCODTNTE
|
ORD_O02_PIDNTE |
getPIDNTE()
Returns
PIDNTE (a Group object) - creates it if necessary
|
String |
getVersion()
Returns "2.3.1"
|
ORD_O02_ORCODSNTE |
insertORCODSNTE(int rep)
Inserts a specific repetition of ORCODSNTE (a Group object)
|
void |
insertORCODSNTE(ORD_O02_ORCODSNTE structure,
int rep)
Inserts a specific repetition of ORCODSNTE (a Group object)
|
ORD_O02_ORCODTNTE |
insertORCODTNTE(int rep)
Inserts a specific repetition of ORCODTNTE (a Group object)
|
void |
insertORCODTNTE(ORD_O02_ORCODTNTE structure,
int rep)
Inserts a specific repetition of ORCODTNTE (a Group object)
|
ORD_O02_ORCODSNTE |
removeORCODSNTE(int rep)
Removes a specific repetition of ORCODSNTE (a Group object)
|
ORD_O02_ORCODTNTE |
removeORCODTNTE(int rep)
Removes a specific repetition of ORCODTNTE (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 ORD_O02_PIDNTEORCODSNTEORCODTNTE(Group parent, ModelClassFactory factory)
public String getVersion()
public ORD_O02_PIDNTE getPIDNTE()
public ORD_O02_ORCODSNTE getORCODSNTE()
public ORD_O02_ORCODSNTE getORCODSNTE(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 getORCODSNTEReps()
public List<ORD_O02_ORCODSNTE> getORCODSNTEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ORCODSNTE.
Note that unlike getORCODSNTE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertORCODSNTE(ORD_O02_ORCODSNTE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORD_O02_ORCODSNTE insertORCODSNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORD_O02_ORCODSNTE removeORCODSNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public ORD_O02_ORCODTNTE getORCODTNTE()
public ORD_O02_ORCODTNTE getORCODTNTE(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 getORCODTNTEReps()
public List<ORD_O02_ORCODTNTE> getORCODTNTEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ORCODTNTE.
Note that unlike getORCODTNTE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertORCODTNTE(ORD_O02_ORCODTNTE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORD_O02_ORCODTNTE insertORCODTNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORD_O02_ORCODTNTE removeORCODTNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.