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/costateixeira/xt-ehr-common/ and changes regularly. See the Directory of published versions

## Logical Model: EHDSAttachment - Detailed Descriptions

Draft as of 2025-12-03

Definitions for the EHDSAttachment logical model.

- Key Elements Table
- Differential Elements Table
- Snapshot Elements Table

Guidance on how to interpret the contents of this table can be foundhere

0. EHDSAttachment
Definition | 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. Base definition for all types defined in FHIR type system.
Short | Attachment modelBase for all types and resources
Control | 0..*
Is Modifier | false
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. EHDSAttachment.contentType
Definition | Mime type of the content, with charset etc.
Short | Mime type of the content, with charset etc.
Control | 0..1
Binding | BCP-13
Type | CodeableConcept
4. EHDSAttachment.language
Definition | Human language of the content
Short | Human language of the content
Control | 0..1
Binding | BCP 47
Type | CodeableConcept
6. EHDSAttachment.data
Definition | The actual data of the attachment - a sequence of bytes, base64 encoded.
Short | The actual data of the attachment - a sequence of bytes, base64 encoded.
Control | 0..1
Type | base64Binary
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
8. EHDSAttachment.url
Definition | A location where the data can be accessed.
Short | A location where the data can be accessed.
Control | 0..1
Type | uri
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
10. EHDSAttachment.size
Definition | The number of bytes of data that make up this attachment (before base64 encoding).
Short | The number of bytes of data that make up this attachment (before base64 encoding).
Control | 0..1
Type | integer64
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
12. EHDSAttachment.title
Definition | A label or set of text to display in place of the data.
Short | A label or set of text to display in place of the data.
Control | 0..1
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension

Guidance on how to interpret the contents of this table can be foundhere

0. EHDSAttachment
Definition | 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.
Short | Attachment model
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. EHDSAttachment.contentType
Definition | Mime type of the content, with charset etc.
Short | Mime type of the content, with charset etc.
Control | 0..1
Binding | BCP-13
Type | CodeableConcept
4. EHDSAttachment.language
Definition | Human language of the content
Short | Human language of the content
Control | 0..1
Binding | BCP 47
Type | CodeableConcept
6. EHDSAttachment.data
Definition | The actual data of the attachment - a sequence of bytes, base64 encoded.
Short | The actual data of the attachment - a sequence of bytes, base64 encoded.
Control | 0..1
Type | base64Binary
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
8. EHDSAttachment.url
Definition | A location where the data can be accessed.
Short | A location where the data can be accessed.
Control | 0..1
Type | uri
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
10. EHDSAttachment.size
Definition | The number of bytes of data that make up this attachment (before base64 encoding).
Short | The number of bytes of data that make up this attachment (before base64 encoding).
Control | 0..1
Type | integer64
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
12. EHDSAttachment.title
Definition | A label or set of text to display in place of the data.
Short | A label or set of text to display in place of the data.
Control | 0..1
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension

Guidance on how to interpret the contents of this table can be foundhere

0. EHDSAttachment
Definition | 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.
Short | Attachment model
Control | 0..*
Is Modifier | false
Logical Model | Instances of this logical model are not marked to be the target of a Reference
2. EHDSAttachment.contentType
Definition | Mime type of the content, with charset etc.
Short | Mime type of the content, with charset etc.
Control | 0..1
Binding | BCP-13
Type | CodeableConcept
4. EHDSAttachment.language
Definition | Human language of the content
Short | Human language of the content
Control | 0..1
Binding | BCP 47
Type | CodeableConcept
6. EHDSAttachment.data
Definition | The actual data of the attachment - a sequence of bytes, base64 encoded.
Short | The actual data of the attachment - a sequence of bytes, base64 encoded.
Control | 0..1
Type | base64Binary
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
8. EHDSAttachment.url
Definition | A location where the data can be accessed.
Short | A location where the data can be accessed.
Control | 0..1
Type | uri
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
10. EHDSAttachment.size
Definition | The number of bytes of data that make up this attachment (before base64 encoding).
Short | The number of bytes of data that make up this attachment (before base64 encoding).
Control | 0..1
Type | integer64
Primitive Value | This primitive element may be present, or absent, or replaced by an extension
12. EHDSAttachment.title
Definition | A label or set of text to display in place of the data.
Short | A label or set of text to display in place of the data.
Control | 0..1
Type | string
Primitive Value | This primitive element may be present, or absent, or replaced by an extension