​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 ResourceSalesforce FieldTypeSalesforce CardinalityNotes
identifierIdentifierObject0​.MThe identifier information for a medication is represented as Identifier records that reference the medication record using their Identifier​.Parent​RecordId field​.
codeMedication​.​Medication​CodeIdLookup: CodeSet​​Bundle0​.1N/A
statusMedication​.​StatusPicklist1​.1While FHIR defines medication​.status as a code set bundle, the Salesforce implementation of Medication​.​Status is picklist​.
manufacturerMedication​.​ManufacturerIdLookup: Account0​.1N/​A
formMedication​.Medication​FormIdLookup: CodeSet​​Bundle0​.1N/A
amountMedication​.​Quantity​NumeratorDouble0​.1Because Salesforce doesn’t support a native quantity data type, the medication.amount field is flattened into a set of numerator, denominator, and unit fields.
amountMedication​.​Quantity​DenominatorDouble0​.1Because Salesforce doesn’t support a native quantity data type, the medication.amount field is flattened into a set of numerator, denominator, and unit fields.
amountMedication​.​Quantity​UnitIdLookup: ​UnitOfMeasure0.1Because 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​.itemMedicinal​Ingredient​.IngredientIdLookup: CodeSet​Bundle, Medication0.1Zero-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​.isActiveMedicinal​Ingredient​.IsActiveBoolean0.1Zero-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​.strengthMedicinal​Ingredient​.Strength​NumeratorDouble0.1Zero-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​.strengthMedicinal​Ingredient​.Strength​Numerator​UnitIdLookup: UnitOfMeasure0.1Zero-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​.strengthMedicinal​Ingredient​.Strength​DenominatorDouble0.1Zero-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​.strengthMedicinal​Ingredient​.Strength​Denominator​UnitIdLookup: UnitOfMeasure0.1Zero-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​.lotNumberMedication​.Batch​NumberInt0.1N/A
batch​.expiration​DateMedication​.Expiration​DateTimeDateTime0.1N/A

See Also