---
schema_version: "1"
id: e961c1f2941c30956450c8192fcc4c4f66688937cef0d579ada0d36329d898d4
title: ​Medication
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/map_fhir_Medication.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/map_fhir_Medication.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 619dedabee524edea2c3f07fbe2c3250d20dd8917e2382a828e94251070c18e1
description: The medication FHIR resource maps to the ​Medication object in Salesforce​.
---
# ​Medication

The medication FHIR resource maps to the ​Medication object in Salesforce​.

## FHIR V4​.0 - Clinical Data Model Mapping

Here’s how the fields defined by FHIR for [medication](https://www.hl7.org/fhir/medication.html) map to the fields in Salesforce​.

Table 1. medication - Salesforce
| ​Medication Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
| --- | --- | --- | --- | --- |
| identifier | Identifier | Object | 0​.M | The identifier information for a medication is represented as Identifier records that reference the medication record using their Identifier​.Parent​RecordId field​. |
| code | Medication​.​Medication​CodeId | Lookup: CodeSet​​Bundle | 0​.1 | N/A |
| status | Medication​.​Status | Picklist | 1​.1 | While FHIR defines medication​.status as a code set bundle, the Salesforce implementation of Medication​.​Status is picklist​. |
| manufacturer | Medication​.​ManufacturerId | Lookup: Account | 0​.1 | N/​A |
| form | Medication​.Medication​FormId | Lookup: CodeSet​​Bundle | 0​.1 | N/A |
| amount | Medication​.​Quantity​Numerator | Double | 0​.1 | Because Salesforce doesn’t support a native quantity data type, the medication.amount field is flattened into a set of numerator, denominator, and unit fields. |
| amount | Medication​.​Quantity​Denominator | Double | 0​.1 | Because Salesforce doesn’t support a native quantity data type, the medication.amount field is flattened into a set of numerator, denominator, and unit fields. |
| amount | Medication​.​Quantity​UnitId | Lookup: ​UnitOfMeasure | 0.1 | Because Salesforce doesn’t support a native quantity data type, the medication.amount field is flattened into a set of numerator, denominator, and unit fields. |
| ingredient​.item | Medicinal​Ingredient​.IngredientId | Lookup: CodeSet​Bundle, Medication | 0.1 | Zero-to-many value for medication.ingredient is implmeneted using the child object MedicinalIngredient. Each ingredient record references the parent Medication record using the ParentRecordId field. |
| ingredient​.isActive | Medicinal​Ingredient​.IsActive | Boolean | 0.1 | Zero-to-many value for medication.ingredient is implmeneted using the child object MedicinalIngredient. Each ingredient record references the parent Medication record using the ParentRecordId field. |
| ingredient​.strength | Medicinal​Ingredient​.Strength​Numerator | Double | 0.1 | Zero-to-many value for medication.ingredient is implmeneted using the child object MedicinalIngredient. Each ingredient record references the parent Medication record using the ParentRecordId field. |
| ingredient​.strength | Medicinal​Ingredient​.Strength​Numerator​UnitId | Lookup: UnitOfMeasure | 0.1 | Zero-to-many value for medication.ingredient is implmeneted using the child object MedicinalIngredient. Each ingredient record references the parent Medication record using the ParentRecordId field. |
| ingredient​.strength | Medicinal​Ingredient​.Strength​Denominator | Double | 0.1 | Zero-to-many value for medication.ingredient is implmeneted using the child object MedicinalIngredient. Each ingredient record references the parent Medication record using the ParentRecordId field. |
| ingredient​.strength | Medicinal​Ingredient​.Strength​Denominator​UnitId | Lookup: UnitOfMeasure | 0.1 | Zero-to-many value for medication.ingredient is implmeneted using the child object MedicinalIngredient. Each ingredient record references the parent Medication record using the ParentRecordId field. |
| batch​.lotNumber | Medication​.Batch​Number | Int | 0.1 | N/A |
| batch​.expiration​Date | Medication​.Expiration​DateTime | DateTime | 0.1 | N/A |

#### See Also

- [Medication](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/hc_r4_api_objects_Medication.htm "Represents detailed information about different medications. This object is available in API version 51.0 and later.")