CH ELM (R4)
1.16.0 - ci-build Switzerland flag

CH ELM (R4), published by Federal Office of Public Health FOPH. This guide is not an authorized publication; it is the continuous build for version 1.16.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ahdis/ch-elm/ and changes regularly. See the Directory of published versions

Resource Profile: CH ELM Composition: Laboratory Report Strict

Official URL: http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-composition-strict Version: 1.16.0
Active as of 2026-10-22 Computable Name: ChElmCompositionStrict

Copyright/Legal: CC0-1.0

This CH ELM Composition profile constrains that the section codes have corresponding observation value codes

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* ChElmComposition CH ELM Composition: Laboratory Report
This profile also imposes the profile Composition: Laboratory Report
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.Slices for extension Content/Rules for all slices
Composition.Slices for extension.extension:information-recipient 0..* (Complex) Information recipient
URL: http://hl7.eu/fhir/StructureDefinition/information-recipient
Composition.Slices for extension.extension:information-recipient.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:information-recipient.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/information-recipient"
Composition.Slices for extension.extension:basedOn-order-or-requisition 0..* (Complex) Document Based On Order
URL: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
Composition.Slices for extension.extension:basedOn-order-or-requisition.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:basedOn-order-or-requisition.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition"
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] 0..1 Value of extension
Slice: Unordered, Open by type:$this
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueIdentifier Identifier
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueReference Reference(ServiceRequest)
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] Content/Rules for all slices
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].value[x]:valueReference 0..1 Reference(CH LAB-Report ServiceRequest: Laboratory Order) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference 0..1 (Complex) Document DiagnosticReport Reference
URL: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference
Composition.Slices for extension.extension:diagnosticReport-reference.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:diagnosticReport-reference.url 1..1 uri "http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference"
Composition.Slices for extension.extension:diagnosticReport-reference.value[x] 1..1 Reference(CH LAB-Report DiagnosticReport: Laboratory Report) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Persistent, unique identifier for the diagnostic report (UUID)
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986 (extensions allowed)
Composition.identifier.value This element is included in summaries. C 1..1 string The value that is unique
Constraints: ch-elm-doc-identifier
Example General: 123456
Example CH ELM: urn:uuid:d494503a-7bef-4551-853c-f3dced2c518f
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Required Pattern: final (extensions allowed)
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
Composition.Slices for category This element is included in summaries. 0..* CodeableConcept Report Category
Slice: Unordered, Open by value:$this
Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.
Composition.Slices for category.category:studyType This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
Binding: Laboratory Study Types (required)
Composition.Slices for category.category:specialty This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The way of grouping of the test results into clinically meaningful groups (e.g. liver test; minerals; glucose profiles)
Binding: Laboratory Specialty (required)
Composition.subject This element is included in summaries. 1..1 Reference(CH ELM Patient) Who and/or what the composition is about
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..1 Reference(CH ELM Organization: Author) Who and/or what authored the composition
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.Slices for section C 1..1 BackboneElement Composition is broken into sections
Slice: Unordered, Closed by exists:$this.section, exists:$this.entry, value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:All Slices.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Composition.Slices for section.section:lab-no-subsections C 0..1 BackboneElement Variant 1: EU Laboratory Report section with entries and no sub-sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-no-subsections.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-no-subsections.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-no-subsections.code 1..1 CodeableConcept Classification of section (recommended)
Binding: Laboratory Study Types (preferred)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18725-2"
    }
  ]
}
Composition.Slices for section.section:lab-no-subsections.entry C 1..1 Reference(CH ELM Observation Results for Microbiology studies (set) strict) A reference to data that supports this section
Composition.Slices for section.section:annotations C 0..1 BackboneElement Annotation comment
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:annotations.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:annotations.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:annotations.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "48767-8"
    }
  ]
}
Composition.Slices for section.section:annotations.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
Composition.Slices for section.section:lab-mst C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-mst.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-mst.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18769-0"
    }
  ]
}
Composition.Slices for section.section:lab-mst.entry C 1..1 Reference(CH ELM Observation Results for Microbial susceptibility tests (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-gt C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-gt.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-gt.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://snomed.info/sct",
      "code" : "726528006"
    }
  ]
}
Composition.Slices for section.section:lab-gt.entry C 1..1 Reference(CH ELM Observation Results for Genotyping (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-sero C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-sero.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-sero.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18727-8"
    }
  ]
}
Composition.Slices for section.section:lab-sero.entry C 1..1 Reference(CH ELM Observation Results for HIV Recency Testing (strict)) A reference to data that supports this section

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍4.0.1 FHIR Std.
Composition.category Base example Document Class Value Set 📍4.0.1 FHIR Std.
Composition.category:studyType Base required Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.category:specialty Base required Laboratory Specialty 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​section.code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:annotations.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​code Base example Document Section Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-elm-doc-identifier error Composition.identifier.value The identifier must be an UUID. startsWith('urn:uuid:')
cmp-1 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from ChElmComposition

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition ChElmComposition This profile also imposes the profile Composition: Laboratory Report
Composition.Slices for section Content/Rules for all slices
Composition.Slices for section.section:lab-no-subsections 0..1 BackboneElement Variant 1: EU Laboratory Report section with entries and no sub-sections
Composition.Slices for section.section:lab-no-subsections.entry 1..1 Reference(CH ELM Observation Results for Microbiology studies (set) strict) A reference to data that supports this section

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* ChElmComposition CH ELM Composition: Laboratory Report
This profile also imposes the profile Composition: Laboratory Report
Composition.id This element is included in summaries. 0..1 id Logical id of this artifact
Composition.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Composition.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
Composition.contained 0..* Resource Contained, inline Resources
Composition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:information-recipient 0..* (Complex) Information recipient
URL: http://hl7.eu/fhir/StructureDefinition/information-recipient
Composition.Slices for extension.extension:information-recipient.id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:information-recipient.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:information-recipient.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/information-recipient"
Composition.Slices for extension.extension:information-recipient.value[x] 0..1 Reference(CH LAB-Report Practitioner | Device | CH LAB-Report Patient | RelatedPerson | CH LAB-Report PractitionerRole | CH Core Organization) Value of extension
Composition.Slices for extension.extension:basedOn-order-or-requisition 0..* (Complex) Document Based On Order
URL: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
Composition.Slices for extension.extension:basedOn-order-or-requisition.id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:basedOn-order-or-requisition.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:basedOn-order-or-requisition.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition"
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] 0..1 Value of extension
Slice: Unordered, Open by type:$this
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueIdentifier Identifier
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueReference Reference(ServiceRequest)
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] Content/Rules for all slices
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].value[x]:valueReference 0..1 Reference(CH LAB-Report ServiceRequest: Laboratory Order) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference 0..1 (Complex) Document DiagnosticReport Reference
URL: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference
Composition.Slices for extension.extension:diagnosticReport-reference.id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:diagnosticReport-reference.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:diagnosticReport-reference.url 1..1 uri "http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference"
Composition.Slices for extension.extension:diagnosticReport-reference.value[x] 1..1 Reference(CH LAB-Report DiagnosticReport: Laboratory Report) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Persistent, unique identifier for the diagnostic report (UUID)
Composition.identifier.id 0..1 string Unique id for inter-element referencing
Composition.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986 (extensions allowed)
Composition.identifier.value This element is included in summaries. C 1..1 string The value that is unique
Constraints: ch-elm-doc-identifier
Example General: 123456
Example CH ELM: urn:uuid:d494503a-7bef-4551-853c-f3dced2c518f
Composition.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Composition.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Required Pattern: final (extensions allowed)
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
Composition.Slices for category This element is included in summaries. 0..* CodeableConcept Report Category
Slice: Unordered, Open by value:$this
Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.
Composition.Slices for category.category:studyType This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
Binding: Laboratory Study Types (required)
Composition.Slices for category.category:specialty This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The way of grouping of the test results into clinically meaningful groups (e.g. liver test; minerals; glucose profiles)
Binding: Laboratory Specialty (required)
Composition.subject This element is included in summaries. 1..1 Reference(CH ELM Patient) Who and/or what the composition is about
Composition.subject.id 0..1 string Unique id for inter-element referencing
Composition.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.subject.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.subject.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.subject.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.encounter This element is included in summaries. 0..1 Reference(CH Core Encounter) Context of the Composition
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..1 Reference(CH ELM Organization: Author) Who and/or what authored the composition
Composition.author.id 0..1 string Unique id for inter-element referencing
Composition.author.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.author.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.author.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.author.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.confidentiality This element is included in summaries. 0..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
Composition.attester 0..* BackboneElement Attests to accuracy of composition
Composition.attester.id 0..1 string Unique id for inter-element referencing
Composition.attester.extension 0..* Extension Additional content defined by implementations
Composition.attester.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.attester.mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.
Composition.attester.time 0..1 dateTime When the composition was attested
Composition.attester.party 0..1 Reference(CH Core Patient | CH Core RelatedPerson | CH Core Practitioner | CH Core PractitionerRole | CH Core Organization) Who attested the composition
Composition.attester.party.id 0..1 string Unique id for inter-element referencing
Composition.attester.party.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.attester.party.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.attester.party.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.attester.party.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.attester.party.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.custodian This element is included in summaries. 0..1 Reference(CH Core Organization) Organization which maintains the composition
Composition.custodian.id 0..1 string Unique id for inter-element referencing
Composition.custodian.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.custodian.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.custodian.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.custodian.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.custodian.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.relatesTo 0..* BackboneElement Relationships to other compositions/documents
Composition.relatesTo.id 0..1 string Unique id for inter-element referencing
Composition.relatesTo.extension 0..* Extension Additional content defined by implementations
Composition.relatesTo.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.relatesTo.code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.
Composition.relatesTo.target[x] 1..1 Target of the relationship
Composition.relatesTo.target[x].targetIdentifier Identifier
Composition.relatesTo.target[x].targetReference Reference(CH Core Composition)
Composition.event This element is included in summaries. 0..* BackboneElement The clinical service(s) being documented
Composition.event.id 0..1 string Unique id for inter-element referencing
Composition.event.extension 0..* Extension Additional content defined by implementations
Composition.event.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.event.code This element is included in summaries. 0..* CodeableConcept Code(s) that apply to the event being documented
Binding: ActCode (3.0.0) (example): This list of codes represents the main clinical acts being documented.
Composition.event.period This element is included in summaries. 0..1 Period The period covered by the documentation
Composition.event.detail This element is included in summaries. 0..* Reference(Resource) The event(s) being documented
Composition.Slices for section C 1..1 BackboneElement Composition is broken into sections
Slice: Unordered, Closed by exists:$this.section, exists:$this.entry, value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:All Slices.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:All Slices.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:All Slices.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:All Slices.text C 0..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
Composition.Slices for section.section:All Slices.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:All Slices.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:All Slices.entry C 0..* Reference(Resource) A reference to data that supports this section
Composition.Slices for section.section:All Slices.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:All Slices.section C 0..* See section (Composition) Nested Section
Composition.Slices for section.section:lab-no-subsections C 0..1 BackboneElement Variant 1: EU Laboratory Report section with entries and no sub-sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-no-subsections.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-no-subsections.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-no-subsections.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-no-subsections.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-no-subsections.code 1..1 CodeableConcept Classification of section (recommended)
Binding: Laboratory Study Types (preferred)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18725-2"
    }
  ]
}
Composition.Slices for section.section:lab-no-subsections.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-no-subsections.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-no-subsections.text C 0..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
Composition.Slices for section.section:lab-no-subsections.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-no-subsections.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-no-subsections.entry C 1..1 Reference(CH ELM Observation Results for Microbiology studies (set) strict) A reference to data that supports this section
Composition.Slices for section.section:lab-no-subsections.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:annotations C 0..1 BackboneElement Annotation comment
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:annotations.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:annotations.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:annotations.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:annotations.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:annotations.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "48767-8"
    }
  ]
}
Composition.Slices for section.section:annotations.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:annotations.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:annotations.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
Composition.Slices for section.section:annotations.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:annotations.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:annotations.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:lab-mst C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-mst.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-mst.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-mst.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-mst.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-mst.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18769-0"
    }
  ]
}
Composition.Slices for section.section:lab-mst.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-mst.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-mst.text C 0..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
Composition.Slices for section.section:lab-mst.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-mst.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-mst.entry C 1..1 Reference(CH ELM Observation Results for Microbial susceptibility tests (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-mst.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:lab-gt C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-gt.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-gt.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-gt.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-gt.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-gt.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://snomed.info/sct",
      "code" : "726528006"
    }
  ]
}
Composition.Slices for section.section:lab-gt.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-gt.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-gt.text C 0..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
Composition.Slices for section.section:lab-gt.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-gt.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-gt.entry C 1..1 Reference(CH ELM Observation Results for Genotyping (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-gt.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:lab-sero C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-sero.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-sero.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-sero.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-sero.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-sero.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18727-8"
    }
  ]
}
Composition.Slices for section.section:lab-sero.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-sero.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-sero.text C 0..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
Composition.Slices for section.section:lab-sero.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-sero.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-sero.entry C 1..1 Reference(CH ELM Observation Results for HIV Recency Testing (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-sero.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.extension:diagnosticReport-reference.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍4.0.1 FHIR Std.
Composition.category Base example Document Class Value Set 📍4.0.1 FHIR Std.
Composition.category:studyType Base required Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.category:specialty Base required Laboratory Specialty 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.author.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.attester.​party.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.custodian.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📍3.0.0 THO v7.4
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-no-subsections.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​section.code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​section.mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​section.orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​section.emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:annotations.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:annotations.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:annotations.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:annotations.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-elm-doc-identifier error Composition.identifier.value The identifier must be an UUID. startsWith('urn:uuid:')
cmp-1 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* ChElmComposition CH ELM Composition: Laboratory Report
This profile also imposes the profile Composition: Laboratory Report
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.Slices for extension Content/Rules for all slices
Composition.Slices for extension.extension:information-recipient 0..* (Complex) Information recipient
URL: http://hl7.eu/fhir/StructureDefinition/information-recipient
Composition.Slices for extension.extension:information-recipient.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:information-recipient.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/information-recipient"
Composition.Slices for extension.extension:basedOn-order-or-requisition 0..* (Complex) Document Based On Order
URL: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
Composition.Slices for extension.extension:basedOn-order-or-requisition.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:basedOn-order-or-requisition.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition"
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] 0..1 Value of extension
Slice: Unordered, Open by type:$this
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueIdentifier Identifier
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueReference Reference(ServiceRequest)
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] Content/Rules for all slices
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].value[x]:valueReference 0..1 Reference(CH LAB-Report ServiceRequest: Laboratory Order) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference 0..1 (Complex) Document DiagnosticReport Reference
URL: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference
Composition.Slices for extension.extension:diagnosticReport-reference.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:diagnosticReport-reference.url 1..1 uri "http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference"
Composition.Slices for extension.extension:diagnosticReport-reference.value[x] 1..1 Reference(CH LAB-Report DiagnosticReport: Laboratory Report) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Persistent, unique identifier for the diagnostic report (UUID)
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986 (extensions allowed)
Composition.identifier.value This element is included in summaries. C 1..1 string The value that is unique
Constraints: ch-elm-doc-identifier
Example General: 123456
Example CH ELM: urn:uuid:d494503a-7bef-4551-853c-f3dced2c518f
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Required Pattern: final (extensions allowed)
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
Composition.Slices for category This element is included in summaries. 0..* CodeableConcept Report Category
Slice: Unordered, Open by value:$this
Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.
Composition.Slices for category.category:studyType This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
Binding: Laboratory Study Types (required)
Composition.Slices for category.category:specialty This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The way of grouping of the test results into clinically meaningful groups (e.g. liver test; minerals; glucose profiles)
Binding: Laboratory Specialty (required)
Composition.subject This element is included in summaries. 1..1 Reference(CH ELM Patient) Who and/or what the composition is about
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..1 Reference(CH ELM Organization: Author) Who and/or what authored the composition
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.Slices for section C 1..1 BackboneElement Composition is broken into sections
Slice: Unordered, Closed by exists:$this.section, exists:$this.entry, value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:All Slices.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Composition.Slices for section.section:lab-no-subsections C 0..1 BackboneElement Variant 1: EU Laboratory Report section with entries and no sub-sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-no-subsections.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-no-subsections.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-no-subsections.code 1..1 CodeableConcept Classification of section (recommended)
Binding: Laboratory Study Types (preferred)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18725-2"
    }
  ]
}
Composition.Slices for section.section:lab-no-subsections.entry C 1..1 Reference(CH ELM Observation Results for Microbiology studies (set) strict) A reference to data that supports this section
Composition.Slices for section.section:annotations C 0..1 BackboneElement Annotation comment
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:annotations.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:annotations.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:annotations.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "48767-8"
    }
  ]
}
Composition.Slices for section.section:annotations.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
Composition.Slices for section.section:lab-mst C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-mst.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-mst.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18769-0"
    }
  ]
}
Composition.Slices for section.section:lab-mst.entry C 1..1 Reference(CH ELM Observation Results for Microbial susceptibility tests (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-gt C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-gt.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-gt.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://snomed.info/sct",
      "code" : "726528006"
    }
  ]
}
Composition.Slices for section.section:lab-gt.entry C 1..1 Reference(CH ELM Observation Results for Genotyping (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-sero C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-sero.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-sero.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18727-8"
    }
  ]
}
Composition.Slices for section.section:lab-sero.entry C 1..1 Reference(CH ELM Observation Results for HIV Recency Testing (strict)) A reference to data that supports this section

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍4.0.1 FHIR Std.
Composition.category Base example Document Class Value Set 📍4.0.1 FHIR Std.
Composition.category:studyType Base required Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.category:specialty Base required Laboratory Specialty 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​section.code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:annotations.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​code Base example Document Section Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-elm-doc-identifier error Composition.identifier.value The identifier must be an UUID. startsWith('urn:uuid:')
cmp-1 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from ChElmComposition

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition ChElmComposition This profile also imposes the profile Composition: Laboratory Report
Composition.Slices for section Content/Rules for all slices
Composition.Slices for section.section:lab-no-subsections 0..1 BackboneElement Variant 1: EU Laboratory Report section with entries and no sub-sections
Composition.Slices for section.section:lab-no-subsections.entry 1..1 Reference(CH ELM Observation Results for Microbiology studies (set) strict) A reference to data that supports this section

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Composition 0..* ChElmComposition CH ELM Composition: Laboratory Report
This profile also imposes the profile Composition: Laboratory Report
Composition.id This element is included in summaries. 0..1 id Logical id of this artifact
Composition.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Composition.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Composition.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Composition.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
Composition.contained 0..* Resource Contained, inline Resources
Composition.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:information-recipient 0..* (Complex) Information recipient
URL: http://hl7.eu/fhir/StructureDefinition/information-recipient
Composition.Slices for extension.extension:information-recipient.id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:information-recipient.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:information-recipient.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/information-recipient"
Composition.Slices for extension.extension:information-recipient.value[x] 0..1 Reference(CH LAB-Report Practitioner | Device | CH LAB-Report Patient | RelatedPerson | CH LAB-Report PractitionerRole | CH Core Organization) Value of extension
Composition.Slices for extension.extension:basedOn-order-or-requisition 0..* (Complex) Document Based On Order
URL: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
Composition.Slices for extension.extension:basedOn-order-or-requisition.id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:basedOn-order-or-requisition.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:basedOn-order-or-requisition.url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition"
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] 0..1 Value of extension
Slice: Unordered, Open by type:$this
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueIdentifier Identifier
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].valueReference Reference(ServiceRequest)
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x] Content/Rules for all slices
Composition.Slices for extension.extension:basedOn-order-or-requisition.Slices for value[x].value[x]:valueReference 0..1 Reference(CH LAB-Report ServiceRequest: Laboratory Order) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference 0..1 (Complex) Document DiagnosticReport Reference
URL: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference
Composition.Slices for extension.extension:diagnosticReport-reference.id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:diagnosticReport-reference.extension 0..0 Extension
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:diagnosticReport-reference.url 1..1 uri "http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference"
Composition.Slices for extension.extension:diagnosticReport-reference.value[x] 1..1 Reference(CH LAB-Report DiagnosticReport: Laboratory Report) Value of extension
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].id 0..1 string Unique id for inter-element referencing
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.Slices for extension.extension:diagnosticReport-reference.value[x].display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Composition.identifier This element is included in summaries. 1..1 Identifier Persistent, unique identifier for the diagnostic report (UUID)
Composition.identifier.id 0..1 string Unique id for inter-element referencing
Composition.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Composition.identifier.type This element is included in summaries. 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Composition.identifier.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986 (extensions allowed)
Composition.identifier.value This element is included in summaries. C 1..1 string The value that is unique
Constraints: ch-elm-doc-identifier
Example General: 123456
Example CH ELM: urn:uuid:d494503a-7bef-4551-853c-f3dced2c518f
Composition.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Composition.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Composition.status This element is a modifier element. This element is included in summaries. 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Required Pattern: final (extensions allowed)
Composition.type This element is included in summaries. 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.
Composition.Slices for category This element is included in summaries. 0..* CodeableConcept Report Category
Slice: Unordered, Open by value:$this
Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.
Composition.Slices for category.category:studyType This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
Binding: Laboratory Study Types (required)
Composition.Slices for category.category:specialty This element is included in summaries. 0..* CodeableConceptIPS(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well The way of grouping of the test results into clinically meaningful groups (e.g. liver test; minerals; glucose profiles)
Binding: Laboratory Specialty (required)
Composition.subject This element is included in summaries. 1..1 Reference(CH ELM Patient) Who and/or what the composition is about
Composition.subject.id 0..1 string Unique id for inter-element referencing
Composition.subject.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.subject.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.subject.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.subject.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.subject.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.encounter This element is included in summaries. 0..1 Reference(CH Core Encounter) Context of the Composition
Composition.date This element is included in summaries. 1..1 dateTime Composition editing time
Composition.author This element is included in summaries. 1..1 Reference(CH ELM Organization: Author) Who and/or what authored the composition
Composition.author.id 0..1 string Unique id for inter-element referencing
Composition.author.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.author.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.author.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.author.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.author.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.title This element is included in summaries. 1..1 string Human Readable name/title
Composition.confidentiality This element is included in summaries. 0..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
Composition.attester 0..* BackboneElement Attests to accuracy of composition
Composition.attester.id 0..1 string Unique id for inter-element referencing
Composition.attester.extension 0..* Extension Additional content defined by implementations
Composition.attester.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.attester.mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.
Composition.attester.time 0..1 dateTime When the composition was attested
Composition.attester.party 0..1 Reference(CH Core Patient | CH Core RelatedPerson | CH Core Practitioner | CH Core PractitionerRole | CH Core Organization) Who attested the composition
Composition.attester.party.id 0..1 string Unique id for inter-element referencing
Composition.attester.party.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.attester.party.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.attester.party.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.attester.party.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.attester.party.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.custodian This element is included in summaries. 0..1 Reference(CH Core Organization) Organization which maintains the composition
Composition.custodian.id 0..1 string Unique id for inter-element referencing
Composition.custodian.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Composition.custodian.reference This element is included in summaries. C 1..1 string Literal reference, Relative, internal or absolute URL
Composition.custodian.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Composition.custodian.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Composition.custodian.display This element is included in summaries. 0..1 string Text alternative for the resource
Composition.relatesTo 0..* BackboneElement Relationships to other compositions/documents
Composition.relatesTo.id 0..1 string Unique id for inter-element referencing
Composition.relatesTo.extension 0..* Extension Additional content defined by implementations
Composition.relatesTo.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.relatesTo.code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.
Composition.relatesTo.target[x] 1..1 Target of the relationship
Composition.relatesTo.target[x].targetIdentifier Identifier
Composition.relatesTo.target[x].targetReference Reference(CH Core Composition)
Composition.event This element is included in summaries. 0..* BackboneElement The clinical service(s) being documented
Composition.event.id 0..1 string Unique id for inter-element referencing
Composition.event.extension 0..* Extension Additional content defined by implementations
Composition.event.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.event.code This element is included in summaries. 0..* CodeableConcept Code(s) that apply to the event being documented
Binding: ActCode (3.0.0) (example): This list of codes represents the main clinical acts being documented.
Composition.event.period This element is included in summaries. 0..1 Period The period covered by the documentation
Composition.event.detail This element is included in summaries. 0..* Reference(Resource) The event(s) being documented
Composition.Slices for section C 1..1 BackboneElement Composition is broken into sections
Slice: Unordered, Closed by exists:$this.section, exists:$this.entry, value:code
Constraints: cmp-1, cmp-2

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Composition.Slices for section.section:All Slices Content/Rules for all slices
Composition.Slices for section.section:All Slices.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:All Slices.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:All Slices.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:All Slices.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Composition.Slices for section.section:All Slices.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:All Slices.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:All Slices.text C 0..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
Composition.Slices for section.section:All Slices.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:All Slices.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:All Slices.entry C 0..* Reference(Resource) A reference to data that supports this section
Composition.Slices for section.section:All Slices.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:All Slices.section C 0..* See section (Composition) Nested Section
Composition.Slices for section.section:lab-no-subsections C 0..1 BackboneElement Variant 1: EU Laboratory Report section with entries and no sub-sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-no-subsections.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-no-subsections.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-no-subsections.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-no-subsections.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-no-subsections.code 1..1 CodeableConcept Classification of section (recommended)
Binding: Laboratory Study Types (preferred)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18725-2"
    }
  ]
}
Composition.Slices for section.section:lab-no-subsections.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-no-subsections.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-no-subsections.text C 0..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
Composition.Slices for section.section:lab-no-subsections.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-no-subsections.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-no-subsections.entry C 1..1 Reference(CH ELM Observation Results for Microbiology studies (set) strict) A reference to data that supports this section
Composition.Slices for section.section:lab-no-subsections.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:annotations C 0..1 BackboneElement Annotation comment
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:annotations.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:annotations.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:annotations.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:annotations.title 1..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:annotations.code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "48767-8"
    }
  ]
}
Composition.Slices for section.section:annotations.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:annotations.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:annotations.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
Composition.Slices for section.section:annotations.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:annotations.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:annotations.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:lab-mst C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-mst.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-mst.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-mst.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-mst.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-mst.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18769-0"
    }
  ]
}
Composition.Slices for section.section:lab-mst.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-mst.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-mst.text C 0..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
Composition.Slices for section.section:lab-mst.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-mst.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-mst.entry C 1..1 Reference(CH ELM Observation Results for Microbial susceptibility tests (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-mst.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:lab-gt C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-gt.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-gt.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-gt.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-gt.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-gt.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://snomed.info/sct",
      "code" : "726528006"
    }
  ]
}
Composition.Slices for section.section:lab-gt.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-gt.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-gt.text C 0..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
Composition.Slices for section.section:lab-gt.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-gt.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-gt.entry C 1..1 Reference(CH ELM Observation Results for Genotyping (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-gt.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.
Composition.Slices for section.section:lab-sero C 0..1 BackboneElement Composition is broken into sections
Constraints: cmp-1, cmp-2
Composition.Slices for section.section:lab-sero.id 0..1 string Unique id for inter-element referencing
Composition.Slices for section.section:lab-sero.extension 0..* Extension Additional content defined by implementations
Composition.Slices for section.section:lab-sero.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Composition.Slices for section.section:lab-sero.title 0..1 string Label for section (e.g. for ToC)
Composition.Slices for section.section:lab-sero.code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "18727-8"
    }
  ]
}
Composition.Slices for section.section:lab-sero.author 0..* Reference(CH Core Practitioner | CH Core PractitionerRole | Device | CH Core Patient | CH Core RelatedPerson | CH Core Organization) Who and/or what authored the section
Composition.Slices for section.section:lab-sero.focus 0..1 Reference(Resource) Who/what the section is about, when it is not about the subject of composition
Composition.Slices for section.section:lab-sero.text C 0..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
Composition.Slices for section.section:lab-sero.mode 0..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this section.
Composition.Slices for section.section:lab-sero.orderedBy 0..1 CodeableConcept Order of section entries
Binding: ListOrderCodes (preferred): What order applies to the items in the entry.
Composition.Slices for section.section:lab-sero.entry C 1..1 Reference(CH ELM Observation Results for HIV Recency Testing (strict)) A reference to data that supports this section
Composition.Slices for section.section:lab-sero.emptyReason C 0..1 CodeableConcept Why the section is empty
Binding: ListEmptyReasons (preferred): If a section is empty, why it is empty.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.extension:diagnosticReport-reference.​value[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base preferred FHIR Document Type Codes 📍4.0.1 FHIR Std.
Composition.category Base example Document Class Value Set 📍4.0.1 FHIR Std.
Composition.category:studyType Base required Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.category:specialty Base required Laboratory Specialty 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.author.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.attester.​party.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.custodian.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📍3.0.0 THO v7.4
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-no-subsections.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-no-subsections.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​section.code Base preferred Laboratory Study Types 📦0.1.1 HL7 Europe Laboratory Report v0.1
Composition.section:lab-subsections.​section.mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​section.orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-subsections.​section.emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:annotations.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:annotations.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:annotations.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:annotations.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-mst.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-gt.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​code Base example Document Section Codes 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​mode Base required ListMode 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​orderedBy Base preferred List Order Codes 📍4.0.1 FHIR Std.
Composition.section:lab-sero.​emptyReason Base preferred List Empty Reasons 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-elm-doc-identifier error Composition.identifier.value The identifier must be an UUID. startsWith('urn:uuid:')
cmp-1 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gt, Composition.section:lab-sero A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Composition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron