CarePlanDetail

Represents additional information associated with a care plan record. These details may be things addressed by the care plan, contributors in the care plan, supporting information, and so on. This object is available in API version 61.0 and later.

Supported Calls 

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

Special Access Rules 

This object is available if care plans are enabled in your org. To access the object, you need the Care Plans Access permission set or the Care Plans permission set license.

Fields 

CarePlanId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The ID of the associated care plan.

    This field is a relationship field.

  • Relationship Name: CarePlan

  • Relationship Type: Master-detail

  • Refers To: CarePlan (the master object)

DetailCodeId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The system-defined code that represents additional information associated with the care plan.

    This field is a polymorphic relationship field.

  • Relationship Name: DetailCode

  • Relationship Type: Lookup

  • Refers To: CodeSet, CodeSetBundle

DetailRecordId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The reference record that represents additional information associated with the care plan.

    This field is a polymorphic relationship field.

  • Relationship Name: DetailRecord

  • Relationship Type: Lookup

  • Refers To: Account, CareBarrier, CarePlan, HealthcarePractitionerFacility, HealthcareProvider

DetailType 

  • Type: picklist

  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update

  • Description: Specifies the type of additional information associated with the care plan.

  • Possible values:

    • Care Barrier
    • Injury

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed a record related to this record.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

Name 

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the care plan detail.

OwnerId 

  • Type: reference

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description: The ID of the record owner.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To: Group, User

TaskJobStatus 

  • Type: picklist

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Description: The status of the task job.

  • Possible values:

    • Completed
    • Failed
    • InProgress
    • Submitted

TaskJobStatusMessage 

  • Type: textarea
  • Properties: Nillable
  • Description: The status message for the task job.

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.

CarePlanDetailFeed

Feed tracking is available for the object.

CarePlanDetailHistory

History is available for tracked fields of the object.

CarePlanDetailOwnerSharingRule

Sharing rules are available for the object.

CarePlanDetailShare

Sharing is available for the object.