public class ORL_O40_PACKAGE extends AbstractGroup
Represents a ORL_O40_PACKAGE 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 |
---|
ORL_O40_PACKAGE(Group parent,
ModelClassFactory factory)
Creates a new ORL_O40_PACKAGE group
|
Modifier and Type | Method and Description |
---|---|
PAC |
getPAC()
Returns
PAC (Shipment Package) - creates it if necessary
|
ORL_O40_SPECIMEN_IN_PACKAGE |
getSPECIMEN_IN_PACKAGE()
Returns
the first repetition of
SPECIMEN_IN_PACKAGE (a Group object) - creates it if necessary
|
ORL_O40_SPECIMEN_IN_PACKAGE |
getSPECIMEN_IN_PACKAGE(int rep)
Returns a specific repetition of
SPECIMEN_IN_PACKAGE (a Group object) - creates it if necessary
|
List<ORL_O40_SPECIMEN_IN_PACKAGE> |
getSPECIMEN_IN_PACKAGEAll()
Returns a non-modifiable List containing all current existing repetitions of SPECIMEN_IN_PACKAGE.
|
int |
getSPECIMEN_IN_PACKAGEReps()
Returns the number of existing repetitions of SPECIMEN_IN_PACKAGE
|
String |
getVersion()
Returns "2.7"
|
ORL_O40_SPECIMEN_IN_PACKAGE |
insertSPECIMEN_IN_PACKAGE(int rep)
Inserts a specific repetition of SPECIMEN_IN_PACKAGE (a Group object)
|
void |
insertSPECIMEN_IN_PACKAGE(ORL_O40_SPECIMEN_IN_PACKAGE structure,
int rep)
Inserts a specific repetition of SPECIMEN_IN_PACKAGE (a Group object)
|
ORL_O40_SPECIMEN_IN_PACKAGE |
removeSPECIMEN_IN_PACKAGE(int rep)
Removes a specific repetition of SPECIMEN_IN_PACKAGE (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 ORL_O40_PACKAGE(Group parent, ModelClassFactory factory)
public String getVersion()
public ORL_O40_SPECIMEN_IN_PACKAGE getSPECIMEN_IN_PACKAGE()
public ORL_O40_SPECIMEN_IN_PACKAGE getSPECIMEN_IN_PACKAGE(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 getSPECIMEN_IN_PACKAGEReps()
public List<ORL_O40_SPECIMEN_IN_PACKAGE> getSPECIMEN_IN_PACKAGEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of SPECIMEN_IN_PACKAGE.
Note that unlike getSPECIMEN_IN_PACKAGE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertSPECIMEN_IN_PACKAGE(ORL_O40_SPECIMEN_IN_PACKAGE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORL_O40_SPECIMEN_IN_PACKAGE insertSPECIMEN_IN_PACKAGE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORL_O40_SPECIMEN_IN_PACKAGE removeSPECIMEN_IN_PACKAGE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.