public class ORN_O08_TIMING extends AbstractGroup
Represents a ORN_O08_TIMING 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 |
---|
ORN_O08_TIMING(Group parent,
ModelClassFactory factory)
Creates a new ORN_O08_TIMING group
|
Modifier and Type | Method and Description |
---|---|
TQ1 |
getTQ1()
Returns
TQ1 (Timing/Quantity) - creates it if necessary
|
TQ2 |
getTQ2()
Returns
the first repetition of
TQ2 (Timing/Quantity Relationship) - creates it if necessary
|
TQ2 |
getTQ2(int rep)
Returns a specific repetition of
TQ2 (Timing/Quantity Relationship) - creates it if necessary
|
List<TQ2> |
getTQ2All()
Returns a non-modifiable List containing all current existing repetitions of TQ2.
|
int |
getTQ2Reps()
Returns the number of existing repetitions of TQ2
|
String |
getVersion()
Returns "2.7"
|
TQ2 |
insertTQ2(int rep)
Inserts a specific repetition of TQ2 (Timing/Quantity Relationship)
|
void |
insertTQ2(TQ2 structure,
int rep)
Inserts a specific repetition of TQ2 (Timing/Quantity Relationship)
|
TQ2 |
removeTQ2(int rep)
Removes a specific repetition of TQ2 (Timing/Quantity Relationship)
|
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 ORN_O08_TIMING(Group parent, ModelClassFactory factory)
public String getVersion()
public TQ2 getTQ2()
public TQ2 getTQ2(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 getTQ2Reps()
public List<TQ2> getTQ2All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of TQ2.
Note that unlike getTQ2()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertTQ2(TQ2 structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public TQ2 insertTQ2(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public TQ2 removeTQ2(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.