EHDS Logical Information Models
0.1.0 - ci-build

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/tree/stakeholder-consultation-D6-1 and changes regularly. See the Directory of published versions

## Logical Model: Attachment model

Official URL: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment | Version: 0.1.0
Draft as of 2025-07-08 | Computable Name: EHDSAttachment

EHDS refined base model for This type is for containing or referencing attachments - additional data content defined in other formats. The most common use of this type is to include images or reports in some report format such as PDF. However, it can be used for any data that has a MIME type.

Usages:

- Use this Logical Model: Advance directive model and DataSet model

### Views of Logical Model

Description of Differentials, Snapshots and how the different presentations work.

- Differential Table
- Snapshot Table

This structure is derived from Base

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
EHDSAttachment |  | 0..* | Base | Attachment model Instances of this logical model can be the target of a Reference
contentType |  | 0..1 | CodeableConcept | Mime type of the content, with charset etc. Binding Description: (preferred): BCP-13
language |  | 0..1 | CodeableConcept | Human language of the content Binding Description: (preferred): BCP 47
data |  | 0..1 | base64Binary | The actual data of the attachment - a sequence of bytes, base64 encoded.
url |  | 0..1 | uri | A location where the data can be accessed.
size |  | 0..1 | integer64 | The number of bytes of data that make up this attachment (before base64 encoding).
title |  | 0..1 | string | A label or set of text to display in place of the data.
Documentation for this format

#### Terminology Bindings (Differential)

Path | Conformance | ValueSet | URI
EHDSAttachment.contentType | preferred |
EHDSAttachment.language | preferred |

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
EHDSAttachment |  | 0..* | Base | Attachment model Instances of this logical model can be the target of a Reference
contentType |  | 0..1 | CodeableConcept | Mime type of the content, with charset etc. Binding Description: (preferred): BCP-13
language |  | 0..1 | CodeableConcept | Human language of the content Binding Description: (preferred): BCP 47
data |  | 0..1 | base64Binary | The actual data of the attachment - a sequence of bytes, base64 encoded.
url |  | 0..1 | uri | A location where the data can be accessed.
size |  | 0..1 | integer64 | The number of bytes of data that make up this attachment (before base64 encoding).
title |  | 0..1 | string | A label or set of text to display in place of the data.
Documentation for this format

#### Terminology Bindings

Path | Conformance | ValueSet | URI
EHDSAttachment.contentType | preferred |
EHDSAttachment.language | preferred |

Other representations of model: CSV, Excel