---
schema_version: "1"
id: 63d1c6f50f3aae2f02edd4e5787d9bd49acc2957c6671797cf374959775a0574
title: ProblemGoalDefinition
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_problemgoaldefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_icm_problemgoaldefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7b123df3093db8374b99fdf06d5f57c74f2393789282d955244e8217b8e84994
description: A junction object that associated a goal definition to its parent problem definition. These junction records assist in establishing the problem-goal hierarchy in care plans instantiated from the PGI library. A problem definition can have multiple goal definitions as its children, and a goal definition can have multiple problem definitions as its parents. This object is available in API version 57.0 and later.
---
# ProblemGoalDefinition

A junction object that associated a goal definition to its parent problem definition. These junction records assist in establishing the problem-goal hierarchy in care plans instantiated from the PGI library. A problem definition can have multiple goal definitions as its children, and a goal definition can have multiple problem definitions as its parents. 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

### GoalDefinitionId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: References the GoalDefinition record that’s associated to a parent ProblemDefinition record.
    
    This field is a relationship field.
- **Relationship Name**: GoalDefinition
- **Relationship Type**: Lookup
- **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 record.

### OwnerId

- **Type**: Polymorphic lookup
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The owner of the record.
- **Relationship Name**: Owner
- **Relationship Type**: Lookup
- **Refers To**:
    - Group
    - User

### ProblemDefinitionId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: References the ProblemDefinition record that’s associated to a child GoalDefinition record.
    
    This field is a relationship field.
- **Relationship Name**: ProblemDefinition
- **Relationship Type**: Lookup
- **Refers To**: ProblemDefinition

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

[ProblemGoalDefinitionFeed](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ProblemGoalDefinitionHistory](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.

[ProblemGoalDefinitionShare](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.