Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Dosage
The Dosage FHIR resource maps to the PatientMedicationDosage 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 Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
|---|---|---|---|---|
| sequence | PatientMedicationDosage.Sequence | Double | 0.1 | N/A |
| text | PatientMedicationDosage.Comments | String | 0.1 | Both dosage.text and dosage.timing are mapped to the PatientMedicationDosage.Comments field in Salesforce. |
| additionalInstruction | PatientMedicationDosage.AdditionalInstruction | String | 0.1 | While FHIR defines Dosage.additionalInstruction as a zero-to-many reference to code set bundle, the Salesforce implementation is a zero-to-one text field. |
| patientInstruction | PatientMedicationDosage.PatientInstruction | String | 0.1 | N/A |
| timing | PatientMedicationDosage.TimingId | String | 0.1 | N/A |
| asNeeded.asNeededBoolean | PatientMedicationDosage.IsAsNeeded | Boolean | 0.1 | N/A |
| asNeeded.asNeededCodeableConcept | N/A | N/A | N/A | Not supported |
| site | PatientMedicationDosage.SiteId | Lookup: CodeSetBundle | 0.1 | N/A |
| route | PatientMedicationDosage.RouteId | Lookup: CodeSetBundle | 0.1 | N/A |
| method | PatientMedicationDosage.MethodId | Lookup: CodeSetBundle | 0.1 | N/A |
| doseAndRate | N/A | N/A | 0.1 | While FHIR defines dosage.doseAndRate as a zero-to-many block of child resources, the Salesforce implementation supports only a zero-to-one set of information per record. |
| doseAndRate.type | PatientMedicationDosage.DosageDefinitionType | Picklist | 0.1 | While FHIR defines dosage.doseAndRate.type as a code set bundle, the Salesforce implementation is a picklist. |
| doseAndRate.dose | PatientMedicationDosage.DosageQuantityType | Picklist | 0.1 | A Salesforce-original field that determines whether the dosage.doseAndRate.dose value in the record is a dose range or a dose quantity. |
| PatientMedicationDosage.DosageQuantityNumerator | Double | 0.1 | Because Salesforce doesn’t support native quantity or range data types, the dosage.doseAndRate.dose FHIR resource is flattened to a set of numerator, denominator, and unit fields. | |
| PatientMedicationDosage.DosageQuantityDenominator | Double | 0.1 | ||
| PatientMedicationDosage.DosageUnitId | Lookup: UnitOfMeasure | 0.1 | ||
| doseAndRate.rate | PatientMedicationDosage.DosageRateType | Picklist | 0.1 | A Salesforce-original field that determines whether the dosage.doseAndRate.rate value in the record is a simple frequency, frequency range, or frequency ratio. |
| PatientMedicationDosage.DosageRateNumerator | Double | 0.1 | Because Salesforce doesn’t support native quantity, range, or ratio data types, the dosage.doseAndRate.dose FHIR resource is flattened to a set of numerator, denominator, and unit fields. | |
| PatientMedicationDosage.DosageRateDenominator | Double | 0.1 | ||
| PatientMedicationDosage.DosageRateUnitId | Lookup: UnitOfMeasure | 0.1 | ||
| doseAndRate.maxDosePerPeriod | N/A | N/A | N/A | Not supported |
| doseAndRate.maxDosePerAdministration | N/A | N/A | N/A | Not supported |
| doseAndRate.maxDosePerLifetime | N/A | N/A | N/A | Not supported |