public class PPT_PCL_PATIENT extends AbstractGroup
Represents a PPT_PCL_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 |
---|
PPT_PCL_PATIENT(Group parent,
ModelClassFactory factory)
Creates a new PPT_PCL_PATIENT group
|
Modifier and Type | Method and Description |
---|---|
PPT_PCL_PATHWAY |
getPATHWAY()
Returns
the first repetition of
PATHWAY (a Group object) - creates it if necessary
|
PPT_PCL_PATHWAY |
getPATHWAY(int rep)
Returns a specific repetition of
PATHWAY (a Group object) - creates it if necessary
|
List<PPT_PCL_PATHWAY> |
getPATHWAYAll()
Returns a non-modifiable List containing all current existing repetitions of PATHWAY.
|
int |
getPATHWAYReps()
Returns the number of existing repetitions of PATHWAY
|
PPT_PCL_PATIENT_VISIT |
getPATIENT_VISIT()
Returns
PATIENT_VISIT (a Group object) - creates it if necessary
|
PID |
getPID()
Returns
PID (Patient Identification) - creates it if necessary
|
String |
getVersion()
Returns "2.3"
|
PPT_PCL_PATHWAY |
insertPATHWAY(int rep)
Inserts a specific repetition of PATHWAY (a Group object)
|
void |
insertPATHWAY(PPT_PCL_PATHWAY structure,
int rep)
Inserts a specific repetition of PATHWAY (a Group object)
|
PPT_PCL_PATHWAY |
removePATHWAY(int rep)
Removes a specific repetition of PATHWAY (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 PPT_PCL_PATIENT(Group parent, ModelClassFactory factory)
public String getVersion()
public PPT_PCL_PATIENT_VISIT getPATIENT_VISIT()
public PPT_PCL_PATHWAY getPATHWAY()
public PPT_PCL_PATHWAY getPATHWAY(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 getPATHWAYReps()
public List<PPT_PCL_PATHWAY> getPATHWAYAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PATHWAY.
Note that unlike getPATHWAY()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPATHWAY(PPT_PCL_PATHWAY structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PPT_PCL_PATHWAY insertPATHWAY(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PPT_PCL_PATHWAY removePATHWAY(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.