---
schema_version: "1"
id: c9e08c1e3b33160e7275261dd2c44680794d396b0ab92c6b44993fdd50bbc11a
title: MedicalInsight
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_medicalinsight.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_medicalinsight.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: eeeb3f3ee61854d92214b4658dfb4fbc34c57014ef32f9c281b6f665b94d5ca2
description: Represents the important information observed or heard through various outlets like meetings, calls, or research, which is used to inform strategies for better patient care.
---
# MedicalInsight

Represents the important information observed or heard through various outlets like meetings, calls, or research, which is used to inform strategies for better patient care.

## Supported Calls

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

## Fields

### ChildMedicalInsightCount

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The number of similar insights that are associated with the medical insight.

### Content

- **Type**: textarea
- **Properties**: Create, Update
- **Description**: The description of the medical insight.

### DefaultRank

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The default rank of the medical insight that's determined based on the total number of linked insights and their upvotes.

### GoalDefinitionCount

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The number of goals linked to the medical insight.

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

### LastUpvotedDate

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date and time when a user last upvoted the medical insight.

### 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 LastReferenceDateis 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 the medical insight record.

### 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
- **Refers To**: Group, User

### ParentMedicalInsightId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The parent record associated with the medical insight. This field is a relationship field.
- **Relationship Name**: ParentMedicalInsight
- **Refers To**: MedicalInsight

### SourceType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the source of the medical insight.
- **Possible values**:
    - Account
    - Home Page
    - Medical Insights Tab
    - Meeting
    - Visit

### TopicNames

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: The names of the topics that are tagged to the medical insight.

### UpvoteCount

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The number of upvotes received for the medical insight.

### VisitId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The provider visit associated with the medical insight. This field is a relationship field.
- **Relationship Name**: ProviderVisit
- **Refers To**: Visit