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