Newer Version Available
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.
| 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.ParentRecordId field. |
| code | Medication.MedicationCodeId | Lookup: CodeSetBundle | 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.MedicationFormId | Lookup: CodeSetBundle | 0.1 | N/A |
| amount | Medication.QuantityNumerator | 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.QuantityDenominator | Double | 0.1 | ||
| Medication.QuantityUnit | Lookup: UnitOfMeasure |