Package ca.uhn.hl7v2.model.v23.segment
Class GOL
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.GOL
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 GOL message segment (Goal Detail). This segment has the following fields:
- GOL-1: Action Code (ID)
- GOL-2: Action Date/Time (TS)
- GOL-3: Goal ID (CE)
- GOL-4: Goal Instance ID (EI)
- GOL-5: Episode of Care ID (EI) optional
- GOL-6: Goal List Priority (NM) optional
- GOL-7: Goal Established Date/Time (TS) optional
- GOL-8: Expected Goal Achievement Date/Time (TS) optional
- GOL-9: Goal Classification (CE) optional
- GOL-10: Goal Management Discipline (CE) optional
- GOL-11: Current Goal Review Status (CE) optional
- GOL-12: Current Goal Review Date/Time (TS) optional
- GOL-13: Next Goal Review Date/Time (TS) optional
- GOL-14: Previous Goal Review Date/Time (TS) optional
- GOL-15: Goal Review Interval (TQ) optional
- GOL-16: Goal Evaluation (CE) optional
- GOL-17: Goal Evaluation Comment (ST) optional repeating
- GOL-18: Goal Life Cycle Status (CE) optional
- GOL-19: Goal Life Cycle Status Date/Time (TS) optional
- GOL-20: Goal Target Type (CE) optional repeating
- GOL-21: Goal Target Name (XPN) optional repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns GOL-1: "Action Code" - creates it if necessaryReturns GOL-2: "Action Date/Time" - creates it if necessaryReturns GOL-12: "Current Goal Review Date/Time" - creates it if necessaryReturns GOL-11: "Current Goal Review Status" - creates it if necessaryReturns GOL-5: "Episode of Care ID" - creates it if necessaryReturns GOL-8: "Expected Goal Achievement Date/Time" - creates it if necessaryReturns GOL-9: "Goal Classification" - creates it if necessaryReturns GOL-7: "Goal Established Date/Time" - creates it if necessaryReturns GOL-16: "Goal Evaluation" - creates it if necessaryST[]Returns all repetitions of Goal Evaluation Comment (GOL-17).getGoalEvaluationComment(int rep) Returns a specific repetition of GOL-17: "Goal Evaluation Comment" - creates it if necessaryintReturns a count of the current number of repetitions of Goal Evaluation Comment (GOL-17).Returns GOL-3: "Goal ID" - creates it if necessaryReturns GOL-4: "Goal Instance ID" - creates it if necessaryReturns GOL-18: "Goal Life Cycle Status" - creates it if necessaryReturns GOL-19: "Goal Life Cycle Status Date/Time" - creates it if necessaryReturns GOL-6: "Goal List Priority" - creates it if necessaryReturns GOL-10: "Goal Management Discipline" - creates it if necessaryReturns GOL-15: "Goal Review Interval" - creates it if necessaryXPN[]Returns all repetitions of Goal Target Name (GOL-21).getGoalTargetName(int rep) Returns a specific repetition of GOL-21: "Goal Target Name" - creates it if necessaryintReturns a count of the current number of repetitions of Goal Target Name (GOL-21).CE[]Returns all repetitions of Goal Target Type (GOL-20).getGoalTargetType(int rep) Returns a specific repetition of GOL-20: "Goal Target Type" - creates it if necessaryintReturns a count of the current number of repetitions of Goal Target Type (GOL-20).Returns GOL-1: "Action Code" - creates it if necessaryReturns GOL-10: "Goal Management Discipline" - creates it if necessaryReturns GOL-11: "Current Goal Review Status" - creates it if necessaryReturns GOL-12: "Current Goal Review Date/Time" - creates it if necessaryReturns GOL-13: "Next Goal Review Date/Time" - creates it if necessaryReturns GOL-14: "Previous Goal Review Date/Time" - creates it if necessaryReturns GOL-15: "Goal Review Interval" - creates it if necessaryReturns GOL-16: "Goal Evaluation" - creates it if necessaryST[]Returns all repetitions of Goal Evaluation Comment (GOL-17).getGol17_GoalEvaluationComment(int rep) Returns a specific repetition of GOL-17: "Goal Evaluation Comment" - creates it if necessaryintReturns a count of the current number of repetitions of Goal Evaluation Comment (GOL-17).Returns GOL-18: "Goal Life Cycle Status" - creates it if necessaryReturns GOL-19: "Goal Life Cycle Status Date/Time" - creates it if necessaryReturns GOL-2: "Action Date/Time" - creates it if necessaryCE[]Returns all repetitions of Goal Target Type (GOL-20).getGol20_GoalTargetType(int rep) Returns a specific repetition of GOL-20: "Goal Target Type" - creates it if necessaryintReturns a count of the current number of repetitions of Goal Target Type (GOL-20).XPN[]Returns all repetitions of Goal Target Name (GOL-21).getGol21_GoalTargetName(int rep) Returns a specific repetition of GOL-21: "Goal Target Name" - creates it if necessaryintReturns a count of the current number of repetitions of Goal Target Name (GOL-21).Returns GOL-3: "Goal ID" - creates it if necessaryReturns GOL-4: "Goal Instance ID" - creates it if necessaryReturns GOL-5: "Episode of Care ID" - creates it if necessaryReturns GOL-6: "Goal List Priority" - creates it if necessaryReturns GOL-7: "Goal Established Date/Time" - creates it if necessaryReturns GOL-8: "Expected Goal Achievement Date/Time" - creates it if necessaryReturns GOL-9: "Goal Classification" - creates it if necessaryReturns GOL-13: "Next Goal Review Date/Time" - creates it if necessaryReturns GOL-14: "Previous Goal Review Date/Time" - creates it if necessaryinsertGoalEvaluationComment(int rep) Inserts a repetition of GOL-17: "Goal Evaluation Comment" at a specific indexinsertGoalTargetName(int rep) Inserts a repetition of GOL-21: "Goal Target Name" at a specific indexinsertGoalTargetType(int rep) Inserts a repetition of GOL-20: "Goal Target Type" at a specific indexinsertGol17_GoalEvaluationComment(int rep) Inserts a repetition of GOL-17: "Goal Evaluation Comment" at a specific indexinsertGol20_GoalTargetType(int rep) Inserts a repetition of GOL-20: "Goal Target Type" at a specific indexinsertGol21_GoalTargetName(int rep) Inserts a repetition of GOL-21: "Goal Target Name" at a specific indexremoveGoalEvaluationComment(int rep) Removes a repetition of GOL-17: "Goal Evaluation Comment" at a specific indexremoveGoalTargetName(int rep) Removes a repetition of GOL-21: "Goal Target Name" at a specific indexremoveGoalTargetType(int rep) Removes a repetition of GOL-20: "Goal Target Type" at a specific indexremoveGol17_GoalEvaluationComment(int rep) Removes a repetition of GOL-17: "Goal Evaluation Comment" at a specific indexremoveGol20_GoalTargetType(int rep) Removes a repetition of GOL-20: "Goal Target Type" at a specific indexremoveGol21_GoalTargetName(int rep) Removes a repetition of GOL-21: "Goal Target Name" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods 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
-
GOL
Creates a new GOL segment
-
-
Method Details
-
getActionCode
Returns GOL-1: "Action Code" - creates it if necessary -
getGol1_ActionCode
Returns GOL-1: "Action Code" - creates it if necessary -
getActionDateTime
Returns GOL-2: "Action Date/Time" - creates it if necessary -
getGol2_ActionDateTime
Returns GOL-2: "Action Date/Time" - creates it if necessary -
getGoalID
Returns GOL-3: "Goal ID" - creates it if necessary -
getGol3_GoalID
Returns GOL-3: "Goal ID" - creates it if necessary -
getGoalInstanceID
Returns GOL-4: "Goal Instance ID" - creates it if necessary -
getGol4_GoalInstanceID
Returns GOL-4: "Goal Instance ID" - creates it if necessary -
getEpisodeOfCareID
Returns GOL-5: "Episode of Care ID" - creates it if necessary -
getGol5_EpisodeOfCareID
Returns GOL-5: "Episode of Care ID" - creates it if necessary -
getGoalListPriority
Returns GOL-6: "Goal List Priority" - creates it if necessary -
getGol6_GoalListPriority
Returns GOL-6: "Goal List Priority" - creates it if necessary -
getGoalEstablishedDateTime
Returns GOL-7: "Goal Established Date/Time" - creates it if necessary -
getGol7_GoalEstablishedDateTime
Returns GOL-7: "Goal Established Date/Time" - creates it if necessary -
getExpectedGoalAchievementDateTime
Returns GOL-8: "Expected Goal Achievement Date/Time" - creates it if necessary -
getGol8_ExpectedGoalAchievementDateTime
Returns GOL-8: "Expected Goal Achievement Date/Time" - creates it if necessary -
getGoalClassification
Returns GOL-9: "Goal Classification" - creates it if necessary -
getGol9_GoalClassification
Returns GOL-9: "Goal Classification" - creates it if necessary -
getGoalManagementDiscipline
Returns GOL-10: "Goal Management Discipline" - creates it if necessary -
getGol10_GoalManagementDiscipline
Returns GOL-10: "Goal Management Discipline" - creates it if necessary -
getCurrentGoalReviewStatus
Returns GOL-11: "Current Goal Review Status" - creates it if necessary -
getGol11_CurrentGoalReviewStatus
Returns GOL-11: "Current Goal Review Status" - creates it if necessary -
getCurrentGoalReviewDateTime
Returns GOL-12: "Current Goal Review Date/Time" - creates it if necessary -
getGol12_CurrentGoalReviewDateTime
Returns GOL-12: "Current Goal Review Date/Time" - creates it if necessary -
getNextGoalReviewDateTime
Returns GOL-13: "Next Goal Review Date/Time" - creates it if necessary -
getGol13_NextGoalReviewDateTime
Returns GOL-13: "Next Goal Review Date/Time" - creates it if necessary -
getPreviousGoalReviewDateTime
Returns GOL-14: "Previous Goal Review Date/Time" - creates it if necessary -
getGol14_PreviousGoalReviewDateTime
Returns GOL-14: "Previous Goal Review Date/Time" - creates it if necessary -
getGoalReviewInterval
Returns GOL-15: "Goal Review Interval" - creates it if necessary -
getGol15_GoalReviewInterval
Returns GOL-15: "Goal Review Interval" - creates it if necessary -
getGoalEvaluation
Returns GOL-16: "Goal Evaluation" - creates it if necessary -
getGol16_GoalEvaluation
Returns GOL-16: "Goal Evaluation" - creates it if necessary -
getGoalEvaluationComment
Returns all repetitions of Goal Evaluation Comment (GOL-17). -
getGol17_GoalEvaluationComment
Returns all repetitions of Goal Evaluation Comment (GOL-17). -
getGoalEvaluationCommentReps
Returns a count of the current number of repetitions of Goal Evaluation Comment (GOL-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getGoalEvaluationComment
Returns a specific repetition of GOL-17: "Goal Evaluation Comment" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGol17_GoalEvaluationComment
Returns a specific repetition of GOL-17: "Goal Evaluation Comment" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGol17_GoalEvaluationCommentReps
Returns a count of the current number of repetitions of Goal Evaluation Comment (GOL-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertGoalEvaluationComment
Inserts a repetition of GOL-17: "Goal Evaluation Comment" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertGol17_GoalEvaluationComment
Inserts a repetition of GOL-17: "Goal Evaluation Comment" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeGoalEvaluationComment
Removes a repetition of GOL-17: "Goal Evaluation Comment" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeGol17_GoalEvaluationComment
Removes a repetition of GOL-17: "Goal Evaluation Comment" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getGoalLifeCycleStatus
Returns GOL-18: "Goal Life Cycle Status" - creates it if necessary -
getGol18_GoalLifeCycleStatus
Returns GOL-18: "Goal Life Cycle Status" - creates it if necessary -
getGoalLifeCycleStatusDateTime
Returns GOL-19: "Goal Life Cycle Status Date/Time" - creates it if necessary -
getGol19_GoalLifeCycleStatusDateTime
Returns GOL-19: "Goal Life Cycle Status Date/Time" - creates it if necessary -
getGoalTargetType
Returns all repetitions of Goal Target Type (GOL-20). -
getGol20_GoalTargetType
Returns all repetitions of Goal Target Type (GOL-20). -
getGoalTargetTypeReps
Returns a count of the current number of repetitions of Goal Target Type (GOL-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getGoalTargetType
Returns a specific repetition of GOL-20: "Goal Target Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGol20_GoalTargetType
Returns a specific repetition of GOL-20: "Goal Target Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGol20_GoalTargetTypeReps
Returns a count of the current number of repetitions of Goal Target Type (GOL-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertGoalTargetType
Inserts a repetition of GOL-20: "Goal Target Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertGol20_GoalTargetType
Inserts a repetition of GOL-20: "Goal Target Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeGoalTargetType
Removes a repetition of GOL-20: "Goal Target Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeGol20_GoalTargetType
Removes a repetition of GOL-20: "Goal Target Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getGoalTargetName
Returns all repetitions of Goal Target Name (GOL-21). -
getGol21_GoalTargetName
Returns all repetitions of Goal Target Name (GOL-21). -
getGoalTargetNameReps
Returns a count of the current number of repetitions of Goal Target Name (GOL-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getGoalTargetName
Returns a specific repetition of GOL-21: "Goal Target Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGol21_GoalTargetName
Returns a specific repetition of GOL-21: "Goal Target Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGol21_GoalTargetNameReps
Returns a count of the current number of repetitions of Goal Target Name (GOL-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertGoalTargetName
Inserts a repetition of GOL-21: "Goal Target Name" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertGol21_GoalTargetName
Inserts a repetition of GOL-21: "Goal Target Name" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeGoalTargetName
Removes a repetition of GOL-21: "Goal Target Name" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeGol21_GoalTargetName
Removes a repetition of GOL-21: "Goal Target Name" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-