---
schema_version: "1"
id: b2c2f021605ffd543a3a92dd3fc38eabb0639be4fe7fcf2984a0473904b7861b
title: DiseaseInvestigationCase
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/hc_sforce_api_objects_diseaseinvestigationcase.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/hc_sforce_api_objects_diseaseinvestigationcase.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0d19fe79f3b514038d7e5b81cdd1ace658609d13fb030abde5af5d389a289571
description: Represents a junction between a disease investigation and a case. This object is available in API version 64.0 and later.
---
# DiseaseInvestigationCase

Represents a junction between a disease investigation and a case. This object is available in API version 64.0 and later.

## Supported Calls

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

## Fields

### CaseId

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

### DiseaseInvestigationId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The parent disease investigation associated with the case.
    
    This field is a relationship field.
- **Relationship Name**: DiseaseInvestigation
- **Relationship Type**: Master-detail
- **Refers To**: DiseaseInvestigation (the master object)

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: Name of the disease investigation case.

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

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

Change events are available for the object.

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