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
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
|
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.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)
|
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)
|
CSP |
removeCSP(int rep)
Removes a specific repetition of CSP (Clinical Study Phase)
|
CSU_C09_STUDY_SCHEDULE |
removeSTUDY_SCHEDULE(int rep)
Removes a specific repetition of STUDY_SCHEDULE (a Group object)
|
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, removeRepetition, tryToInstantiateStructuregetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic CSU_C09_STUDY_PHASE(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)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.
HL7Exceptionpublic void insertSTUDY_SCHEDULE(CSU_C09_STUDY_SCHEDULE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CSU_C09_STUDY_SCHEDULE insertSTUDY_SCHEDULE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public CSU_C09_STUDY_SCHEDULE removeSTUDY_SCHEDULE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2013 University Health Network. All Rights Reserved.