public class EHC_E10_PSSPSGPSLADJ extends AbstractGroup
Represents a EHC_E10_PSSPSGPSLADJ 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 |
---|
EHC_E10_PSSPSGPSLADJ(Group parent,
ModelClassFactory factory)
Creates a new EHC_E10_PSSPSGPSLADJ group
|
Modifier and Type | Method and Description |
---|---|
EHC_E10_PSGPSLADJ |
getPSGPSLADJ()
Returns
the first repetition of
PSGPSLADJ (a Group object) - creates it if necessary
|
EHC_E10_PSGPSLADJ |
getPSGPSLADJ(int rep)
Returns a specific repetition of
PSGPSLADJ (a Group object) - creates it if necessary
|
List<EHC_E10_PSGPSLADJ> |
getPSGPSLADJAll()
Returns a non-modifiable List containing all current existing repetitions of PSGPSLADJ.
|
int |
getPSGPSLADJReps()
Returns the number of existing repetitions of PSGPSLADJ
|
PSS |
getPSS()
Returns
PSS (Product/Service Section) - creates it if necessary
|
String |
getVersion()
Returns "2.8"
|
void |
insertPSGPSLADJ(EHC_E10_PSGPSLADJ structure,
int rep)
Inserts a specific repetition of PSGPSLADJ (a Group object)
|
EHC_E10_PSGPSLADJ |
insertPSGPSLADJ(int rep)
Inserts a specific repetition of PSGPSLADJ (a Group object)
|
EHC_E10_PSGPSLADJ |
removePSGPSLADJ(int rep)
Removes a specific repetition of PSGPSLADJ (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 EHC_E10_PSSPSGPSLADJ(Group parent, ModelClassFactory factory)
public String getVersion()
public EHC_E10_PSGPSLADJ getPSGPSLADJ()
public EHC_E10_PSGPSLADJ getPSGPSLADJ(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 getPSGPSLADJReps()
public List<EHC_E10_PSGPSLADJ> getPSGPSLADJAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PSGPSLADJ.
Note that unlike getPSGPSLADJ()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPSGPSLADJ(EHC_E10_PSGPSLADJ structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public EHC_E10_PSGPSLADJ insertPSGPSLADJ(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public EHC_E10_PSGPSLADJ removePSGPSLADJ(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.