## Profile Comparison between http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core vs http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core

Left: | Composition (EU core) (http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core)
Right: | Composition (EU core) (http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core)

### Messages

Error | StructureDefinition.version | Values for version differ: '2.0.0-gamma' vs '2.0.0'
Information | StructureDefinition.status | Values for status differ: 'draft' vs 'active'
Information | StructureDefinition.date | Values for date differ: '2026-02-25T10:00:47+01:00' vs '2026-04-27T22:40:12+03:00'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Composition |
copyright | Copyright HL7 Europe. Licensed under creative commons public domain (CC0 1.0). |
date | 2026-02-25T10:00:47+01:00 | 2026-04-27T22:40:12+03:00 | Values Differ
description | This profile introduces essential constraints and extensions for the Composition resource for commonly used EHDS documents. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#150 |
kind | resource |
name | CompositionEuCore |
publisher | HL7 Europe |
purpose | This profile constrains the Composition resource for the purpose of this guide. |
status | draft | active | Values Differ
title | Composition (EU core) |
type | Composition |
url | http://hl7.eu/fhir/base/StructureDefinition/composition-eu-core |
version | 2.0.0-gamma | 2.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Composition |  | 0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation |  | 0..* | Composition | A set of resources composed into a single coherent clinical statement with clinical attestation |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the composition content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the composition content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 1..1 | Identifier | Report identifier | Σ | 1..1 | Identifier | Report identifier |
status | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): The workflow/clinical status of the composition. | ?!Σ | 1..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): The workflow/clinical status of the composition. |
type | Σ | 1..1 | CodeableConcept | Type of document/report (e.g. imaging report LOINC) Binding: ?? (preferred): Type of a composition. | Σ | 1..1 | CodeableConcept | Type of document/report (e.g. imaging report LOINC) Binding: ?? (preferred): Type of a composition. |
Slices for category | Σ | 0..* | CodeableConcept | Document Category Slice: Unordered, Open by value:$this Binding: ?? (example): High-level kind of a clinical document at a macro level. | Σ | 0..* | CodeableConcept | Document Category Binding: ?? (example): High-level kind of a clinical document at a macro level. |
subject | Σ | 1..1 | Reference(Patient (EU core) | Group | Location (EU core) | Device) | Who and/or what the composition is about | Σ | 1..1 | Reference(Patient (EU core) | Group | Location (EU core) | Device) | Who and/or what the composition is about |
encounter | Σ | 0..1 | Reference(Encounter) | Context of the Composition | Σ | 0..1 | Reference(Encounter) | Context of the Composition |
date | Σ | 1..1 | dateTime | Composition editing time | Σ | 1..1 | dateTime | Composition editing time |
author | Σ | 1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Device | Patient (EU core) | RelatedPerson) | Who and/or what authored the composition | Σ | 1..* | Reference(Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core) | Device | Patient (EU core) | RelatedPerson) | Who and/or what authored the composition |
title | Σ | 1..1 | string | Human Readable name/title | Σ | 1..1 | string | Human Readable name/title |
confidentiality | Σ | 0..1 | code | As defined by affinity domain Binding: ?? (required): Codes specifying the level of confidentiality of the composition. | Σ | 0..1 | code | As defined by affinity domain Binding: ?? (required): Codes specifying the level of confidentiality of the composition. |
Slices for attester |  | 0..* | BackboneElement | Attests to accuracy of composition Slice: Unordered, Open by value:mode |  | 0..* | BackboneElement | Attests to accuracy of composition Slice: Unordered, Open by value:mode |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
mode |  | 1..1 | code | personal | professional | legal | official Binding: ?? (required): The way in which a person authenticated a composition. |  | 1..1 | code | personal | professional | legal | official Binding: ?? (required): The way in which a person authenticated a composition. |
time |  | 0..1 | dateTime | When the composition was attested |  | 0..1 | dateTime | When the composition was attested |
party |  | 0..1 | Reference(Patient (EU core) | RelatedPerson | Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core)) | Who attested the composition |  | 0..1 | Reference(Patient (EU core) | RelatedPerson | Practitioner (EU core) | PractitionerRole (EU core) | Organization (EU core)) | Who attested the composition |
custodian | Σ | 0..1 | Reference(Organization (EU core)) | Organization which maintains the composition | Σ | 0..1 | Reference(Organization (EU core)) | Organization which maintains the composition |
relatesTo |  | 0..* | BackboneElement | Relationships to other compositions/documents |  | 0..* | BackboneElement | Relationships to other compositions/documents |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code |  | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents. |  | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents. |
target[x] |  | 1..1 | Identifier, Reference(Composition) | Target of the relationship |  | 1..1 | Identifier, Reference(Composition) | Target of the relationship |
event | Σ | 0..* | BackboneElement | The clinical service(s) being documented | Σ | 0..* | BackboneElement | The clinical service(s) being documented |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | Σ | 0..* | CodeableConcept | Event code Binding: ?? (example): This list of codes represents the main clinical acts being documented. | Σ | 0..* | CodeableConcept | Event code Binding: ?? (example): This list of codes represents the main clinical acts being documented. |
period | Σ | 0..1 | Period | Event period | Σ | 0..1 | Period | Event period |
detail | Σ | 0..* | Reference(Resource) | The event(s) being documented | Σ | 0..* | Reference(Resource) | The event(s) being documented |
section | C | 0..* | BackboneElement | Composition is broken into sections | C | 0..* | BackboneElement | Composition is broken into sections |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
title |  | 1..1 | string | Label for section (e.g. for ToC) |  | 1..1 | string | Label for section (e.g. for ToC) |
code |  | 1..1 | CodeableConcept | Classification of section (recommended) Binding: ?? (example): Classification of a section of a composition/document. |  | 1..1 | CodeableConcept | Classification of section (recommended) Binding: ?? (example): Classification of a section of a composition/document. |
author |  | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section |  | 0..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the section |
focus |  | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition |  | 0..1 | Reference(Resource) | Who/what the section is about, when it is not about the subject of composition |
text | C | 1..1 | Narrative | Text summary of the section, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | C | 1..1 | Narrative | Text summary of the section, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
mode |  | 0..1 | code | working | snapshot | changes Binding: ?? (required): The processing mode that applies to this section. |  | 0..1 | code | working | snapshot | changes Binding: ?? (required): The processing mode that applies to this section. |
orderedBy |  | 0..1 | CodeableConcept | Order of section entries Binding: ?? (preferred): What order applies to the items in the entry. |  | 0..1 | CodeableConcept | Order of section entries Binding: ?? (preferred): What order applies to the items in the entry. |
entry | C | 0..* | Reference(Resource) | A reference to data that supports this section | C | 0..* | Reference(Resource) | A reference to data that supports this section |
emptyReason | C | 0..1 | CodeableConcept | Empty reason Binding: ?? (preferred): If a section is empty, why it is empty. | C | 0..1 | CodeableConcept | Empty reason Binding: ?? (preferred): If a section is empty, why it is empty. |
section | C | 0..* | See section (Composition) | Nested Section | C | 0..* | See section (Composition) | Nested Section |
Documentation for this format