---
schema_version: "1"
id: 799d38cbfbdea32c676dfb63541173ae8e6e71995a86cd63592d3703c647c478
title: HealthConditionDetail
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/hc_r4_api_objects_healthconditiondetail.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/hc_r4_api_objects_healthconditiondetail.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9e7879753093543008e956bb281bcc104816d1a27d367ea292986f7578996154
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.life_sciences_dev_guide.meta/life_sciences_dev_guide/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.life_sciences_dev_guide.meta/life_sciences_dev_guide/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.life_sciences_dev_guide.meta/life_sciences_dev_guide/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.