Newer Version Available

This content describes an older version of this product. View Latest

​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​Unit Lookup: ​UnitOfMeasure