public class OMG_O19_PRIOR_RESULT extends AbstractGroup
Represents a OMG_O19_PRIOR_RESULT 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 |
|---|
OMG_O19_PRIOR_RESULT(Group parent,
ModelClassFactory factory)
Creates a new OMG_O19_PRIOR_RESULT group
|
| Modifier and Type | Method and Description |
|---|---|
AL1 |
getAL1()
Returns
the first repetition of
AL1 (Patient allergy information) - creates it if necessary
|
AL1 |
getAL1(int rep)
Returns a specific repetition of
AL1 (Patient allergy information) - creates it if necessary
|
List<AL1> |
getAL1All()
Returns a non-modifiable List containing all current existing repetitions of AL1.
|
int |
getAL1Reps()
Returns the number of existing repetitions of AL1
|
OMG_O19_ORDER_PRIOR |
getORDER_PRIOR()
Returns
the first repetition of
ORDER_PRIOR (a Group object) - creates it if necessary
|
OMG_O19_ORDER_PRIOR |
getORDER_PRIOR(int rep)
Returns a specific repetition of
ORDER_PRIOR (a Group object) - creates it if necessary
|
List<OMG_O19_ORDER_PRIOR> |
getORDER_PRIORAll()
Returns a non-modifiable List containing all current existing repetitions of ORDER_PRIOR.
|
int |
getORDER_PRIORReps()
Returns the number of existing repetitions of ORDER_PRIOR
|
OMG_O19_PATIENT_PRIOR |
getPATIENT_PRIOR()
Returns
PATIENT_PRIOR (a Group object) - creates it if necessary
|
OMG_O19_PATIENT_VISIT_PRIOR |
getPATIENT_VISIT_PRIOR()
Returns
PATIENT_VISIT_PRIOR (a Group object) - creates it if necessary
|
String |
getVersion()
Returns "2.4"
|
void |
insertAL1(AL1 structure,
int rep)
Inserts a specific repetition of AL1 (Patient allergy information)
|
AL1 |
insertAL1(int rep)
Inserts a specific repetition of AL1 (Patient allergy information)
|
OMG_O19_ORDER_PRIOR |
insertORDER_PRIOR(int rep)
Inserts a specific repetition of ORDER_PRIOR (a Group object)
|
void |
insertORDER_PRIOR(OMG_O19_ORDER_PRIOR structure,
int rep)
Inserts a specific repetition of ORDER_PRIOR (a Group object)
|
AL1 |
removeAL1(int rep)
Removes a specific repetition of AL1 (Patient allergy information)
|
OMG_O19_ORDER_PRIOR |
removeORDER_PRIOR(int rep)
Removes a specific repetition of ORDER_PRIOR (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, visitNestedStructuresgetMessage, getParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMessage, getParentpublic OMG_O19_PRIOR_RESULT(Group parent, ModelClassFactory factory)
public String getVersion()
public OMG_O19_PATIENT_PRIOR getPATIENT_PRIOR()
public OMG_O19_PATIENT_VISIT_PRIOR getPATIENT_VISIT_PRIOR()
public AL1 getAL1()
public AL1 getAL1(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 getAL1Reps()
public List<AL1> getAL1All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of AL1.
Note that unlike getAL1(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertAL1(AL1 structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public AL1 insertAL1(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public AL1 removeAL1(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)public OMG_O19_ORDER_PRIOR getORDER_PRIOR()
public OMG_O19_ORDER_PRIOR getORDER_PRIOR(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 getORDER_PRIORReps()
public List<OMG_O19_ORDER_PRIOR> getORDER_PRIORAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of ORDER_PRIOR.
Note that unlike getORDER_PRIOR(), this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exceptionpublic void insertORDER_PRIOR(OMG_O19_ORDER_PRIOR structure, int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OMG_O19_ORDER_PRIOR insertORDER_PRIOR(int rep) throws HL7Exception
HL7ExceptionAbstractGroup#insertRepetition(Structure, int)public OMG_O19_ORDER_PRIOR removeORDER_PRIOR(int rep) throws HL7Exception
HL7ExceptionAbstractGroup.removeRepetition(String, int)Copyright © 2001–2017 University Health Network. All rights reserved.