public class CRM_C01_PIDPV1CSRCSP extends AbstractGroup
Represents a CRM_C01_PIDPV1CSRCSP 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 |
|---|
CRM_C01_PIDPV1CSRCSP(Group parent,
ModelClassFactory factory)
Creates a new CRM_C01_PIDPV1CSRCSP group
|
| Modifier and Type | Method and Description |
|---|---|
CSP |
getCSP()
Returns
the first repetition of
CSP (CSP - clinical study phase segment) - creates it if necessary
|
CSP |
getCSP(int rep)
Returns a specific repetition of
CSP (CSP - clinical study phase segment) - 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 (CSR - clinical study registration segment) - creates it if necessary
|
PID |
getPID()
Returns
PID (PID - patient identification segment) - creates it if necessary
|
PV1 |
getPV1()
Returns
PV1 (PV1 - patient visit segment-) - creates it if necessary
|
String |
getVersion()
Returns "2.3.1"
|
void |
insertCSP(CSP structure,
int rep)
Inserts a specific repetition of CSP (CSP - clinical study phase segment)
|
CSP |
insertCSP(int rep)
Inserts a specific repetition of CSP (CSP - clinical study phase segment)
|
CSP |
removeCSP(int rep)
Removes a specific repetition of CSP (CSP - clinical study phase segment)
|
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 CRM_C01_PIDPV1CSRCSP(Group parent, ModelClassFactory factory)
public String getVersion()
public PID getPID()
public CSR getCSR()
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.