
Class Goal
- All Implemented Interfaces:
- ca.uhn.fhir.model.api.ICompositeElement,- ca.uhn.fhir.model.api.IElement,- ca.uhn.fhir.model.api.IResource,- ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,- Serializable,- org.hl7.fhir.instance.model.api.IBase,- org.hl7.fhir.instance.model.api.IBaseResource
Definition: Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Goal
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBlock class for child element: Goal.outcome ()
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for categorystatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientstatic final StringSearch parameter constant for categorystatic final StringSearch parameter constant for identifierstatic final StringSearch parameter constant for patientstatic final StringSearch parameter constant for statusstatic final StringSearch parameter constant for subjectstatic final StringSearch parameter constant for targetdatestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for targetdateFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResourceRES_ID, SP_RES_IDFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResourceINCLUDE_ALL, WILDCARD_ALL_SET
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionAdds and returns a new value for addresses ()Adds and returns a new value for category ()addCategory(CodeableConceptDt theValue) Adds a given new value for category ()Adds and returns a new value for identifier (id)addIdentifier(IdentifierDt theValue) Adds a given new value for identifier (id)addNote()Adds and returns a new value for note ()addNote(AnnotationDt theValue) Adds a given new value for note ()Adds and returns a new value for outcome ()addOutcome(Goal.Outcome theValue) Adds a given new value for outcome ()Gets the value(s) for addresses ().<T extends ca.uhn.fhir.model.api.IElement>
 List<T> getAllPopulatedChildElementsOfType(Class<T> theType) Gets the value(s) for author (who.actor).Gets the value(s) for category ().Gets the first repetition for category (), creating it if it does not already exist.Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for description ().Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.getNote()Gets the value(s) for note ().Gets the first repetition for note (), creating it if it does not already exist.Gets the value(s) for outcome ().Gets the first repetition for outcome (), creating it if it does not already exist.Gets the value(s) for priority ().ca.uhn.fhir.model.api.IDatatypegetStart()Gets the value(s) for start[x] ().Gets the value(s) for status (status).Gets the value(s) for statusDate (when.recorded).ca.uhn.fhir.model.primitive.DateDtGets the value(s) for statusDate (when.recorded).ca.uhn.fhir.model.primitive.BoundCodeDt<GoalStatusEnum> Gets the value(s) for status (status).Gets the value(s) for statusReason ().ca.uhn.fhir.context.FhirVersionEnumGets the value(s) for subject (who.focus).ca.uhn.fhir.model.api.IDatatypeGets the value(s) for target[x] ().booleanisEmpty()setAddresses(List<ResourceReferenceDt> theValue) Sets the value(s) for addresses ()setAuthor(ResourceReferenceDt theValue) Sets the value(s) for author (who.actor)setCategory(List<CodeableConceptDt> theValue) Sets the value(s) for category ()setDescription(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription(String theString) Sets the value for description ()setIdentifier(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setNote(List<AnnotationDt> theValue) Sets the value(s) for note ()setOutcome(List<Goal.Outcome> theValue) Sets the value(s) for outcome ()setPriority(BoundCodeableConceptDt<GoalPriorityEnum> theValue) Sets the value(s) for priority ()setPriority(GoalPriorityEnum theValue) Sets the value(s) for priority ()setStart(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for start[x] ()setStatus(GoalStatusEnum theValue) Sets the value(s) for status (status)setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<GoalStatusEnum> theValue) Sets the value(s) for status (status)setStatusDate(ca.uhn.fhir.model.primitive.DateDt theValue) Sets the value(s) for statusDate (when.recorded)setStatusDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for statusDate (when.recorded)setStatusDateWithDayPrecision(Date theDate) Sets the value for statusDate (when.recorded)setStatusReason(CodeableConceptDt theValue) Sets the value(s) for statusReason ()setSubject(ResourceReferenceDt theValue) Sets the value(s) for subject (who.focus)setTarget(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for target[x] ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResourcegetContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringMethods inherited from class ca.uhn.fhir.model.api.BaseElementaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserDataMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBasefhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResourcegetIdElement, isDeleted, setId, setIdMethods inherited from interface ca.uhn.fhir.model.api.IResourcegetContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
- 
Field Details- 
SP_PATIENTSearch parameter constant for patientDescription: 
 Type: reference
 Path: Goal.subject
 - See Also:
 
- 
PATIENTFluent Client search parameter constant for patientDescription: 
 Type: reference
 Path: Goal.subject
 
- 
SP_SUBJECTSearch parameter constant for subjectDescription: 
 Type: reference
 Path: Goal.subject
 - See Also:
 
- 
SUBJECTFluent Client search parameter constant for subjectDescription: 
 Type: reference
 Path: Goal.subject
 
- 
SP_CATEGORYSearch parameter constant for categoryDescription: 
 Type: token
 Path: Goal.category
 - See Also:
 
- 
CATEGORYFluent Client search parameter constant for categoryDescription: 
 Type: token
 Path: Goal.category
 
- 
SP_TARGETDATESearch parameter constant for targetdateDescription: 
 Type: date
 Path: Goal.targetDate
 - See Also:
 
- 
TARGETDATEFluent Client search parameter constant for targetdateDescription: 
 Type: date
 Path: Goal.targetDate
 
- 
SP_IDENTIFIERSearch parameter constant for identifierDescription: 
 Type: token
 Path: Goal.identifier
 - See Also:
 
- 
IDENTIFIERFluent Client search parameter constant for identifierDescription: 
 Type: token
 Path: Goal.identifier
 
- 
SP_STATUSSearch parameter constant for statusDescription: 
 Type: token
 Path: Goal.status
 - See Also:
 
- 
STATUSFluent Client search parameter constant for statusDescription: 
 Type: token
 Path: Goal.status
 
- 
INCLUDE_PATIENTConstant for fluent queries to be used to add include statements. Specifies the path value of "Goal:patient".
- 
INCLUDE_SUBJECTConstant for fluent queries to be used to add include statements. Specifies the path value of "Goal:subject".
 
- 
- 
Constructor Details- 
Goalpublic Goal()
 
- 
- 
Method Details- 
isEmpty- Specified by:
- isEmptyin interface- org.hl7.fhir.instance.model.api.IBase
 
- 
getAllPopulatedChildElementsOfTypepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
- getAllPopulatedChildElementsOfTypein interface- ca.uhn.fhir.model.api.ICompositeElement
 
- 
getIdentifierGets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) 
- 
setIdentifierSets the value(s) for identifier (id)Definition: This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) 
- 
addIdentifierAdds and returns a new value for identifier (id)Definition: This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) 
- 
addIdentifierAdds a given new value for identifier (id)Definition: This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) - Parameters:
- theValue- The identifier to add (must not be- null)
 
