# EHDS Attachment Mapping - HL7 Europe Laboratory Report v2.0.0

* [**Table of Contents**](toc.md)
* [**Mapping to Profiles**](modelmap.md)
* **EHDS Attachment Mapping**

## EHDS Attachment Mapping

# EHDSAttachment -> Attachment

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

**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/0.3.0/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) 

