public class EHC_E10_PRODUCT_SERVICE_LINE_INFO extends AbstractGroup
Represents a EHC_E10_PRODUCT_SERVICE_LINE_INFO 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_LINE_INFO(Group parent,
ModelClassFactory factory)
Creates a new EHC_E10_PRODUCT_SERVICE_LINE_INFO group
|
| Modifier and Type | Method and Description |
|---|---|
ADJ |
getADJ()
Returns
the first repetition of
ADJ (Adjustment) - creates it if necessary
|
ADJ |
getADJ(int rep)
Returns a specific repetition of
ADJ (Adjustment) - creates it if necessary
|
List<ADJ> |
getADJAll()
Returns a non-modifiable List containing all current existing repetitions of ADJ.
|
int |
getADJReps()
Returns the number of existing repetitions of ADJ
|
PSL |
getPSL()
Returns
PSL (Product/Service Line Item) - creates it if necessary
|
String |
getVersion()
Returns "2.6"
|
void |
insertADJ(ADJ structure,
int rep)
Inserts a specific repetition of ADJ (Adjustment)
|
ADJ |
insertADJ(int rep)
Inserts a specific repetition of ADJ (Adjustment)
|
ADJ |
removeADJ(int rep)
Removes a specific repetition of ADJ (Adjustment)
|
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, removeRepetition, tryToInstantiateStructuregetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic EHC_E10_PRODUCT_SERVICE_LINE_INFO(Group parent, ModelClassFactory factory)
public String getVersion()
public ADJ getADJ()
public ADJ getADJ(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 getADJReps()
public List<ADJ> getADJAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ADJ.
Note that unlike getADJ(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertADJ(ADJ structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ADJ insertADJ(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ADJ removeADJ(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2013 University Health Network. All Rights Reserved.