Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

​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 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.
Medication​.​Quantity​Denominator Double 0​.1
Medication​.​Quantity​UnitId Lookup: ​UnitOfMeasure 0.1
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
ingredient​.strength Medicinal​Ingredient​.Strength​Numerator Double 0.1
Medicinal​Ingredient​.Strength​Numerator​UnitId Lookup: UnitOfMeasure 0.1
Medicinal​Ingredient​.Strength​Denominator Double 0.1
Medicinal​Ingredient​.Strength​Denominator​UnitId Lookup: UnitOfMeasure 0.1
batch​.lotNumber Medication​.Batch​Number Int 0.1 N/A
batch​.expiration​Date Medication​.Expiration​DateTime DateTime 0.1 N/A