---
schema_version: "1"
id: 9037b94e111b004057e4ae6542024f1ba20ad023427641381aca62aef98d8926
title: MedicinalIngredient
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/hc_r4_api_objects_medicinalingredient.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/hc_r4_api_objects_medicinalingredient.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1bc8b9f578959a0c7295454986509bf4cfa7de7d7bbc9f70e45ab672e412e1cd
description: MedicinalIngredient is a child object of Medication that represents substances or drugs that are used as ingredients in the medication. This object is available in API version 52.0 and later.
---
# MedicinalIngredient

MedicinalIngredient is a child object of Medication that represents substances or drugs that are used as ingredients in the medication. This object is available in API version 52.0 and later.

## Supported Calls

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

## Fields

### IngredientId

- **Type**: Polymorphic reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The substance that’s used as an ingredient in the medication. If the ingredient is another medication or drug, reference a Medication record. If the ingredient is not a medication, reference a code set bundle record with the system-defined code that represents the ingredient.
- **Referenced Objects**: Medication, CodeSetBundle

### IsActive

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates whether the ingredient is an active ingredient in the medication. An active ingredient affects the therapeutic action of the medication.
- **Default value**: false

### LastReferencedDate

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

### LastViewedDate

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

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The system-generated name of the record.

### OwnerId

- **Type**: Polymorphic reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The owner of the record.
- **Referenced Objects**: Group, User

### ParentRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The medication that this ingredient is a part of.
    
    This is a relationship field.
- **Referenced Objects**: Medication

### StrengthDenominator

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The denominator value of the ingredient’s strength or quantity in the medication.

### StrengthDenominatorUnitId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The unit of StrengthDenominator
- **Referenced Objects**: UnitOfMeasure

### StrengthNumerator

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The numerator value of the ingredient’s strength or quantity in the medication.

### StrengthNumeratorUnitId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The unit of StrengthNumerator
    
    This is a relationship field.
- **Refers To**: UnitOfMeasure

## Usage

Ingredients are added to a medication record by creating MedicinalIngredient records to represent each ingredient, and then referencing the medication record using the ParentRecordId field in all the MedicinalIngredient records.

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

[MedicinalIngredientChangeEvent](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.") (API Version 62.0)

Change events are available for the object.

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

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

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