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