public class CCM_I21 extends AbstractMessage
Represents a CCM_I21 message structure (see chapter 11.6.1). This structure contains the following elements:
log
Constructor and Description |
---|
CCM_I21()
Creates a new CCM_I21 message with DefaultModelClassFactory.
|
CCM_I21(ModelClassFactory factory)
Creates a new CCM_I21 message with custom ModelClassFactory.
|
Modifier and Type | Method and Description |
---|---|
CCM_I21_APPOINTMENT_HISTORY |
getAPPOINTMENT_HISTORY()
Returns
the first repetition of
APPOINTMENT_HISTORY (a Group object) - creates it if necessary
|
CCM_I21_APPOINTMENT_HISTORY |
getAPPOINTMENT_HISTORY(int rep)
Returns a specific repetition of
APPOINTMENT_HISTORY (a Group object) - creates it if necessary
|
List<CCM_I21_APPOINTMENT_HISTORY> |
getAPPOINTMENT_HISTORYAll()
Returns a non-modifiable List containing all current existing repetitions of APPOINTMENT_HISTORY.
|
int |
getAPPOINTMENT_HISTORYReps()
Returns the number of existing repetitions of APPOINTMENT_HISTORY
|
CCM_I21_CLINICAL_HISTORY |
getCLINICAL_HISTORY()
Returns
the first repetition of
CLINICAL_HISTORY (a Group object) - creates it if necessary
|
CCM_I21_CLINICAL_HISTORY |
getCLINICAL_HISTORY(int rep)
Returns a specific repetition of
CLINICAL_HISTORY (a Group object) - creates it if necessary
|
List<CCM_I21_CLINICAL_HISTORY> |
getCLINICAL_HISTORYAll()
Returns a non-modifiable List containing all current existing repetitions of CLINICAL_HISTORY.
|
int |
getCLINICAL_HISTORYReps()
Returns the number of existing repetitions of CLINICAL_HISTORY
|
CCM_I21_GOAL |
getGOAL()
Returns
the first repetition of
GOAL (a Group object) - creates it if necessary
|
CCM_I21_GOAL |
getGOAL(int rep)
Returns a specific repetition of
GOAL (a Group object) - creates it if necessary
|
List<CCM_I21_GOAL> |
getGOALAll()
Returns a non-modifiable List containing all current existing repetitions of GOAL.
|
int |
getGOALReps()
Returns the number of existing repetitions of GOAL
|
CCM_I21_INSURANCE |
getINSURANCE()
Returns
the first repetition of
INSURANCE (a Group object) - creates it if necessary
|
CCM_I21_INSURANCE |
getINSURANCE(int rep)
Returns a specific repetition of
INSURANCE (a Group object) - creates it if necessary
|
List<CCM_I21_INSURANCE> |
getINSURANCEAll()
Returns a non-modifiable List containing all current existing repetitions of INSURANCE.
|
int |
getINSURANCEReps()
Returns the number of existing repetitions of INSURANCE
|
CCM_I21_MEDICATION_HISTORY |
getMEDICATION_HISTORY()
Returns
the first repetition of
MEDICATION_HISTORY (a Group object) - creates it if necessary
|
CCM_I21_MEDICATION_HISTORY |
getMEDICATION_HISTORY(int rep)
Returns a specific repetition of
MEDICATION_HISTORY (a Group object) - creates it if necessary
|
List<CCM_I21_MEDICATION_HISTORY> |
getMEDICATION_HISTORYAll()
Returns a non-modifiable List containing all current existing repetitions of MEDICATION_HISTORY.
|
int |
getMEDICATION_HISTORYReps()
Returns the number of existing repetitions of MEDICATION_HISTORY
|
MSH |
getMSH()
Returns
MSH (Message Header) - creates it if necessary
|
NK1 |
getNK1()
Returns
the first repetition of
NK1 (Next of Kin / Associated Parties) - creates it if necessary
|
NK1 |
getNK1(int rep)
Returns a specific repetition of
NK1 (Next of Kin / Associated Parties) - creates it if necessary
|
List<NK1> |
getNK1All()
Returns a non-modifiable List containing all current existing repetitions of NK1.
|
int |
getNK1Reps()
Returns the number of existing repetitions of NK1
|
CCM_I21_PATHWAY |
getPATHWAY()
Returns
the first repetition of
PATHWAY (a Group object) - creates it if necessary
|
CCM_I21_PATHWAY |
getPATHWAY(int rep)
Returns a specific repetition of
PATHWAY (a Group object) - creates it if necessary
|
List<CCM_I21_PATHWAY> |
getPATHWAYAll()
Returns a non-modifiable List containing all current existing repetitions of PATHWAY.
|
int |
getPATHWAYReps()
Returns the number of existing repetitions of PATHWAY
|
CCM_I21_PATIENT_VISITS |
getPATIENT_VISITS()
Returns
the first repetition of
PATIENT_VISITS (a Group object) - creates it if necessary
|
CCM_I21_PATIENT_VISITS |
getPATIENT_VISITS(int rep)
Returns a specific repetition of
PATIENT_VISITS (a Group object) - creates it if necessary
|
List<CCM_I21_PATIENT_VISITS> |
getPATIENT_VISITSAll()
Returns a non-modifiable List containing all current existing repetitions of PATIENT_VISITS.
|
int |
getPATIENT_VISITSReps()
Returns the number of existing repetitions of PATIENT_VISITS
|
PD1 |
getPD1()
Returns
PD1 (Patient Additional Demographic) - creates it if necessary
|
PID |
getPID()
Returns
PID (Patient Identification) - creates it if necessary
|
CCM_I21_PROBLEM |
getPROBLEM()
Returns
the first repetition of
PROBLEM (a Group object) - creates it if necessary
|
CCM_I21_PROBLEM |
getPROBLEM(int rep)
Returns a specific repetition of
PROBLEM (a Group object) - creates it if necessary
|
List<CCM_I21_PROBLEM> |
getPROBLEMAll()
Returns a non-modifiable List containing all current existing repetitions of PROBLEM.
|
int |
getPROBLEMReps()
Returns the number of existing repetitions of PROBLEM
|
REL |
getREL()
Returns
the first repetition of
REL (Clinical Relationship Segment) - creates it if necessary
|
REL |
getREL(int rep)
Returns a specific repetition of
REL (Clinical Relationship Segment) - creates it if necessary
|
List<REL> |
getRELAll()
Returns a non-modifiable List containing all current existing repetitions of REL.
|
int |
getRELReps()
Returns the number of existing repetitions of REL
|
SFT |
getSFT()
Returns
the first repetition of
SFT (Software Segment) - creates it if necessary
|
SFT |
getSFT(int rep)
Returns a specific repetition of
SFT (Software Segment) - creates it if necessary
|
List<SFT> |
getSFTAll()
Returns a non-modifiable List containing all current existing repetitions of SFT.
|
int |
getSFTReps()
Returns the number of existing repetitions of SFT
|
UAC |
getUAC()
Returns
UAC (User Authentication Credential Segment) - creates it if necessary
|
String |
getVersion()
Returns "2.7"
|
void |
insertAPPOINTMENT_HISTORY(CCM_I21_APPOINTMENT_HISTORY structure,
int rep)
Inserts a specific repetition of APPOINTMENT_HISTORY (a Group object)
|
CCM_I21_APPOINTMENT_HISTORY |
insertAPPOINTMENT_HISTORY(int rep)
Inserts a specific repetition of APPOINTMENT_HISTORY (a Group object)
|
void |
insertCLINICAL_HISTORY(CCM_I21_CLINICAL_HISTORY structure,
int rep)
Inserts a specific repetition of CLINICAL_HISTORY (a Group object)
|
CCM_I21_CLINICAL_HISTORY |
insertCLINICAL_HISTORY(int rep)
Inserts a specific repetition of CLINICAL_HISTORY (a Group object)
|
void |
insertGOAL(CCM_I21_GOAL structure,
int rep)
Inserts a specific repetition of GOAL (a Group object)
|
CCM_I21_GOAL |
insertGOAL(int rep)
Inserts a specific repetition of GOAL (a Group object)
|
void |
insertINSURANCE(CCM_I21_INSURANCE structure,
int rep)
Inserts a specific repetition of INSURANCE (a Group object)
|
CCM_I21_INSURANCE |
insertINSURANCE(int rep)
Inserts a specific repetition of INSURANCE (a Group object)
|
void |
insertMEDICATION_HISTORY(CCM_I21_MEDICATION_HISTORY structure,
int rep)
Inserts a specific repetition of MEDICATION_HISTORY (a Group object)
|
CCM_I21_MEDICATION_HISTORY |
insertMEDICATION_HISTORY(int rep)
Inserts a specific repetition of MEDICATION_HISTORY (a Group object)
|
NK1 |
insertNK1(int rep)
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
|
void |
insertNK1(NK1 structure,
int rep)
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
|
void |
insertPATHWAY(CCM_I21_PATHWAY structure,
int rep)
Inserts a specific repetition of PATHWAY (a Group object)
|
CCM_I21_PATHWAY |
insertPATHWAY(int rep)
Inserts a specific repetition of PATHWAY (a Group object)
|
void |
insertPATIENT_VISITS(CCM_I21_PATIENT_VISITS structure,
int rep)
Inserts a specific repetition of PATIENT_VISITS (a Group object)
|
CCM_I21_PATIENT_VISITS |
insertPATIENT_VISITS(int rep)
Inserts a specific repetition of PATIENT_VISITS (a Group object)
|
void |
insertPROBLEM(CCM_I21_PROBLEM structure,
int rep)
Inserts a specific repetition of PROBLEM (a Group object)
|
CCM_I21_PROBLEM |
insertPROBLEM(int rep)
Inserts a specific repetition of PROBLEM (a Group object)
|
REL |
insertREL(int rep)
Inserts a specific repetition of REL (Clinical Relationship Segment)
|
void |
insertREL(REL structure,
int rep)
Inserts a specific repetition of REL (Clinical Relationship Segment)
|
SFT |
insertSFT(int rep)
Inserts a specific repetition of SFT (Software Segment)
|
void |
insertSFT(SFT structure,
int rep)
Inserts a specific repetition of SFT (Software Segment)
|
CCM_I21_APPOINTMENT_HISTORY |
removeAPPOINTMENT_HISTORY(int rep)
Removes a specific repetition of APPOINTMENT_HISTORY (a Group object)
|
CCM_I21_CLINICAL_HISTORY |
removeCLINICAL_HISTORY(int rep)
Removes a specific repetition of CLINICAL_HISTORY (a Group object)
|
CCM_I21_GOAL |
removeGOAL(int rep)
Removes a specific repetition of GOAL (a Group object)
|
CCM_I21_INSURANCE |
removeINSURANCE(int rep)
Removes a specific repetition of INSURANCE (a Group object)
|
CCM_I21_MEDICATION_HISTORY |
removeMEDICATION_HISTORY(int rep)
Removes a specific repetition of MEDICATION_HISTORY (a Group object)
|
NK1 |
removeNK1(int rep)
Removes a specific repetition of NK1 (Next of Kin / Associated Parties)
|
CCM_I21_PATHWAY |
removePATHWAY(int rep)
Removes a specific repetition of PATHWAY (a Group object)
|
CCM_I21_PATIENT_VISITS |
removePATIENT_VISITS(int rep)
Removes a specific repetition of PATIENT_VISITS (a Group object)
|
CCM_I21_PROBLEM |
removePROBLEM(int rep)
Removes a specific repetition of PROBLEM (a Group object)
|
REL |
removeREL(int rep)
Removes a specific repetition of REL (Clinical Relationship Segment)
|
SFT |
removeSFT(int rep)
Removes a specific repetition of SFT (Software Segment)
|
accept, encode, fillResponseHeader, generateACK, generateACK, generateACK, getEncodingCharactersValue, getFieldSeparatorValue, getMessage, getParent, getParser, getValidationContext, initQuickstart, parse, printStructure, printStructure, setParser, toString
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addNonstandardSegment, addNonstandardSegment, get, get, getAll, getClass, getNames, isChoiceElement, isGroup, isRepeating, isRequired
isEmpty, provideLocation
public CCM_I21()
public CCM_I21(ModelClassFactory factory)
public String getVersion()
getVersion
in interface Message
getVersion
in class AbstractMessage
public SFT getSFT()
Returns the first repetition of SFT (Software Segment) - creates it if necessary
public SFT getSFT(int rep)
Returns a specific repetition of SFT (Software Segment) - creates it if necessary
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 getSFTReps()
Returns the number of existing repetitions of SFT
public List<SFT> getSFTAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of SFT.
Note that unlike getSFT()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertSFT(SFT structure, int rep) throws HL7Exception
Inserts a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SFT insertSFT(int rep) throws HL7Exception
Inserts a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public SFT removeSFT(int rep) throws HL7Exception
Removes a specific repetition of SFT (Software Segment)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public UAC getUAC()
Returns UAC (User Authentication Credential Segment) - creates it if necessary
public NK1 getNK1()
Returns the first repetition of NK1 (Next of Kin / Associated Parties) - creates it if necessary
public NK1 getNK1(int rep)
Returns a specific repetition of NK1 (Next of Kin / Associated Parties) - creates it if necessary
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 getNK1Reps()
Returns the number of existing repetitions of NK1
public List<NK1> getNK1All() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of NK1.
Note that unlike getNK1()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertNK1(NK1 structure, int rep) throws HL7Exception
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NK1 insertNK1(int rep) throws HL7Exception
Inserts a specific repetition of NK1 (Next of Kin / Associated Parties)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NK1 removeNK1(int rep) throws HL7Exception
Removes a specific repetition of NK1 (Next of Kin / Associated Parties)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_INSURANCE getINSURANCE()
Returns the first repetition of INSURANCE (a Group object) - creates it if necessary
public CCM_I21_INSURANCE getINSURANCE(int rep)
Returns a specific repetition of INSURANCE (a Group object) - creates it if necessary
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 getINSURANCEReps()
Returns the number of existing repetitions of INSURANCE
public List<CCM_I21_INSURANCE> getINSURANCEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of INSURANCE.
Note that unlike getINSURANCE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertINSURANCE(CCM_I21_INSURANCE structure, int rep) throws HL7Exception
Inserts a specific repetition of INSURANCE (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_INSURANCE insertINSURANCE(int rep) throws HL7Exception
Inserts a specific repetition of INSURANCE (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_INSURANCE removeINSURANCE(int rep) throws HL7Exception
Removes a specific repetition of INSURANCE (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_APPOINTMENT_HISTORY getAPPOINTMENT_HISTORY()
Returns the first repetition of APPOINTMENT_HISTORY (a Group object) - creates it if necessary
public CCM_I21_APPOINTMENT_HISTORY getAPPOINTMENT_HISTORY(int rep)
Returns a specific repetition of APPOINTMENT_HISTORY (a Group object) - creates it if necessary
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 getAPPOINTMENT_HISTORYReps()
Returns the number of existing repetitions of APPOINTMENT_HISTORY
public List<CCM_I21_APPOINTMENT_HISTORY> getAPPOINTMENT_HISTORYAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of APPOINTMENT_HISTORY.
Note that unlike getAPPOINTMENT_HISTORY()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertAPPOINTMENT_HISTORY(CCM_I21_APPOINTMENT_HISTORY structure, int rep) throws HL7Exception
Inserts a specific repetition of APPOINTMENT_HISTORY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_APPOINTMENT_HISTORY insertAPPOINTMENT_HISTORY(int rep) throws HL7Exception
Inserts a specific repetition of APPOINTMENT_HISTORY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_APPOINTMENT_HISTORY removeAPPOINTMENT_HISTORY(int rep) throws HL7Exception
Removes a specific repetition of APPOINTMENT_HISTORY (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_CLINICAL_HISTORY getCLINICAL_HISTORY()
Returns the first repetition of CLINICAL_HISTORY (a Group object) - creates it if necessary
public CCM_I21_CLINICAL_HISTORY getCLINICAL_HISTORY(int rep)
Returns a specific repetition of CLINICAL_HISTORY (a Group object) - creates it if necessary
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 getCLINICAL_HISTORYReps()
Returns the number of existing repetitions of CLINICAL_HISTORY
public List<CCM_I21_CLINICAL_HISTORY> getCLINICAL_HISTORYAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of CLINICAL_HISTORY.
Note that unlike getCLINICAL_HISTORY()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertCLINICAL_HISTORY(CCM_I21_CLINICAL_HISTORY structure, int rep) throws HL7Exception
Inserts a specific repetition of CLINICAL_HISTORY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_CLINICAL_HISTORY insertCLINICAL_HISTORY(int rep) throws HL7Exception
Inserts a specific repetition of CLINICAL_HISTORY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_CLINICAL_HISTORY removeCLINICAL_HISTORY(int rep) throws HL7Exception
Removes a specific repetition of CLINICAL_HISTORY (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_PATIENT_VISITS getPATIENT_VISITS()
Returns the first repetition of PATIENT_VISITS (a Group object) - creates it if necessary
public CCM_I21_PATIENT_VISITS getPATIENT_VISITS(int rep)
Returns a specific repetition of PATIENT_VISITS (a Group object) - creates it if necessary
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 getPATIENT_VISITSReps()
Returns the number of existing repetitions of PATIENT_VISITS
public List<CCM_I21_PATIENT_VISITS> getPATIENT_VISITSAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PATIENT_VISITS.
Note that unlike getPATIENT_VISITS()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPATIENT_VISITS(CCM_I21_PATIENT_VISITS structure, int rep) throws HL7Exception
Inserts a specific repetition of PATIENT_VISITS (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_PATIENT_VISITS insertPATIENT_VISITS(int rep) throws HL7Exception
Inserts a specific repetition of PATIENT_VISITS (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_PATIENT_VISITS removePATIENT_VISITS(int rep) throws HL7Exception
Removes a specific repetition of PATIENT_VISITS (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_MEDICATION_HISTORY getMEDICATION_HISTORY()
Returns the first repetition of MEDICATION_HISTORY (a Group object) - creates it if necessary
public CCM_I21_MEDICATION_HISTORY getMEDICATION_HISTORY(int rep)
Returns a specific repetition of MEDICATION_HISTORY (a Group object) - creates it if necessary
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 getMEDICATION_HISTORYReps()
Returns the number of existing repetitions of MEDICATION_HISTORY
public List<CCM_I21_MEDICATION_HISTORY> getMEDICATION_HISTORYAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of MEDICATION_HISTORY.
Note that unlike getMEDICATION_HISTORY()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertMEDICATION_HISTORY(CCM_I21_MEDICATION_HISTORY structure, int rep) throws HL7Exception
Inserts a specific repetition of MEDICATION_HISTORY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_MEDICATION_HISTORY insertMEDICATION_HISTORY(int rep) throws HL7Exception
Inserts a specific repetition of MEDICATION_HISTORY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_MEDICATION_HISTORY removeMEDICATION_HISTORY(int rep) throws HL7Exception
Removes a specific repetition of MEDICATION_HISTORY (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_PROBLEM getPROBLEM()
Returns the first repetition of PROBLEM (a Group object) - creates it if necessary
public CCM_I21_PROBLEM getPROBLEM(int rep)
Returns a specific repetition of PROBLEM (a Group object) - creates it if necessary
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 getPROBLEMReps()
Returns the number of existing repetitions of PROBLEM
public List<CCM_I21_PROBLEM> getPROBLEMAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PROBLEM.
Note that unlike getPROBLEM()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPROBLEM(CCM_I21_PROBLEM structure, int rep) throws HL7Exception
Inserts a specific repetition of PROBLEM (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_PROBLEM insertPROBLEM(int rep) throws HL7Exception
Inserts a specific repetition of PROBLEM (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_PROBLEM removePROBLEM(int rep) throws HL7Exception
Removes a specific repetition of PROBLEM (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_GOAL getGOAL()
Returns the first repetition of GOAL (a Group object) - creates it if necessary
public CCM_I21_GOAL getGOAL(int rep)
Returns a specific repetition of GOAL (a Group object) - creates it if necessary
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 getGOALReps()
Returns the number of existing repetitions of GOAL
public List<CCM_I21_GOAL> getGOALAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of GOAL.
Note that unlike getGOAL()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertGOAL(CCM_I21_GOAL structure, int rep) throws HL7Exception
Inserts a specific repetition of GOAL (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_GOAL insertGOAL(int rep) throws HL7Exception
Inserts a specific repetition of GOAL (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_GOAL removeGOAL(int rep) throws HL7Exception
Removes a specific repetition of GOAL (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public CCM_I21_PATHWAY getPATHWAY()
Returns the first repetition of PATHWAY (a Group object) - creates it if necessary
public CCM_I21_PATHWAY getPATHWAY(int rep)
Returns a specific repetition of PATHWAY (a Group object) - creates it if necessary
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 getPATHWAYReps()
Returns the number of existing repetitions of PATHWAY
public List<CCM_I21_PATHWAY> getPATHWAYAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PATHWAY.
Note that unlike getPATHWAY()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPATHWAY(CCM_I21_PATHWAY structure, int rep) throws HL7Exception
Inserts a specific repetition of PATHWAY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_PATHWAY insertPATHWAY(int rep) throws HL7Exception
Inserts a specific repetition of PATHWAY (a Group object)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public CCM_I21_PATHWAY removePATHWAY(int rep) throws HL7Exception
Removes a specific repetition of PATHWAY (a Group object)
HL7Exception
AbstractGroup.removeRepetition(String, int)
public REL getREL()
Returns the first repetition of REL (Clinical Relationship Segment) - creates it if necessary
public REL getREL(int rep)
Returns a specific repetition of REL (Clinical Relationship Segment) - creates it if necessary
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 getRELReps()
Returns the number of existing repetitions of REL
public List<REL> getRELAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of REL.
Note that unlike getREL()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertREL(REL structure, int rep) throws HL7Exception
Inserts a specific repetition of REL (Clinical Relationship Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public REL insertREL(int rep) throws HL7Exception
Inserts a specific repetition of REL (Clinical Relationship Segment)
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public REL removeREL(int rep) throws HL7Exception
Removes a specific repetition of REL (Clinical Relationship Segment)
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.