---
schema_version: "1"
id: 384afb16ed64887045f946c2668e1a65939d8e2237db2d2deb5cfd3f8629fee5
title: HlthCareProvTreatedCondition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_hlthcareprovtreatedcondition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_hlthcareprovtreatedcondition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9c4485e7296288a032df957f5de947593c451d3eb8c86d88422a420f4b2ae575
description: Represents a junction object between a healthcare provider, facility, or practitioner and a problem definition that's related to a health condition, such as disease or illness. For example, this object links a doctor to the treatment of diabetes, or a facility to the treatment of spinal injuries. This object is available in API version 59.0 and later.
---
# HlthCareProvTreatedCondition

Represents a junction object between a healthcare provider, facility, or practitioner and a problem definition that's related to a health condition, such as disease or illness. For example, this object links a doctor to the treatment of diabetes, or a facility to the treatment of spinal injuries. This object is available in API version 59.0 and later.

## Supported Calls

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

## Fields

### ConditionId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Required.
    
    The ID of the health condition that's treated by a healthcare provider, facility, or practitioner.
    
    This field is a relationship field.
- **Relationship Name**: Condition
- **Relationship Type**: Lookup
- **Refers To**: ProblemDefinition

### EffectiveFrom

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date when the provider began treating the condition.

### EffectiveTo

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date when the provider stopped treating the condition.

### HealthcareProviderId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Required.
    
    The ID of the HealthcareProvider or HealthcareFacility or PractitionerFacility associated with the record. This represents the Provider that treats the condition.
    
    This field is a relationship field.
- **Relationship Name**: HealthcareProvider
- **Relationship Type**: Lookup
- **Refers To**: HealthcareProvider

### IsActive

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates whether the provider is actively treating the condition (true) or not (false).
- **Default value**: false

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of this association between a healthcare provider, facility, or practitioner, and a problem definition that's related to a health condition.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The ID of the user who owns this record.
    
    This field is a polymorphic relationship field.
- **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.

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

[HlthCareProvTreatedConditionOwnerSharingRule](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.")

Sharing rules are available for the object.

[HlthCareProvTreatedConditionShare](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.")

Sharing is available for the object.