Class PPT_PCL_GOAL
- All Implemented Interfaces:
Group,Structure,Visitable,Serializable
Represents a PPT_PCL_GOAL 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:
- 1: GOL (Goal Detail)
- 2: NTE (Notes and Comments) optional repeating
- 3: VAR (Variance) optional repeating
- 4: PPT_PCL_GOAL_ROLE (a Group object) optional repeating
- 5: PPT_PCL_GOAL_OBSERVATION (a Group object) optional repeating
- 6: PPT_PCL_PROBLEM (a Group object) optional repeating
- 7: PPT_PCL_ORDER (a Group object) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
ConstructorsConstructorDescriptionPPT_PCL_GOAL(Group parent, ModelClassFactory factory) Creates a new PPT_PCL_GOAL group -
Method Summary
Modifier and TypeMethodDescriptionReturns the first repetition of GOAL_OBSERVATION (a Group object) - creates it if necessarygetGOAL_OBSERVATION(int rep) Returns a specific repetition of GOAL_OBSERVATION (a Group object) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of GOAL_OBSERVATION.intReturns the number of existing repetitions of GOAL_OBSERVATIONReturns the first repetition of GOAL_ROLE (a Group object) - creates it if necessarygetGOAL_ROLE(int rep) Returns a specific repetition of GOAL_ROLE (a Group object) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of GOAL_ROLE.intReturns the number of existing repetitions of GOAL_ROLEgetGOL()Returns GOL (Goal Detail) - creates it if necessarygetNTE()Returns the first repetition of NTE (Notes and Comments) - creates it if necessarygetNTE(int rep) Returns a specific repetition of NTE (Notes and Comments) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of NTE.intReturns the number of existing repetitions of NTEgetORDER()Returns the first repetition of ORDER (a Group object) - creates it if necessarygetORDER(int rep) Returns a specific repetition of ORDER (a Group object) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of ORDER.intReturns the number of existing repetitions of ORDERReturns the first repetition of PROBLEM (a Group object) - creates it if necessarygetPROBLEM(int rep) Returns a specific repetition of PROBLEM (a Group object) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of PROBLEM.intReturns the number of existing repetitions of PROBLEMgetVAR()Returns the first repetition of VAR (Variance) - creates it if necessarygetVAR(int rep) Returns a specific repetition of VAR (Variance) - creates it if necessaryReturns a non-modifiable List containing all current existing repetitions of VAR.intReturns the number of existing repetitions of VARReturns "2.4"insertGOAL_OBSERVATION(int rep) Inserts a specific repetition of GOAL_OBSERVATION (a Group object)voidinsertGOAL_OBSERVATION(PPT_PCL_GOAL_OBSERVATION structure, int rep) Inserts a specific repetition of GOAL_OBSERVATION (a Group object)insertGOAL_ROLE(int rep) Inserts a specific repetition of GOAL_ROLE (a Group object)voidinsertGOAL_ROLE(PPT_PCL_GOAL_ROLE structure, int rep) Inserts a specific repetition of GOAL_ROLE (a Group object)insertNTE(int rep) Inserts a specific repetition of NTE (Notes and Comments)voidInserts a specific repetition of NTE (Notes and Comments)insertORDER(int rep) Inserts a specific repetition of ORDER (a Group object)voidinsertORDER(PPT_PCL_ORDER structure, int rep) Inserts a specific repetition of ORDER (a Group object)insertPROBLEM(int rep) Inserts a specific repetition of PROBLEM (a Group object)voidinsertPROBLEM(PPT_PCL_PROBLEM structure, int rep) Inserts a specific repetition of PROBLEM (a Group object)insertVAR(int rep) Inserts a specific repetition of VAR (Variance)voidInserts a specific repetition of VAR (Variance)removeGOAL_OBSERVATION(int rep) Removes a specific repetition of GOAL_OBSERVATION (a Group object)removeGOAL_ROLE(int rep) Removes a specific repetition of GOAL_ROLE (a Group object)removeNTE(int rep) Removes a specific repetition of NTE (Notes and Comments)removeORDER(int rep) Removes a specific repetition of ORDER (a Group object)removePROBLEM(int rep) Removes a specific repetition of PROBLEM (a Group object)removeVAR(int rep) Removes a specific repetition of VAR (Variance)Methods inherited from class ca.uhn.hl7v2.model.AbstractGroup
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, visitNestedStructuresMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
PPT_PCL_GOAL
Creates a new PPT_PCL_GOAL group
-
-
Method Details
-
getVersion
Returns "2.4" -
getGOL
Returns GOL (Goal Detail) - creates it if necessary -
getNTE
Returns the first repetition of NTE (Notes and Comments) - creates it if necessary -
getNTE
Returns a specific repetition of NTE (Notes and Comments) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getNTEReps
Returns the number of existing repetitions of NTE -
getNTEAll
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.- Throws:
HL7Exception
-
insertNTE
Inserts a specific repetition of NTE (Notes and Comments)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertNTE
Inserts a specific repetition of NTE (Notes and Comments)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeNTE
Removes a specific repetition of NTE (Notes and Comments)- Throws:
HL7Exception- See Also:
-
getVAR
Returns the first repetition of VAR (Variance) - creates it if necessary -
getVAR
Returns a specific repetition of VAR (Variance) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getVARReps
Returns the number of existing repetitions of VAR -
getVARAll
Returns a non-modifiable List containing all current existing repetitions of VAR.
Note that unlike
getVAR(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertVAR
Inserts a specific repetition of VAR (Variance)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertVAR
Inserts a specific repetition of VAR (Variance)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeVAR
Removes a specific repetition of VAR (Variance)- Throws:
HL7Exception- See Also:
-
getGOAL_ROLE
Returns the first repetition of GOAL_ROLE (a Group object) - creates it if necessary -
getGOAL_ROLE
Returns a specific repetition of GOAL_ROLE (a Group object) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getGOAL_ROLEReps
Returns the number of existing repetitions of GOAL_ROLE -
getGOAL_ROLEAll
Returns a non-modifiable List containing all current existing repetitions of GOAL_ROLE.
Note that unlike
getGOAL_ROLE(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertGOAL_ROLE
Inserts a specific repetition of GOAL_ROLE (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertGOAL_ROLE
Inserts a specific repetition of GOAL_ROLE (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeGOAL_ROLE
Removes a specific repetition of GOAL_ROLE (a Group object)- Throws:
HL7Exception- See Also:
-
getGOAL_OBSERVATION
Returns the first repetition of GOAL_OBSERVATION (a Group object) - creates it if necessary -
getGOAL_OBSERVATION
Returns a specific repetition of GOAL_OBSERVATION (a Group object) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getGOAL_OBSERVATIONReps
Returns the number of existing repetitions of GOAL_OBSERVATION -
getGOAL_OBSERVATIONAll
Returns a non-modifiable List containing all current existing repetitions of GOAL_OBSERVATION.
Note that unlike
getGOAL_OBSERVATION(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertGOAL_OBSERVATION
Inserts a specific repetition of GOAL_OBSERVATION (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertGOAL_OBSERVATION
Inserts a specific repetition of GOAL_OBSERVATION (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeGOAL_OBSERVATION
Removes a specific repetition of GOAL_OBSERVATION (a Group object)- Throws:
HL7Exception- See Also:
-
getPROBLEM
Returns the first repetition of PROBLEM (a Group object) - creates it if necessary -
getPROBLEM
Returns a specific repetition of PROBLEM (a Group object) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getPROBLEMReps
Returns the number of existing repetitions of PROBLEM -
getPROBLEMAll
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.- Throws:
HL7Exception
-
insertPROBLEM
Inserts a specific repetition of PROBLEM (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertPROBLEM
Inserts a specific repetition of PROBLEM (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removePROBLEM
Removes a specific repetition of PROBLEM (a Group object)- Throws:
HL7Exception- See Also:
-
getORDER
Returns the first repetition of ORDER (a Group object) - creates it if necessary -
getORDER
Returns a specific repetition of ORDER (a Group object) - creates it if necessary- Parameters:
rep- The repetition index (0-indexed, i.e. the first repetition is at index 0)- Throws:
HL7Exception- if the repetition requested is more than one greater than the number of existing repetitions.
-
getORDERReps
Returns the number of existing repetitions of ORDER -
getORDERAll
Returns a non-modifiable List containing all current existing repetitions of ORDER.
Note that unlike
getORDER(), this method will not create any reps if none are already present, so an empty list may be returned.- Throws:
HL7Exception
-
insertORDER
Inserts a specific repetition of ORDER (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
insertORDER
Inserts a specific repetition of ORDER (a Group object)- Throws:
HL7Exception- See Also:
-
AbstractGroup#insertRepetition(Structure, int)
-
removeORDER
Removes a specific repetition of ORDER (a Group object)- Throws:
HL7Exception- See Also:
-