# EHDSAllergyIntolerance to FHIR AllergyIntolerance Mapping - HL7 Europe Base and Core FHIR IG v2.0.0

* [**Table of Contents**](toc.md)
* **EHDSAllergyIntolerance to FHIR AllergyIntolerance Mapping**

## EHDSAllergyIntolerance to FHIR AllergyIntolerance Mapping

# EHDSAllergyIntolerance → AllergyIntoleranceEuCore

**Ongoing alignment:**The models are expected to continue evolving, with updates incorporated into this Implementation Guide to maintain alignment with the EHDS Implementing Acts.

### EHDSAllergyIntolerance → AllergyIntoleranceEuCore

 This page explains how conceptual elements from the EHDS logical model are expressed in the corresponding FHIR AllergyIntoleranceEuCore profile used by this Implementation Guide. 

**Mapping Context**
*  **Source logical model:** [ EHDSAllergyIntolerance ](https://www.xt-ehr.eu/fhir/models/1.0.0/StructureDefinition-EHDSAllergyIntolerance.html) 
*  **Target FHIR profile:** [ AllergyIntoleranceEuCore ](StructureDefinition-allergyIntolerance-eu-core.md) 

| | | | | |
| :--- | :--- | :--- | :--- | :--- |
| Element | Relation | Resource | Element | Notes |
| header | related-to | AllergyIntolerance | . | Dataset-level; not usually carried in AllergyIntolerance as-is. |
| header.subject | equivalent | AllergyIntolerance | patient |  |
| header.identifier | equivalent | AllergyIntolerance | identifier | Copy over all identifiers if multiple. |
| header.author[x] | equivalent | AllergyIntolerance | recorder〔R4〕participant.actor〔R5〕 | With participant.function = "http://terminology.hl7.org/CodeSystem/provenance-participant-type#author" |
| header.date | equivalent | AllergyIntolerance | recordedDate |  |
| header.status | equivalent | AllergyIntolerance | clinicalStatus |  |
| header.source | equivalent | AllergyIntolerance | asserter〔R4〕participant.actor〔R5〕 | With participant.function = "http://terminology.hl7.org/CodeSystem/provenance-participant-type#informant" |
| header.language | equivalent | AllergyIntolerance | language |  |
| agentOrAllergen | equivalent | AllergyIntolerance | code |  |
| note | source-is-broader-than-target | AllergyIntolerance | note.text |  |
| criticality | equivalent | AllergyIntolerance | criticality |  |
| certainty | equivalent | AllergyIntolerance | verificationStatus |  |
| onsetDate | equivalent | AllergyIntolerance | onset[x] | FHIR supports multiple datatypes; here you have dateTime → map to`onsetDateTime`. |
| endDate | equivalent | AllergyIntolerance | extension:abatement |  |
| reaction | equivalent | AllergyIntolerance | reaction |  |
| reaction.agentOrAllergen | equivalent | AllergyIntolerance | reaction.substance | Maps the reaction-level causative agent where provided. |
| reaction.manifestation | equivalent | AllergyIntolerance | reaction.manifestation |  |
| reaction.severity | equivalent | AllergyIntolerance | reaction.severity |  |
| reaction.onset | equivalent | AllergyIntolerance | reaction.onset |  |

 Return to overview: [EHDS Logical Models → FHIR Profiles](modelmap.md) 

