---
schema_version: "1"
id: 1d0696bca28661cf8c8df3b7d2295485be9c714164f3d950bf3a57c1ecea777a
title: CarePlanTemplateGoal
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_icm_careplantemplategoal.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_icm_careplantemplategoal.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9ccc96a7ff6b8c61d8ed0b909281340a73e4e24ce95b613a3b1a16aa5178b221
description: Represents goals in Care Plan Templates that don’t have problems as their parents. These goals are added directly under the care plan in the template . This object determines the position of goals in the hierarchy of care plan templates. The specific details of goals are referenced from GoalDefinitions records in the PGI library. This object is available in API version 57.0 and later.
---
# CarePlanTemplateGoal

Represents goals in Care Plan Templates that don’t have problems as their parents. These goals are added directly under the care plan in the template . This object determines the position of goals in the hierarchy of care plan templates. The specific details of goals are referenced from GoalDefinitions records in the PGI library. This object is available in API version 57.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### CarePlanTemplateId

- **Type**: Master-detail
- **Properties**: Create, Filter, Group, Sort
- **Description**: References the parent care plan template that the goal is a part of.
- **Relationship Name**: CarePlanTemplate
- **Refers To**: CarePlanTemplate

### GoalDefinitionId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: References a goal definition in the PGI library that specifies the details of the templatized goal.
    
    This field is a relationship field.
- **Relationship Name**: GoalDefinition
- **Refers To**: GoalDefinition

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date and time when the record was last referenced.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date and time when the record was last viewed.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the templatized care plan goal.

### Priority

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The priority of the templatized goal.
- **Possible values**:
    - High
    - Low
    - Medium

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[CarePlanTemplateGoalHistory](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.