---
schema_version: "1"
id: 0b9d62da62cb7d5f79dcd82fa78b275bfc21aab1c626805ab14e32bedd18320e
title: GoalAssignmentDetail
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_goalassignmentdetail.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_icm_goalassignmentdetail.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d9b9956ec921d2eaae98459be727010e07dcafd4a43e6cb96455b73adef7ae56
description: Represents additional information associated with a GoalAssignment record. This information may be the outcome of a goal or something addressed by it. This object is available in API version 57.0 and later.
---
# GoalAssignmentDetail

Represents additional information associated with a GoalAssignment record. This information may be the outcome of a goal or something addressed by it. 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

### DetailCodeId

- **Type**: Polymorphic Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The system-defined code that represents the addition information associated to a goal. This field is used to specify standardized goal outcomes as codes.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: DetailCode
- **Refers To**:
    - CodeSet
    - CodeSetBundle

### DetailRecordId

- **Type**: Polymorphic Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: References clinical records that associate additional information to a goal. This information can be an outcome or an item addressed by the goal.
- **Relationship Name**: DetailRecord
- **Refers To**:
    - CareObservation (Outcome Reference, Addressed Item)
    - ClinicalServiceRequest (Addressed Item)
    - HealthCondition (Addressed Item)
    - MedicationRequest (Addressed Item)
    - MedicationStatement (Addressed Item)

### DetailType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the type of additional information associated to the goal.
- **Possible values**:
    - AddressedItem—Addressed Item
    - OutcomeCode—Outcome Code
    - OutcomeReference—Outcome Reference

### GoalAssignmentId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Sort
- **Description**: References the parent goal that is associated with the additional information,
- **Relationship Name**: GoalAssignment
- **Refers To**: GoalAssignment

### 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
- **Refers To**:
    - Group
    - User

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

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

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

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