# EHDSAttachment Mapping - HL7 Europe Patient Summary v1.0.0-alpha

* [**Table of Contents**](toc.md)
* **EHDSAttachment Mapping**

## EHDSAttachment Mapping

# EHDSAttachment -> Attachment

**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.

### EHDSAttachment -> Attachment

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

**Mapping Context**
*  **Source logical model:** [ EHDSAttachment ](https://www.xt-ehr.eu/fhir/models/StructureDefinition-EHDSAttachment.html) 
*  **Target FHIR profile:** [ Attachment ](https://hl7.org/fhir/datatypes.html#Attachment) 

| | | | | | | |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Element | Description | Relation | Resource | Element | Description | Notes |
| contentType | Mime type of the content, with charset etc. | equivalent | Attachment | contentType | Mime type of the content. | Preferred binding: BCP-13. |
| language | Human language of the content. | equivalent | Attachment | language | Language of the attachment content. | Preferred binding: BCP-47. |
| data | The actual data of the attachment - a sequence of bytes, base64 encoded. | equivalent | Attachment | data | Base64-encoded data. |  |
| url | A location where the data can be accessed. | equivalent | Attachment | url | Location where the data can be accessed. |  |
| size | The number of bytes of data that make up this attachment (before base64 encoding). | equivalent | Attachment | size | Number of bytes in the attachment. |  |
| title | A label or set of text to display in place of the data. | equivalent | Attachment | title | Label to display in place of the data. |  |

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