- 
getIdentifierFirstRepGets the first repetition for identifier (id), creating it if it does not already exist.Definition: This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation) 
- 
getSubjectGets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull.Definition: Identifies the patient, group or organization for whom the goal is being established. 
- 
setSubjectSets the value(s) for subject (who.focus)Definition: Identifies the patient, group or organization for whom the goal is being established. 
- 
getStartGets the value(s) for start[x] (). creating it if it does not exist. Will not returnnull.Definition: The date or event after which the goal should begin being pursued 
- 
setStartSets the value(s) for start[x] ()Definition: The date or event after which the goal should begin being pursued 
- 
getTargetGets the value(s) for target[x] (). creating it if it does not exist. Will not returnnull.Definition: Indicates either the date or the duration after start by which the goal should be met 
- 
setTargetSets the value(s) for target[x] ()Definition: Indicates either the date or the duration after start by which the goal should be met 
- 
getCategoryGets the value(s) for category (). creating it if it does not exist. Will not returnnull.Definition: Indicates a category the goal falls within 
- 
setCategorySets the value(s) for category ()Definition: Indicates a category the goal falls within 
- 
addCategoryAdds and returns a new value for category ()Definition: Indicates a category the goal falls within 
- 
addCategoryAdds a given new value for category ()Definition: Indicates a category the goal falls within - Parameters:
- theValue- The category to add (must not be- null)
 
