Newer Version Available

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

Dosage

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

FHIR V4.0 - Clinical Data Model Mapping

Here’s how the fields defined by FHIR for Dosage map to the fields in Salesforce.

Table 1. Dosage - Salesforce
Dosage Resource Salesforce Field Type Salesforce Cardinality Notes
sequence Patient​Medication​Dosage​.Sequence Double 0.1 N/A
text Patient​Medication​Dosage​.Comments String 0.1 Both dosage​.text and dosage​.timing are mapped to the Patient​Medication​Dosage​.Comments field in Salesforce.
additional​Instruction Patient​Medication​Dosage​.Additional​Instruction String 0.1 While FHIR defines Dosage​.additional​Instruction as a zero-to-many reference to code set bundle, the Salesforce implementation is a zero-to-one text field.
patient​Instruction Patient​Medication​Dosage​.Patient​Instruction String 0.1 N/A
timing Patient​Medication​Dosage​.Comments String 0.1 Both dosage​.text and dosage​.timing are mapped to the Patient​Medication​Dosage​.Comments field in Salesforce.
asNeeded​.asNeeded​Boolean Patient​Medication​Dosage​.IsAs​Needed Boolean 0.1 N/A
asNeeded​.asNeeded​Codeable​Concept N/A N/A N/A Not supported
site Patient​Medication​Dosage​.SiteId Lookup: CodeSet​Bundle 0.1 N/A
route Patient​Medication​Dosage​.RouteId Lookup: CodeSet​Bundle 0.1 N/A
method Patient​Medication​Dosage​.MethodId Lookup: CodeSet​Bundle 0.1 N/A
dose​And​Rate N/A N/A 0.1 While FHIR defines dosage​.dose​AndRate as a zero-to-many block of child resources, the Salesforce implementation supports only a zero-to-one set of information per record.
dose​And​Rate​.type Patient​Medication​Dosage​.Dosage​Definition​Type Picklist 0.1 While FHIR defines dosage​.dose​AndRate​.type as a code set bundle, the Salesforce implementation is a picklist.
dose​And​Rate​.dose Patient​Medication​Dosage​.Dosage​Quantity​Type Picklist 0.1 A Salesforce-original field that determines whether the dosage​.dose​AndRate​.dose value in the record is a dose range or a dose quantity.
Patient​Medication​Dosage​.Dosage​Quantity​Numerator Double 0.1 Because Salesforce doesn’t support native quantity or range data types, the dosage​.dose​AndRate​.dose FHIR resource is flattened to a set of numerator, denominator, and unit fields.
Patient​Medication​Dosage​.Dosage​Quantity​Denominator Double 0.1
Patient​Medication​Dosage​.Dosage​UnitId Lookup: UnitOf​Measure 0.1
doseAnd​Rate​.rate Patient​Medication​Dosage​.Dosage​Rate​Type Picklist 0.1 A Salesforce-original field that determines whether the dosage​.doseAnd​Rate​.rate value in the record is a simple frequency, frequency range, or frequency ratio.
Patient​Medication​Dosage​.Dosage​Rate​Numerator Double 0.1 Because Salesforce doesn’t support native quantity, range, or ratio data types, the dosage​.doseAnd​Rate​.dose FHIR resource is flattened to a set of numerator, denominator, and unit fields.
Patient​Medication​Dosage​.Dosage​Rate​Denominator Double 0.1
Patient​Medication​Dosage​.Dosage​Rate​UnitId Lookup: UnitOf​Measure 0.1
doseAnd​Rate​.maxDose​Per​Period N/A N/A N/A Not supported
doseAnd​Rate​.max​DosePer​Administration N/A N/A N/A Not supported
doseAnd​Rate​.max​Dose​Per​Lifetime N/A N/A N/A Not supported