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