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-D7-3 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-08-25 | 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, DataSet model, Discharge Report model, Imaging report model... Show 3 more, Laboratory order, Laboratory report model and Media 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 | Conformance | ValueSet | URI
EHDSAttachment.contentType | preferred |
EHDSAttachment.language | preferred |

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 |

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 | Conformance | ValueSet | URI
EHDSAttachment.contentType | preferred |
EHDSAttachment.language | preferred |

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 | Conformance | ValueSet | URI
EHDSAttachment.contentType | preferred |
EHDSAttachment.language | preferred |

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 | Conformance | ValueSet | URI
EHDSAttachment.contentType | preferred |
EHDSAttachment.language | preferred |

This structure is derived from Base

Summary

Other representations of profile: CSV, Excel