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.

Allergy​Intolerance

The allergy​Intolerance FHIR resource maps to the Allergy​Intolerance and PatientHealthReaction objects in Salesforce.

FHIR V4.0 - Clinical Data Model Mapping

Here’s how the fields defined by FHIR for allergy​Intolerance map to the fields in Salesforce.

Table 1. allergy​Intolerance - Salesforce
Allergy​Intolerance Resource Salesforce Field Type Salesforce Cardinality Notes
identifier Identifier Object 0.M The identifier information for an allergy intolerance is represented as Identifier records that reference the Allergy​Intolerance record using their Identifier​.Parent​RecordId field.
clinical​Status Allergy​Intolerance​.Status Picklist 0.1 While FHIR defines allergy​Intolerance​.clinical​Status as a code set bundle, the Salesforce implementation of Allergy​Intolerance​.Status is picklist.
verificationStatus Allergy​Intolerance​.VerificationStatus Picklist 0.1 While FHIR defines allergy​Intolerance​.verification​Status as a code set bundle, the Salesforce implementation of Allergy​Intolerance​.Verification​Status is picklist.
type Allergy​Intolerance​.Type Picklist 0.1 While FHIR defines allergy​Intolerance​.category as a code set bundle, the Salesforce implementation of Allergy​Intolerance​.Categories is a picklist.
category Allergy​Intolerance​.Category Multi-Select Picklist 0.M While FHIR defines allergy​Intolerance​.category as a code set bundle, the Salesforce implementation of Allergy​Intolerance​.Category is a picklist.
criticality Allergy​Intolerance​.Severity Picklist 0.1 While FHIR defines allergy​Intolerance​.criticality as a code set bundle, the Salesforce implementation of Allergy​Intolerance​.Severity is picklist.
code Allergy​Intolerance​.CodeId Lookup: CodeSetBundle 1.1 N/A
patient Allergy​Intolerance​.PatientId Master-Detail Reference: Account 1.1 N/A
encounter Allergy​Intolerance​.Clinical​EncounterId Lookup: Clinical​Encounter 0.1 N/A
onset​.onset​Date​Time Allergy​Intolerance​.Onset​Start​Date​Time Date​Time 0.1 Allergy​Intolerance​.Onset​Start​Date​Time is used as both the equivalent of allergy​Intolerance​.onset​.onset​Date​Time and the start date of allergy​Intolerance​.onset​.onset​Period
onset​.onset​Age N/A N/A N/A Not supported
onset​.onset​Period Allergy​Intolerance​.Onset​Start​Date​Time Date​Time 0.1 Since Salesforce doesn’t natively support the period data type, allergy​Intolerance​.onset​.onset​Period is flattened into a set of start date and end date fields. The start date field is also used as the equivalent of allergy​Intolerance​.onset​.onset​Date​Time
Allergy​Intolerance​.Onset​End​Date​Time Date​Time 0.1
onset​.onset​Range N/A N/A N/A Not supported
onset​.onset​String N/A N/A N/A Not supported
recorded​Date Allergy​Intolerance​.Record​Creation​Date​Time Date​Time 0.1 N/A
recorder Allergy​Intolerance​.Record​Creator​Id Polymorphic Lookup: Account, Healthcare​.Provider 0.1 N/A
asserter Allergy​Intolerance​.Assertion​SourceId Polymorphic Lookup: Account, Healthcare​.Provider 0.1 N/A
last​Occurrence Allergy​Intolerance​.Last​Occurence​Date​Time Date​Time 0.1 N/A
note N/A N/A N/A Not supported
reaction Patient​Health​Reaction Object 0.M The reaction information for an allergy intolerance is represented as Patient​Health​Reaction records that reference the Allergy​Intolerance record using their Patient​Health​Reaction​.ParentId field.
reaction​.substance Patient​Health​Reaction​.Causative​Substance​Id Lookup: CodeSet​Bundle 0.1 N/A
reaction​.manifestation Patient​Health​Reaction​.Manifested​SymptomId Lookup: CodeSet​Bundle 0.1 While FHIR defines allergy​Intolerance​.reaction​.manifestation as a one-to-many resource, the Salesforce implementation of Patient​Health​Reaction​.Manifested​SymptomId is zero-to-one.
reaction​.description Patient​Health​Reaction​.Details String 0.1 N/A
reaction​.onset Patient​Health​Reaction​.Reaction​Date​Time Date​Time 0.1 N/A
reaction​.severity Patient​Health​Reaction​.Severity Picklist 0.1 While FHIR defines allergy​Intolerance​.reaction​.severity as a code set bundle, the Salesforce implementation of Patient​Health​Reaction​.Severity is a picklist.
reaction​.exposure​Route Patient​Health​Reaction​.Exposure​RouteId Lookup: CodeSet​Bundle 0.1 N/A
reaction​.note N/A N/A N/A Not supported