public class ORN_O02_PIDNTEORCRQDRQ1NTE extends AbstractGroup
Represents a ORN_O02_PIDNTEORCRQDRQ1NTE 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 |
---|
ORN_O02_PIDNTEORCRQDRQ1NTE(Group parent,
ModelClassFactory factory)
Creates a new ORN_O02_PIDNTEORCRQDRQ1NTE group
|
Modifier and Type | Method and Description |
---|---|
ORN_O02_ORCRQDRQ1NTE |
getORCRQDRQ1NTE()
Returns
the first repetition of
ORCRQDRQ1NTE (a Group object) - creates it if necessary
|
ORN_O02_ORCRQDRQ1NTE |
getORCRQDRQ1NTE(int rep)
Returns a specific repetition of
ORCRQDRQ1NTE (a Group object) - creates it if necessary
|
List<ORN_O02_ORCRQDRQ1NTE> |
getORCRQDRQ1NTEAll()
Returns a non-modifiable List containing all current existing repetitions of ORCRQDRQ1NTE.
|
int |
getORCRQDRQ1NTEReps()
Returns the number of existing repetitions of ORCRQDRQ1NTE
|
ORN_O02_PIDNTE |
getPIDNTE()
Returns
PIDNTE (a Group object) - creates it if necessary
|
String |
getVersion()
Returns "2.3.1"
|
ORN_O02_ORCRQDRQ1NTE |
insertORCRQDRQ1NTE(int rep)
Inserts a specific repetition of ORCRQDRQ1NTE (a Group object)
|
void |
insertORCRQDRQ1NTE(ORN_O02_ORCRQDRQ1NTE structure,
int rep)
Inserts a specific repetition of ORCRQDRQ1NTE (a Group object)
|
ORN_O02_ORCRQDRQ1NTE |
removeORCRQDRQ1NTE(int rep)
Removes a specific repetition of ORCRQDRQ1NTE (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 ORN_O02_PIDNTEORCRQDRQ1NTE(Group parent, ModelClassFactory factory)
public String getVersion()
public ORN_O02_PIDNTE getPIDNTE()
public ORN_O02_ORCRQDRQ1NTE getORCRQDRQ1NTE()
public ORN_O02_ORCRQDRQ1NTE getORCRQDRQ1NTE(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 getORCRQDRQ1NTEReps()
public List<ORN_O02_ORCRQDRQ1NTE> getORCRQDRQ1NTEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ORCRQDRQ1NTE.
Note that unlike getORCRQDRQ1NTE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertORCRQDRQ1NTE(ORN_O02_ORCRQDRQ1NTE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORN_O02_ORCRQDRQ1NTE insertORCRQDRQ1NTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public ORN_O02_ORCRQDRQ1NTE removeORCRQDRQ1NTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.