public class PEX_P07_STUDY extends AbstractGroup
Represents a PEX_P07_STUDY 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 |
|---|
PEX_P07_STUDY(Group parent,
ModelClassFactory factory)
Creates a new PEX_P07_STUDY group
|
| Modifier and Type | Method and Description |
|---|---|
CSP |
getCSP()
Returns
the first repetition of
CSP (Clinical Study Phase) - creates it if necessary
|
CSP |
getCSP(int rep)
Returns a specific repetition of
CSP (Clinical Study Phase) - creates it if necessary
|
List<CSP> |
getCSPAll()
Returns a non-modifiable List containing all current existing repetitions of CSP.
|
int |
getCSPReps()
Returns the number of existing repetitions of CSP
|
CSR |
getCSR()
Returns
CSR (Clinical Study Registration) - creates it if necessary
|
String |
getVersion()
Returns "2.4"
|
void |
insertCSP(CSP structure,
int rep)
Inserts a specific repetition of CSP (Clinical Study Phase)
|
CSP |
insertCSP(int rep)
Inserts a specific repetition of CSP (Clinical Study Phase)
|
CSP |
removeCSP(int rep)
Removes a specific repetition of CSP (Clinical Study Phase)
|
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 PEX_P07_STUDY(Group parent, ModelClassFactory factory)
public String getVersion()
public CSP getCSP()
public CSP getCSP(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 getCSPReps()
public List<CSP> getCSPAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of CSP.
Note that unlike getCSP(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertCSP(CSP structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CSP insertCSP(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CSP removeCSP(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001–2017 University Health Network. All rights reserved.