---
schema_version: "1"
id: 32423aa279ffc68756f8b8ccd91e1f4596b52d805d30f19b7ab2b248956dbb7a
title: GoalDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_goaldefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_goaldefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fa91b00f8ba0a8f05e35a9e29d9d81e8f9a44d099236c208e2155b49e30327ce
description: Represents a goal or a business objective that’s used as a reference. When instantiated, GoalDefinition records create GoalAssignment records that serve as goals in care plans.
---
# GoalDefinition

Represents a goal or a business objective that’s used as a reference. When instantiated, GoalDefinition records create GoalAssignment records that serve as goals in care plans.

## Special Access Rules

In Integrated Care Management, this object represents the definition of a care plan goal in the reusable PGI library.

In Health Cloud, 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

### Category

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The category that the defined goal belongs to.

### Description

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: The description of the defined goal.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the goal definition record.

### OwnerId

- **Type**: Polymorphic lookup
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The ID of the owner of this goal definition record.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**:
    - Group
    - User

### ParentGoalId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the parent record.
    
    This field is a relationship field.
    
    In Health Cloud, this field is not used in Integrated Care Management.
- **Relationship Name**: ParentGoal
- **Relationship Type**: Lookup
- **Refers To**: GoalDefinition

### Status

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The status of the goal defintion.
- **Default value**: Active
- **Possible values**:
    - Active
    - Inactive

### Type

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the type of the defined goal.
- **Default value**: Individual
- **Possible values**:
    - Individual—Intermediate Goal
    - Strategic—Top Goal

### UsageType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the usage type of the defined goal.
    
    In Health Cloud, this field is not used in Integrated Care Management.

## 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.

[GoalDefinitionFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "HTML (New Window)")

Feed tracking is available for the object.

[GoalDefinitionHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "HTML (New Window)")

History is available for tracked fields of the object.

[GoalDefinitionShare](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "HTML (New Window)")

Sharing is available for the object.