public class CRM_C01_PATIENT extends AbstractGroup
Represents a CRM_C01_PATIENT 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_PATIENT(Group parent,
ModelClassFactory factory)
Creates a new CRM_C01_PATIENT 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
|
PID |
getPID()
Returns
PID (Patient Identification) - creates it if necessary
|
PV1 |
getPV1()
Returns
PV1 (Patient Visit) - creates it if necessary
|
String |
getVersion()
Returns "2.5"
|
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 CRM_C01_PATIENT(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.