EHDS Logical Information Models
0.2.1 - qa-preview

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.2.1 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/ and changes regularly. See the Directory of published versions

## Logical Model: Attachment model

Official URL: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment | Version: 0.2.1
Draft as of 2026-02-05 | 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, Discharge Report model, Document model, Imaging report model... Show 3 more, Laboratory report model, Media model and Medication prescription model

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

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 | Status | Usage | ValueSet | Version | Source
EHDSAttachment.contentType | Base | preferred |  | Not State | Unknown
EHDSAttachment.language | Base | preferred |  | Not State | Unknown

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 | Status | Usage | ValueSet | Version | Source
EHDSAttachment.contentType | Base | preferred |  | Not State | Unknown
EHDSAttachment.language | Base | preferred |  | Not State | Unknown

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 | Status | Usage | ValueSet | Version | Source
EHDSAttachment.contentType | Base | preferred |  | Not State | Unknown
EHDSAttachment.language | Base | preferred |  | Not State | Unknown

This structure is derived from Base

Summary

Key Elements View

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 | Status | Usage | ValueSet | Version | Source
EHDSAttachment.contentType | Base | preferred |  | Not State | Unknown
EHDSAttachment.language | Base | preferred |  | Not State | Unknown

Differential View

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 | Status | Usage | ValueSet | Version | Source
EHDSAttachment.contentType | Base | preferred |  | Not State | Unknown
EHDSAttachment.language | Base | preferred |  | Not State | Unknown

Snapshot View

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 | Status | Usage | ValueSet | Version | Source
EHDSAttachment.contentType | Base | preferred |  | Not State | Unknown
EHDSAttachment.language | Base | preferred |  | Not State | Unknown

This structure is derived from Base

Summary

Other representations of profile: CSV, Excel