---
schema_version: "1"
id: 745cb9c117473fdc96eef0a8d17054c304ca7a74493d3ce107ab14e71d82f425
title: CarePlanActivityDetail
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_careplanactivitydetail.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_icm_careplanactivitydetail.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f9ab0a0171381121730314036f5eacc504142b3fb7e15a3c97c7fd638753c9eb
description: Represents additional information associated with a CarePlanActivity record. This information may be outcomes of the activity, the performers who contributed to it, or the reasons why the activity was necessary.. This object is a child of CarePlanActivity. This object is available in API version 57.0 and later.
---
# CarePlanActivityDetail

Represents additional information associated with a CarePlanActivity record. This information may be outcomes of the activity, the performers who contributed to it, or the reasons why the activity was necessary.. This object is a child of CarePlanActivity. 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

### CarePlanActivityId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Sort
- **Description**: The parent care plan activity record that the additional information is associated to.
- **Relationship Name**: CarePlanActivity
- **Relationship Type**: Lookup
- **Refers To**: CarePlanActivity

### DetailCodeId

- **Type**: Polymorphic Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Represents the system-defined code that represents the additional information associated to the care plan activity record. This information can be an outcome of the activity or one of the reasons the activity was required. Use this field with the Outcome Code and Reason Code detail types.
- **Relationship Name**: DetailCode
- **Refers To**:
    - CodeSet
    - CodeSetBundle

### DetailRecordId

- **Type**: Polymorphic Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The clinical record that represents the additional information associated to the parent care plan activity record. This information can an outcome of the activity, a performer involved in the activity, or the reason why the activity was necessary.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: DetailRecord
- **Refers To**:
    - Account (Performer)
    - CareObservation (Reason Reference)
    - CareRegisteredDevice (Performer)
    - ClinicalEncounter (Outcome Reference)
    - DiagnosticSummary (Reason Reference)
    - HealthCondition (Reason Reference)
    - HealthcarePractitionerFacility (Performer)
    - HealthcareProvider (Performer)
    - PatientMedicalProcedure (Outcome Reference)

### DetailType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the type of additional information associated with the parent care plan activity.
- **Possible values**:
    - OutcomeCodeableConcept—Outcome Code
    - OutcomeReference—Outcome Reference
    - Performer
    - ReasonCode—Reason Code
    - ReasonReference—Reason Reference

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

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

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

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

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