AllergyIntolerance
The allergyIntolerance FHIR resource maps to the
AllergyIntolerance and PatientHealthReaction objects in Salesforce.
FHIR V4.0 - Clinical Data Model Mapping
Here’s how the fields defined by FHIR for allergyIntolerance map to the fields in Salesforce.
AllergyIntolerance 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 AllergyIntolerance record using their Identifier.ParentRecordId field. |
clinicalStatus | AllergyIntolerance.Status | Picklist | 0.1 | While FHIR defines allergyIntolerance.clinicalStatus as a code set bundle, the Salesforce implementation of AllergyIntolerance.Status is picklist. |
verificationStatus | AllergyIntolerance.VerificationStatus | Picklist | 0.1 | While FHIR defines allergyIntolerance.verificationStatus as a code set bundle, the Salesforce implementation of AllergyIntolerance.VerificationStatus is picklist. |
type | AllergyIntolerance.Type | Picklist | 0.1 | While FHIR defines allergyIntolerance.category as a code set bundle, the Salesforce implementation of AllergyIntolerance.Categories is a picklist. |
category | AllergyIntolerance.Category | Multi-Select Picklist | 0.M | While FHIR defines allergyIntolerance.category as a code set bundle, the Salesforce implementation of AllergyIntolerance.Category is a picklist. |
criticality | AllergyIntolerance.Severity | Picklist | 0.1 | While FHIR defines allergyIntolerance.criticality as a code set bundle, the Salesforce implementation of AllergyIntolerance.Severity is picklist. |
code | AllergyIntolerance.CodeId | Lookup: CodeSetBundle | 1.1 | N/A |
patient | AllergyIntolerance.PatientId | Master-Detail Reference: Account | 1.1 | N/A |
encounter | AllergyIntolerance.ClinicalEncounterId | Lookup: ClinicalEncounter | 0.1 | N/A |
onset.onsetDateTime | AllergyIntolerance.OnsetStartDateTime | DateTime | 0.1 | AllergyIntolerance.OnsetStartDateTime is used as both the equivalent of allergyIntolerance.onset.onsetDateTime and the start date of allergyIntolerance.onset.onsetPeriod |
onset.onsetAge | N/A | N/A | N/A | Not supported |
onset.onsetPeriod | AllergyIntolerance.OnsetStartDateTime | DateTime | 0.1 | Since Salesforce doesn’t natively support the period data type, allergyIntolerance.onset.onsetPeriod is flattened into a set of start date and end date fields. The start date field is also used as the equivalent of allergyIntolerance.onset.onsetDateTime |
AllergyIntolerance.OnsetEndDateTime | DateTime | 0.1 | ||
onset.onsetRange | N/A | N/A | N/A | Not supported |
onset.onsetString | N/A | N/A | N/A | Not supported |
recordedDate | AllergyIntolerance.RecordCreationDateTime | DateTime | 0.1 | N/A |
recorder | AllergyIntolerance.RecordCreatorId | Polymorphic Lookup: Account, Healthcare.Provider | 0.1 | N/A |
asserter | AllergyIntolerance.AssertionSourceId | Polymorphic Lookup: Account, Healthcare.Provider | 0.1 | N/A |
lastOccurrence | AllergyIntolerance.LastOccurenceDateTime | DateTime | 0.1 | N/A |
note | N/A | N/A | N/A | Not supported |
reaction | PatientHealthReaction | Object | 0.M | The reaction information for an allergy intolerance is represented as PatientHealthReaction records that reference the AllergyIntolerance record using their PatientHealthReaction.ParentId field. |
reaction.substance | PatientHealthReaction.CausativeSubstanceId | Lookup: CodeSetBundle | 0.1 | N/A |
reaction.manifestation | PatientHealthReaction.ManifestedSymptomId | Lookup: CodeSetBundle | 0.1 | While FHIR defines allergyIntolerance.reaction.manifestation as a one-to-many resource, the Salesforce implementation of PatientHealthReaction.ManifestedSymptomId is zero-to-one. |
reaction.description | PatientHealthReaction.Details | String | 0.1 | N/A |
reaction.onset | PatientHealthReaction.ReactionDateTime | DateTime | 0.1 | N/A |
reaction.severity | PatientHealthReaction.Severity | Picklist | 0.1 | While FHIR defines allergyIntolerance.reaction.severity as a code set bundle, the Salesforce implementation of PatientHealthReaction.Severity is a picklist. |
reaction.exposureRoute | PatientHealthReaction.ExposureRouteId | Lookup: CodeSetBundle | 0.1 | N/A |
reaction.note | N/A | N/A | N/A | Not supported |