---
schema_version: "1"
id: a40f984634b26d18ad94d73b579785656ec59a9ef153876edf7a06e14f764c53
title: HealthCondition
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_HealthCondition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/hc_r4_api_objects_HealthCondition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9d8061d13cbe244e97b24fa6c05cf76eee50b50b80385cbc4e5568b93cce90c1
description: Represents a clinical condition, problem, or any clinically relevant occurrence that is a matter of concern. This object is available in API version 51.0 and later.
---
# HealthCondition

Represents a clinical condition, problem, or any clinically relevant occurrence that is a matter of concern. This object is available in API version 51.0 and later.

## Supported Calls

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

## Additional Information for HealthCondition in Other Objects

In addition to creating a record using these fields, you can add more details to your HealthCondition record by creating records in certain other objects, and referencing your HealthCondition record as the parent record. Here’s the list of objects you can associate to HealthCondition in this way, the type of information they add, and the field they use to reference HealthCondition.

| Object | Type of Information | Reference Field |
| --- | --- | --- |
| Identifier | Associates an identifier value to the health condition. | ParentRecordId |

## Fields

### AbatementEndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The end date and time of the abatement period.

### AbatementStartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The start date and time of the abatement period or the specific date and time when the condition abated.

### AssertionSourceId

- **Type**: Polymorphic reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The person made the assertion about the condition. This may be a physician, a patient, or even the patient’s contact.
- **Referenced Objects**:
    - Account
    - HealthcareProvider

### CaseId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The case associated with the health condition of the disease outbreak.
    
    This field is a relationship field.
- **Relationship Name**: Case
- **Refers To**: Case

### ClinicalEncounterId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The clinical encounter that the immunization was a part of.
- **Referenced Objects**:
    - ClinicalEncounter

### ConditionCodeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The system-defined code that represents the condition.
- **Referenced Objects**:
    - CodeSetBundle

### ConditionStatus

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the status of the condition.
- **Possible values**:
    - Active
    - Inactive
    - Recurrence
    - Relapse
    - Remission
    - Resolved

### DiagnosticStatus

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The diagnostic status of the condition.
- **Possible values**:
    - Confirmed
    - Differential
    - Entered in error
    - Provisional
    - Refuted
    - Unconfirmed

### ExtlProblemDefIdentifier

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the external problem definition in the source system.

### 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 system-generated name of the health condition record.

### OnsetEndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The end date and time of the onset period.

### OnsetStartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The start date and time of the onset period or the specific date and time when the condition manifested.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The owner of the health condition record. Available in API version 56.0 and later. This is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Relationship Type**: Lookup
- **Refers To**:
    - Group
    - User

### PatientId

- **Type**: Master-detail reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The patient who is afflicted with the condition.
- **Referenced Objects**:
    - Account

### ProblemDefinitionId

- **Type**: Lookup
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: References the problem definition in the PGI library that was used to instantiate the HealthCondition record in a care plan.
    
    This field is available from version 57.0
    
    This field is a relationship field.
- **Relationship Name**: ProblemDefinition
- **Relationship Type**: Lookup
- **Refers To**: ProblemDefinition

### ProblemDescription

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: The description for the condition as a problem in a care plan.
    
    This field is available from version 57.0

### ProblemName

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The name of the condition as a problem in a care plan.
    
    This field is available from version 57.0

### RecordCreationDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date and time when the record of the condition was created.

### RecordCreatorId

- **Type**: Polymorphic reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The person who created the record of the condition.
- **Referenced Objects**:
    - Account
    - HealthcareProvider

### RelatedHealthConditionId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The health condition associated with the primary health condition.
    
    This field is a relationship field.
- **Relationship Name**: RelatedHealthCondition
- **Refers To**: HealthCondition

### RelatedHealthConditionType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the type of health condition based on which the primary and related health conditions are associated.
- **Possible values**:
    - Coinfection

### ReportDate

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date the health condition was reported.

### Severity

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the severity of the condition.
- **Possible values**:
    - Mild
    - Moderate
    - Severe

### SiteId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The system-defined code that represents the site of the condition on the patient’s body.
- **Referenced Objects**:
    - CodeSetBundle

### SourceSystem

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The source system from where the record was brought into Salesforce.

### SourceSystemIdentifier

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Nillable, Sort, Update
- **Description**: The identifier for the record in its source system.

### SourceSystemModified

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date and time when the record was last modified in its source system.

### StageId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The system-defined code that represents the stage of the condition.
- **Referenced Objects**:
    - CodeSetBundle

### Type

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The contextual type of the condition.
- **Possible values**:
    - Encounter Diagnosis
    - Problem List Item

### DiagnosticStatusCategory

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the category of a patient's diagnosis status.
- **Possible values**:
    - Confirmed
    - Probable
    - Suspected
    - Unknown

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

[HealthConditionChangeEvent](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 58.0)

Change events are available for the object.

[HealthConditionOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.") (API version 56.0)

Sharing rules are available for the object.

[HealthConditionShare](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/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.") (API version 56.0)

Sharing is available for the object.