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

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

### Messages

Error | StructureDefinition.version | Values for version differ: '2.0.0-ballot' vs '2.0.0'
Information | StructureDefinition.date | Values for date differ: '2025-12-19T19:52:30+01:00' vs '2026-04-27T22:41:19+03:00'
Information | StructureDefinition.short | Values for short differ: 'Language of the resource content' vs 'Language of the composition content'
Information | StructureDefinition.definition | Values for definition differ: 'Identifiers assigned to this report by the performer or other systems. Should remain stable across versions of the report.' vs 'Identifiers assigned to this document by the performer or other systems. Should remain stable across versions of the report.'
Information | StructureDefinition.short | Values for short differ: 'The period covered by the documentation' vs 'Event period'

### 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 | 2025-12-19T19:52:30+01:00 | 2026-04-27T22:41:19+03:00 | Values Differ
description | This profile sets minimum expectations for the Composition resource for commonly used EHDS documents. | This profile introduces essential constraints and extensions for the Composition resource for commonly used EHDS documents. | Values Differ
experimental | false |
fhirVersion | 5.0.0 |
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 | active |
title | Composition (EU core) |
type | Composition |
url | http://hl7.eu/fhir/base-r5/StructureDefinition/composition-eu-core |
version | 2.0.0-ballot | 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 resource content Binding: ?? (required): IETF language tag for a human language
Additional Bindings | Purpose
?? | Starter
|  | 0..1 | code | Language of the composition content Binding: ?? (required): IETF language tag for a human language
Additional Bindings | Purpose
?? | Starter
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 |
url | Σ | 0..1 | uri | Canonical identifier for this Composition, represented as a URI (globally unique) | Σ | 0..1 | uri | Canonical identifier for this Composition, represented as a URI (globally unique) |
identifier | Σ | 1..* | Identifier | Report identifier | Σ | 1..* | Identifier | Report identifier |
version | Σ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the Composition | Σ | 0..1 | string | An explicitly assigned identifer of a variation of the content in the Composition |
status | ?!Σ | 1..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown Binding: ?? (required): The workflow/clinical status of the composition. | ?!Σ | 1..1 | code | registered | partial | preliminary | final | amended | corrected | appended | cancelled | entered-in-error | deprecated | unknown 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 |
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support | Σ | 0..* | UsageContext | The context that the content is intended to support |
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 |
name | Σ | 0..1 | string | Name for this Composition (computer friendly) | Σ | 0..1 | string | Name for this Composition (computer friendly) |
title | Σ | 1..1 | string | Human Readable name/title | Σ | 1..1 | string | Human Readable name/title |
note |  | 0..* | Annotation | For any additional notes |  | 0..* | Annotation | For any additional notes |
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 | CodeableConcept | personal | professional | legal | official Binding: ?? (preferred): The way in which a person authenticated a composition. |  | 1..1 | CodeableConcept | personal | professional | legal | official Binding: ?? (preferred): 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..* | RelatedArtifact | Relationships to other compositions/documents |  | 0..* | RelatedArtifact | Relationships to other compositions/documents |
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 |
period | Σ | 0..1 | Period | The period covered by the documentation | Σ | 0..1 | Period | Event period |
detail | Σ | 0..* | CodeableReference(Resource) | The event(s) being documented, as code(s), reference(s), or both Binding: ?? (example): This list of codes represents the main clinical acts being documented. | Σ | 0..* | CodeableReference(Resource) | The event(s) being documented, as code(s), reference(s), or both Binding: ?? (example): This list of codes represents the main clinical acts being documented. |
id |  |  |  |  |  | 0..1 | id | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
concept |  |  |  |  | Σ | 0..1 | CodeableConcept | Event code | Added this element
reference |  |  |  |  | Σ | 0..1 | Reference() | Reference to a resource (by instance) | Added this element
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 |
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 |  | 0..* | See section (Composition) | Nested Section |  | 0..* | See section (Composition) | Nested Section |
Documentation for this format