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.

Dosage ResourceSalesforce FieldTypeSalesforce CardinalityNotes
sequencePatient​Medication​Dosage​.SequenceDouble0.1N/A
textPatient​Medication​Dosage​.CommentsString0.1Both dosage​.text and dosage​.timing are mapped to the Patient​Medication​Dosage​.Comments field in Salesforce.
additional​InstructionPatient​Medication​Dosage​.Additional​InstructionString0.1While 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​InstructionPatient​Medication​Dosage​.Patient​InstructionString0.1N/A
timingPatient​Medication​Dosage​.Timing​IdString0.1N/A
asNeeded​.asNeeded​BooleanPatient​Medication​Dosage​.IsAs​NeededBoolean0.1N/A
asNeeded​.asNeeded​Codeable​ConceptN/AN/AN/ANot supported
sitePatient​Medication​Dosage​.SiteIdLookup: CodeSet​Bundle0.1N/A
routePatient​Medication​Dosage​.RouteIdLookup: CodeSet​Bundle0.1N/A
methodPatient​Medication​Dosage​.MethodIdLookup: CodeSet​Bundle0.1N/A
dose​And​RateN/AN/A0.1While 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​.typePatient​Medication​Dosage​.Dosage​Definition​TypePicklist0.1While FHIR defines dosage​.dose​AndRate​.type as a code set bundle, the Salesforce implementation is a picklist.
dose​And​Rate​.dosePatient​Medication​Dosage​.Dosage​Quantity​TypePicklist0.1A Salesforce-original field that determines whether the dosage​.dose​AndRate​.dose value in the record is a dose range or a dose quantity.
dose​And​Rate​.dosePatient​Medication​Dosage​.Dosage​Quantity​NumeratorDouble0.1Because 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.
dose​And​Rate​.dosePatient​Medication​Dosage​.Dosage​Quantity​DenominatorDouble0.1Because 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.
dose​And​Rate​.dosePatient​Medication​Dosage​.Dosage​UnitIdLookup: UnitOf​Measure0.1Because 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.
doseAnd​Rate​.ratePatient​Medication​Dosage​.Dosage​Rate​TypePicklist0.1A Salesforce-original field that determines whether the dosage​.doseAnd​Rate​.rate value in the record is a simple frequency, frequency range, or frequency ratio.
doseAnd​Rate​.ratePatient​Medication​Dosage​.Dosage​Rate​NumeratorDouble0.1Because 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.
doseAnd​Rate​.ratePatient​Medication​Dosage​.Dosage​Rate​DenominatorDouble0.1Because 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.
doseAnd​Rate​.ratePatient​Medication​Dosage​.Dosage​Rate​UnitIdLookup: UnitOf​Measure0.1Because 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.
doseAnd​Rate​.maxDose​Per​PeriodN/AN/AN/ANot supported
doseAnd​Rate​.max​DosePer​AdministrationN/AN/AN/ANot supported
doseAnd​Rate​.max​Dose​Per​LifetimeN/AN/AN/ANot supported

See Also