- 
getCategoryFirstRepGets the first repetition for category (), creating it if it does not already exist.Definition: Indicates a category the goal falls within 
- 
getDescriptionElementGets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition: Human-readable description of a specific desired objective of care. 
- 
getDescriptionGets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: Human-readable description of a specific desired objective of care. 
- 
setDescriptionSets the value(s) for description ()Definition: Human-readable description of a specific desired objective of care. 
- 
setDescriptionSets the value for description ()Definition: Human-readable description of a specific desired objective of care. 
- 
getStatusElementGets the value(s) for status (status). creating it if it does not exist. Will not returnnull.Definition: Indicates whether the goal has been reached and is still considered relevant 
- 
getStatusGets the value(s) for status (status). creating it if it does not exist. This method may returnnull.Definition: Indicates whether the goal has been reached and is still considered relevant 
- 
setStatusSets the value(s) for status (status)Definition: Indicates whether the goal has been reached and is still considered relevant 
- 
setStatusSets the value(s) for status (status)Definition: Indicates whether the goal has been reached and is still considered relevant 
- 
getStatusDateElementGets the value(s) for statusDate (when.recorded). creating it if it does not exist. Will not returnnull.Definition: Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. 
- 
getStatusDateGets the value(s) for statusDate (when.recorded). creating it if it does not exist. This method may returnnull.Definition: Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. 
- 
setStatusDateSets the value(s) for statusDate (when.recorded)Definition: Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. 
- 
setStatusDateWithDayPrecisionSets the value for statusDate (when.recorded)Definition: Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. 
- 
setStatusDateSets the value for statusDate (when.recorded)Definition: Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. 
- 
getStatusReasonGets the value(s) for statusReason (). creating it if it does not exist. Will not returnnull.Definition: Captures the reason for the current status. 
- 
setStatusReasonSets the value(s) for statusReason ()Definition: Captures the reason for the current status. 
- 
getAuthorGets the value(s) for author (who.actor). creating it if it does not exist. Will not returnnull.Definition: Indicates whose goal this is - patient goal, practitioner goal, etc. 
- 
setAuthorSets the value(s) for author (who.actor)Definition: Indicates whose goal this is - patient goal, practitioner goal, etc. 
- 
getPriorityGets the value(s) for priority (). creating it if it does not exist. Will not returnnull.Definition: Identifies the mutually agreed level of importance associated with reaching/sustaining the goal 
- 
setPrioritySets the value(s) for priority ()Definition: Identifies the mutually agreed level of importance associated with reaching/sustaining the goal 
- 
setPrioritySets the value(s) for priority ()Definition: Identifies the mutually agreed level of importance associated with reaching/sustaining the goal 
- 
getAddressesGets the value(s) for addresses (). creating it if it does not exist. Will not returnnull.Definition: The identified conditions and other health record elements that are intended to be addressed by the goal 
- 
setAddressesSets the value(s) for addresses ()Definition: The identified conditions and other health record elements that are intended to be addressed by the goal 
- 
addAddressesAdds and returns a new value for addresses ()Definition: The identified conditions and other health record elements that are intended to be addressed by the goal 
- 
getNoteGets the value(s) for note (). creating it if it does not exist. Will not returnnull.Definition: Any comments related to the goal 
- 
setNoteSets the value(s) for note ()Definition: Any comments related to the goal 
- 
addNoteAdds and returns a new value for note ()Definition: Any comments related to the goal 
- 
addNoteAdds a given new value for note ()Definition: Any comments related to the goal - Parameters:
- theValue- The note to add (must not be- null)
 
- 
getNoteFirstRepGets the first repetition for note (), creating it if it does not already exist.Definition: Any comments related to the goal 
- 
getOutcomeGets the value(s) for outcome (). creating it if it does not exist. Will not returnnull.Definition: Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved. 
- 
setOutcomeSets the value(s) for outcome ()Definition: Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved. 
- 
addOutcomeAdds and returns a new value for outcome ()Definition: Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved. 
- 
addOutcomeAdds a given new value for outcome ()Definition: Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved. - Parameters:
- theValue- The outcome to add (must not be- null)
 
- 
getOutcomeFirstRepGets the first repetition for outcome (), creating it if it does not already exist.Definition: Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved. 
- 
getResourceName- Specified by:
- getResourceNamein interface- ca.uhn.fhir.model.api.IResource
 
- 
getStructureFhirVersionEnum- Specified by:
- getStructureFhirVersionEnumin interface- org.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
- getStructureFhirVersionEnumin interface- ca.uhn.fhir.model.api.IResource
 
 
-