---
schema_version: "1"
id: 263fa366ea6ebb71462b59c064fc68289ae2711e5322ab7db1315efabd2f585d
title: HealthConditionDetail
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/hc_r4_api_objects_healthconditiondetail.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/hc_r4_api_objects_healthconditiondetail.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2ce0f24ab16df6256c61308cc55900523a259387d17b249fd02cfba162bd8ad3
description: This child object is used to associate body site and laterality codes to HealthCondition records. This object is available in API version 52.0 and later.
---
# HealthConditionDetail

This child object is used to associate body site and laterality codes to HealthCondition records. This object is available in API version 52.0 and later.

## Supported Calls

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

## Fields

### DetailCodeId

- **Type**: Polymorphic Master-Detail reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: References a code set or code set bundle that adds information to a HealthCondition record.
- **Referenced Objects**: CodeSet, CodeSetBundle

### DetailType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Speicifies the type of information represented by the detail code that’s accosicated to the HealthCondition record.
- **Possible values**:
    - Body Site
    - Laterality

### HealthConditionId

- **Type**: Master-Detail reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The parent HealthCondition record to which the body site and laterality information is being added.
- **Referenced Objects**: HealthCondition

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user referenced this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user viewed this record.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The system-generated name of the HealthConditionDetail record.

## Usage

- Use the HealthConditionId field to reference the parent HealthCondition record that the additional information is being associated to.
- Use the DetailType picklist to specify the type of code that’s being associated to the HealthCondition record.
- Use the DetailCodeId field to reference the code set or code set bundle record with the associated information.

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

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

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

[HealthConditionDetailChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_change_event.htm "A StandardObjectNameChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 61.0)

Change events are available for the object.