public class BPS_O29_TIMING extends AbstractGroup
Represents a BPS_O29_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 |
|---|
BPS_O29_TIMING(Group parent,
ModelClassFactory factory)
Creates a new BPS_O29_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.8.1"
|
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, visitNestedStructuresgetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic BPS_O29_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.
HL7Exceptionpublic void insertTQ2(TQ2 structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public TQ2 insertTQ2(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public TQ2 removeTQ2(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001–2017 University Health Network. All rights reserved.