# EHDS Advanced Directive Map - MyHealth@Eu Patient Summary v1.0.0-ci-build

* [**Table of Contents**](toc.md)
* **EHDS Advanced Directive Map**

## EHDS Advanced Directive Map

# EHDSAdvanceDirective -> ConsentEuEps

**Ongoing alignment:**The Xt-EHR logical models are under active revision and continuous refinement. Updates from Xt-EHR will be progressively incorporated into this Implementation Guide to maintain alignment with the evolving EHDS specifications.

**Yellow row/cells:**In this ballot publication, some row/cells of the mapping table have been left in yellow to indicate areas requiring further review or refinement; including feedback from the Xt-EHR joint action (see note above). These highlights will be addressed in subsequent updates to ensure accuracy and completeness of the mappings.

### EHDSAdvanceDirective -> ConsentEuEps

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

**Mapping Context**
*  **Source logical model:** [ EHDSAdvanceDirective ](https://www.xt-ehr.eu/fhir/models/StructureDefinition-EHDSAdvanceDirective.html) 
*  **Target FHIR profile:** [ ConsentEuEps ](StructureDefinition-consent-eu-eps.md) 

| | | | | | | |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Element | Description | Relation | Resource | Element | Description | Notes |
| header | Common header for all patient-related data. | related-to | Consent | . | General metadata. | Dataset-level; not carried as a single element in Consent. |
| header.subject | Patient/subject this advance directive is about. | equivalent | Consent | patient | Reference to the patient or subject of the consent. |  |
| header.identifier | Business identifier for the object. | equivalent | Consent | identifier | Business identifier for this consent. |  |
| header.authorship | Resource authoring details. | no-map | Consent |  |  |  |
| header.authorship.author[x] | Author(s) who issued the resource. | no-map | Consent |  |  |  |
| header.authorship.datetime | Date and time of authoring/issuing. | equivalent | Consent | dateTime | When the living will was authored. |  |
| header.lastUpdate | Last technical correction/update. | source-is-broader-than-target | Consent | meta.lastUpdated | When the resource version last changed. | Use only when the timestamp reflects resource update (instant). |
| header.status | Status of the resource. | equivalent | Consent | status | Current state of the consent. | Align to ConsentState. |
| header.statusReason[x] | Reason for the current status. | no-map | Consent | - |  |  |
| header.language | Language of the resource (IETF tag). | equivalent | Consent | language | Language used in the consent. |  |
| category | Categories of directives related to decisions prior and after death. | equivalent | ConsentEuEps | category | Living will type. | Preferred binding: SNOMED CT. |
| narrative | Textual description of the directive. | related-to | Consent | text | Narrative for the consent. | Use extension:note for short comments if needed. |
| effectivePeriod | Time period during which the directive is effective. | related-to | Consent | provision.period | Period when the consent applies. |  |
| authorisingEntity[x] | Person or organisation that authorizes the directive. | related-to | Consent | performer | Who is agreeing to this policy and rules |  |
| relatedConditions[x] | The problem or disorder to which the living will applies. | source-is-broader-than-target | ConsentEuEps | extension:relatedCondition.valueReference | Related conditions. |  |
| advanceDirectiveDocument | Scanned source document with the living will and the patient's signature. | equivalent | ConsentEuEps | sourceAttachment | Living will document. | May also be a DocumentReference in source[x]. |

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

