public class PEX_P07_PEX_CAUSE extends AbstractGroup
Represents a PEX_P07_PEX_CAUSE 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 |
---|
PEX_P07_PEX_CAUSE(Group parent,
ModelClassFactory factory)
Creates a new PEX_P07_PEX_CAUSE group
|
Modifier and Type | Method and Description |
---|---|
PEX_P07_ASSOCIATED_PERSON |
getASSOCIATED_PERSON()
Returns
ASSOCIATED_PERSON (a Group object) - creates it if necessary
|
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
|
OBX |
getOBX()
Returns
the first repetition of
OBX (Observation/Result) - creates it if necessary
|
OBX |
getOBX(int rep)
Returns a specific repetition of
OBX (Observation/Result) - creates it if necessary
|
List<OBX> |
getOBXAll()
Returns a non-modifiable List containing all current existing repetitions of OBX.
|
int |
getOBXReps()
Returns the number of existing repetitions of OBX
|
PCR |
getPCR()
Returns
PCR (Possible Causal Relationship) - creates it if necessary
|
PRB |
getPRB()
Returns
the first repetition of
PRB (Problem Details) - creates it if necessary
|
PRB |
getPRB(int rep)
Returns a specific repetition of
PRB (Problem Details) - creates it if necessary
|
List<PRB> |
getPRBAll()
Returns a non-modifiable List containing all current existing repetitions of PRB.
|
int |
getPRBReps()
Returns the number of existing repetitions of PRB
|
PEX_P07_RX_ADMINISTRATION |
getRX_ADMINISTRATION()
Returns
the first repetition of
RX_ADMINISTRATION (a Group object) - creates it if necessary
|
PEX_P07_RX_ADMINISTRATION |
getRX_ADMINISTRATION(int rep)
Returns a specific repetition of
RX_ADMINISTRATION (a Group object) - creates it if necessary
|
List<PEX_P07_RX_ADMINISTRATION> |
getRX_ADMINISTRATIONAll()
Returns a non-modifiable List containing all current existing repetitions of RX_ADMINISTRATION.
|
int |
getRX_ADMINISTRATIONReps()
Returns the number of existing repetitions of RX_ADMINISTRATION
|
PEX_P07_RX_ORDER |
getRX_ORDER()
Returns
RX_ORDER (a Group object) - creates it if necessary
|
PEX_P07_STUDY |
getSTUDY()
Returns
the first repetition of
STUDY (a Group object) - creates it if necessary
|
PEX_P07_STUDY |
getSTUDY(int rep)
Returns a specific repetition of
STUDY (a Group object) - creates it if necessary
|
List<PEX_P07_STUDY> |
getSTUDYAll()
Returns a non-modifiable List containing all current existing repetitions of STUDY.
|
int |
getSTUDYReps()
Returns the number of existing repetitions of STUDY
|
String |
getVersion()
Returns "2.5"
|
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)
|
OBX |
insertOBX(int rep)
Inserts a specific repetition of OBX (Observation/Result)
|
void |
insertOBX(OBX structure,
int rep)
Inserts a specific repetition of OBX (Observation/Result)
|
PRB |
insertPRB(int rep)
Inserts a specific repetition of PRB (Problem Details)
|
void |
insertPRB(PRB structure,
int rep)
Inserts a specific repetition of PRB (Problem Details)
|
PEX_P07_RX_ADMINISTRATION |
insertRX_ADMINISTRATION(int rep)
Inserts a specific repetition of RX_ADMINISTRATION (a Group object)
|
void |
insertRX_ADMINISTRATION(PEX_P07_RX_ADMINISTRATION structure,
int rep)
Inserts a specific repetition of RX_ADMINISTRATION (a Group object)
|
PEX_P07_STUDY |
insertSTUDY(int rep)
Inserts a specific repetition of STUDY (a Group object)
|
void |
insertSTUDY(PEX_P07_STUDY structure,
int rep)
Inserts a specific repetition of STUDY (a Group object)
|
NTE |
removeNTE(int rep)
Removes a specific repetition of NTE (Notes and Comments)
|
OBX |
removeOBX(int rep)
Removes a specific repetition of OBX (Observation/Result)
|
PRB |
removePRB(int rep)
Removes a specific repetition of PRB (Problem Details)
|
PEX_P07_RX_ADMINISTRATION |
removeRX_ADMINISTRATION(int rep)
Removes a specific repetition of RX_ADMINISTRATION (a Group object)
|
PEX_P07_STUDY |
removeSTUDY(int rep)
Removes a specific repetition of STUDY (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 PEX_P07_PEX_CAUSE(Group parent, ModelClassFactory factory)
public String getVersion()
public PEX_P07_RX_ORDER getRX_ORDER()
public PEX_P07_RX_ADMINISTRATION getRX_ADMINISTRATION()
public PEX_P07_RX_ADMINISTRATION getRX_ADMINISTRATION(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 getRX_ADMINISTRATIONReps()
public List<PEX_P07_RX_ADMINISTRATION> getRX_ADMINISTRATIONAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of RX_ADMINISTRATION.
Note that unlike getRX_ADMINISTRATION()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertRX_ADMINISTRATION(PEX_P07_RX_ADMINISTRATION structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PEX_P07_RX_ADMINISTRATION insertRX_ADMINISTRATION(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PEX_P07_RX_ADMINISTRATION removeRX_ADMINISTRATION(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public PRB getPRB()
public PRB getPRB(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 getPRBReps()
public List<PRB> getPRBAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PRB.
Note that unlike getPRB()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPRB(PRB structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRB insertPRB(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PRB removePRB(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public OBX getOBX()
public OBX getOBX(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 getOBXReps()
public List<OBX> getOBXAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of OBX.
Note that unlike getOBX()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertOBX(OBX structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public OBX insertOBX(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public OBX removeOBX(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
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.
HL7Exception
public void insertNTE(NTE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NTE insertNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NTE removeNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public PEX_P07_ASSOCIATED_PERSON getASSOCIATED_PERSON()
public PEX_P07_STUDY getSTUDY()
public PEX_P07_STUDY getSTUDY(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 getSTUDYReps()
public List<PEX_P07_STUDY> getSTUDYAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of STUDY.
Note that unlike getSTUDY()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertSTUDY(PEX_P07_STUDY structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PEX_P07_STUDY insertSTUDY(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public PEX_P07_STUDY removeSTUDY(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.