public class EHC_E20_PSL_ITEM_INFO extends AbstractGroup
Represents a EHC_E20_PSL_ITEM_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:
Note that this structure has "choice" elements. This means that one of the structures above marked as "choice" must be present, but no more than one.
log| Constructor and Description |
|---|
EHC_E20_PSL_ITEM_INFO(Group parent,
ModelClassFactory factory)
Creates a new EHC_E20_PSL_ITEM_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
|
LOC |
getLOC()
Returns
the first repetition of
LOC (Location Identification) - creates it if necessary
|
LOC |
getLOC(int rep)
Returns a specific repetition of
LOC (Location Identification) - creates it if necessary
|
List<LOC> |
getLOCAll()
Returns a non-modifiable List containing all current existing repetitions of LOC.
|
int |
getLOCReps()
Returns the number of existing repetitions of LOC
|
NTE |
getNTE()
Returns
the first repetition of
NTE (Notes and Comments) - creates it if necessary
|
NTE |
getNTE(int rep)
Returns a specific repetition of
NTE (Notes and Comments) - creates it if necessary
|
List<NTE> |
getNTEAll()
Returns a non-modifiable List containing all current existing repetitions of NTE.
|
int |
getNTEReps()
Returns the number of existing repetitions of NTE
|
PSL |
getPSL()
Returns
PSL (Product/Service Line Item) - creates it if necessary
|
ROL |
getROL()
Returns
the first repetition of
ROL (Role) - creates it if necessary
|
ROL |
getROL(int rep)
Returns a specific repetition of
ROL (Role) - creates it if necessary
|
List<ROL> |
getROLAll()
Returns a non-modifiable List containing all current existing repetitions of ROL.
|
int |
getROLReps()
Returns the number of existing repetitions of ROL
|
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)
|
LOC |
insertLOC(int rep)
Inserts a specific repetition of LOC (Location Identification)
|
void |
insertLOC(LOC structure,
int rep)
Inserts a specific repetition of LOC (Location Identification)
|
NTE |
insertNTE(int rep)
Inserts a specific repetition of NTE (Notes and Comments)
|
void |
insertNTE(NTE structure,
int rep)
Inserts a specific repetition of NTE (Notes and Comments)
|
ROL |
insertROL(int rep)
Inserts a specific repetition of ROL (Role)
|
void |
insertROL(ROL structure,
int rep)
Inserts a specific repetition of ROL (Role)
|
ADJ |
removeADJ(int rep)
Removes a specific repetition of ADJ (Adjustment)
|
LOC |
removeLOC(int rep)
Removes a specific repetition of LOC (Location Identification)
|
NTE |
removeNTE(int rep)
Removes a specific repetition of NTE (Notes and Comments)
|
ROL |
removeROL(int rep)
Removes a specific repetition of ROL (Role)
|
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_E20_PSL_ITEM_INFO(Group parent, ModelClassFactory factory)
public String getVersion()
public NTE getNTE()
public NTE getNTE(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 getNTEReps()
public List<NTE> getNTEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of NTE.
Note that unlike getNTE(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertNTE(NTE structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public NTE insertNTE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public NTE removeNTE(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)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)public LOC getLOC()
public LOC getLOC(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 getLOCReps()
public List<LOC> getLOCAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of LOC.
Note that unlike getLOC(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertLOC(LOC structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LOC insertLOC(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public LOC removeLOC(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public ROL getROL(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 getROLReps()
public List<ROL> getROLAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ROL.
Note that unlike getROL(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertROL(ROL structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ROL insertROL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public ROL removeROL(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001-2013 University Health Network. All Rights Reserved.