## Profile Comparison between http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab vs http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab

Left: | Composition: Laboratory Report (http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab)
Right: | Composition: Laboratory Report (http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.1.0' vs '0.1.1'
Information | StructureDefinition.date | Values for date differ: '2024-02-20T12:32:58+01:00' vs '2025-03-25T12:23:34+01:00'
Information | StructureDefinition.short | Values for short differ: 'Concept - reference to a terminology or just text' vs 'Classification of section (recommended)'
Information | StructureDefinition.definition | Values for definition differ: 'A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.' vs 'A code identifying the kind of content contained within the section. This must be consistent with the section title.'
Information | StructureDefinition.comment | Values for comment differ: 'Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.' vs 'The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document. If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/clinicaldocument |
copyright | Used by permission of HL7 Europe, all rights reserved Creative Commons License |
date | 2024-02-20T12:32:58+01:00 | 2025-03-25T12:23:34+01:00 | Values Differ
description | Clinical document used to represent a Laboratory Report for the scope of the HL7 Europe project. |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#150 |
kind | resource |
name | CompositionLabReportEu |
publisher | HL7 Europe |
purpose |  |
status | active |
title | Composition: Laboratory Report |
type | Composition |
url | http://hl7.eu/fhir/laboratory/StructureDefinition/Composition-eu-lab |
version | 0.1.0 | 0.1.1 | 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..* | Clinical Document | Laboratory Report composition |  | 0..* | Clinical Document | Laboratory Report composition |
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: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Narrative text |  | 0..1 | Narrative | Narrative text |
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 | Σ | 0..1 | Identifier | Report identifier | Σ | 0..1 | Identifier | Report identifier |
status | ?!Σ | 1..1 | code | Status of the Report Binding: ?? (required): The workflow/clinical status of the composition. | ?!Σ | 1..1 | code | Status of the Report Binding: ?? (required): The workflow/clinical status of the composition. |
type |  | 1..1 | ?? | Type of (Laboratory) Report Binding: ?? (preferred) | Σ | 1..1 | ?? | Type of (Laboratory) Report Binding: ?? (preferred) |
Slices for category | Σ | 0..* | ?? | Report Category Slice: Unordered, Open by pattern:$this Binding: ?? (example): High-level kind of a clinical document at a macro level. | Σ | 0..* | ?? | Report Category Slice: Unordered, Open by value:$this Binding: ?? (example): High-level kind of a clinical document at a macro level. |
subject | Σ | 1..1 | Reference(Patient: Person | Patient: Animal | Group | Location | Device) | Who and/or what this report is about | Σ | 1..1 | Reference(Patient: Person | Patient: Animal | Group | Location | Device) | Who and/or what this report is about |
encounter | Σ | 0..1 | Reference(Encounter) | The healthcare event which this Laboratory Report is about (when test ordered). | Σ | 0..1 | Reference(Encounter) | The healthcare event which this Laboratory Report is about (when test ordered). |
date | Σ | 1..1 | dateTime | Composition editing time | Σ | 1..1 | dateTime | Composition editing time |
author | Σ | 1..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the Laboratory Report | Σ | 1..* | Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization) | Who and/or what authored the Laboratory Report |
title | Σ | 1..1 | string | Laboratory Report | Σ | 1..1 | string | Laboratory Report |
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. |
attester |  | 0..* | BackboneElement | Attests the report accuracy |  | 0..* | BackboneElement | Attests the report accuracy |
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 | The type of attestation Binding: ?? (required): The way in which a person authenticated a composition. |  | 1..1 | code | The type of attestation Binding: ?? (required): The way in which a person authenticated a composition. |
time |  | 0..1 | dateTime | When the report was attested by the party |  | 0..1 | dateTime | When the report was attested by the party |
party |  | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the report |  | 0..1 | Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) | Who attested the report |
custodian | Σ | 0..1 | Reference(Organization) | Organization which maintains the composition | Σ | 0..1 | Reference(Organization) | 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 laboratory service(s) being documented | Σ | 0..* | BackboneElement | The laboratory 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 | Code(s) that apply to the laboratory service(s) being documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. | Σ | 0..* | CodeableConcept | Code(s) that apply to the laboratory service(s) being documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. |
period | Σ | 0..1 | Period | Period of time covered by the documentation | Σ | 0..1 | Period | Period of time covered by the documentation |
detail | Σ | 0..* | Reference(Resource) | The laboratory service(s) being documented | Σ | 0..* | Reference(Resource) | The laboratory service(s) being documented |
Slices for section | C | 1..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by exists:$this.section, exists:$this.entry cmp-1: A section must contain at least one of text, entries, or sub-sections cmp-2: A section can only have an emptyReason if it is empty | C | 1..* | BackboneElement | Composition is broken into sections Slice: Unordered, Open by exists:$this.section, exists:$this.entry cmp-1: A section must contain at least one of text, entries, or sub-sections cmp-2: A section can only have an emptyReason if it is empty |
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 |
title |  | 1..1 | string | Label for section (e.g. for ToC) |  | 1..1 | string | Label for section (e.g. for ToC) |
code |  | 1..1 | ?? | Concept - reference to a terminology or just text Binding: ?? (example): Classification of a section of a composition/document. |  | 1..1 | ?? | 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 | 0..1 | Narrative | Text summary of the section, for human interpretation | C | 0..1 | Narrative | Text summary of the section, for human interpretation |
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 | Why the section is empty Binding: ?? (preferred): If a section is empty, why it is empty. | C | 0..1 | CodeableConcept | Why the section is empty 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