---
schema_version: "1"
id: 66eac6e2569825717d199842cb06379ceb605bc699a5022ca0615d288c087936
title: CareGap
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_caregap.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_caregap.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0f42ccbfaa4e8d63a828446427b74367e128c704a3d1095c7cd81d70631dd30a
description: Represents gaps in patient care through a specified period. This object is available in API version 59.0 and later.
---
# CareGap

Represents gaps in patient care through a specified period. 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

### AccountId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The account associated with the care gap.
    
    This field is a relationship field.
- **Relationship Name**: Account
- **Relationship Type**: Lookup
- **Refers To**: Account

### CareBarrierId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The care barrier associated with the care gap.
    
    This field is a relationship field.
- **Relationship Name**: CareBarrier
- **Relationship Type**: Lookup
- **Refers To**: CareBarrier

### ClinicalMeasureId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The clinical measure asscoiated with the care gap.
    
    This field is a relationship field.
- **Relationship Name**: ClinicalMeasure
- **Relationship Type**: Lookup
- **Refers To**: ClinicalMeasure

### Description

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: The description of the care gap.

### HealthConditionId

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

### LastEvaluatedDate

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date and time when the care gap was last evaluated.

### LastReferencedDate

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

### LastViewedDate

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

### MeasureEvaluationStatus

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the status of the measure evaluation.
- **Possible values**:
    - EvaluationComplete—Evaluation Complete
    - EvaluationError—Evaluation Error
    - EvaluationInProgress—Evaluation In Progress
    - ManuallyClosed—Manually Closed
    - ManuallyExcluded—Manually Excluded
    - ManuallyOpened—Manually Opened

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the care gap.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the record owner.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Relationship Type**: Lookup
- **Refers To**: Group, User

### ProblemDefinitionId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The problem definiton associated with the care gap.
    
    This field is a relationship field.
- **Relationship Name**: ProblemDefinition
- **Relationship Type**: Lookup
- **Refers To**: ProblemDefinition

### RecordOriginType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort
- **Description**: Specifies the method used for retrieving or creating the care gap record.
- **Possible values**:
    - Calculated
    - Imported
    - ManuallyCreated—Manually Created

### ReportingPeriodEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The end date of the care gap reporting period.

### ReportingPeriodStartDate

- **Type**: date
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The start date of the care gap reporting period.

### SourceSystem

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The name of external source system from which the record was imported.

### SourceSystemIdentifier

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

### SourceSystemModified

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**:

### Status

- **Type**: picklist
- **Properties**: Filter, Group, Nillable, Restricted picklist, Sort
- **Description**: Specifies the status of the care gap.
- **Possible values**:
    - Closed
    - Excluded
    - Open

### StatusReason

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The reason for force closing the care gap.

### TargetResolutionDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The target resolution date of a care gap for a patient.

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

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

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

[CareGapOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/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.

[CareGapShare](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/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.