CH ELM (R4)
1.9.1 - release 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.9.1 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

Official URL: http://fhir.ch/ig/ch-elm/StructureDefinition/ch-elm-composition Version: 1.9.1
Active as of 2025-03-25 Computable Name: ChElmComposition

Copyright/Legal: CC0-1.0

This CH ELM base profile constrains the Composition resource for the purpose of laboratory test reports.

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..* ChLabReportComposition CH ELM Composition: Laboratory Report
This profile also imposes the profile Composition: Laboratory Report
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... extension:information-recipient 0..* (Complex) Information recipient
URL: http://hl7.eu/fhir/StructureDefinition/information-recipient
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/information-recipient"
.... extension:basedOn-order-or-requisition 0..* (Complex) Document Based On Order
URL: http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition"
..... Slices for value[x] 0..1 Value of extension
Slice: Unordered, Open by type:$this
ele-1: All FHIR elements must have a @value or children
...... valueIdentifier Identifier
...... valueReference Reference(ServiceRequest)
...... value[x]:valueReference 0..1 Reference(CH LAB-Report ServiceRequest: Laboratory Order) Value of extension
ele-1: All FHIR elements must have a @value or children
.... extension:diagnosticReport-reference 0..1 (Complex) Document DiagnosticReport Reference
URL: http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension 0..0
..... url 1..1 uri "http://hl7.eu/fhir/laboratory/StructureDefinition/composition-diagnosticReportReference"
..... value[x] 1..1 Reference(CH LAB-Report DiagnosticReport: Laboratory Report) Value of extension
ele-1: All FHIR elements must have a @value or children
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Required Pattern: urn:ietf:rfc:3986
.... value ΣC 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
ch-elm-doc-identifier: The identifier must be an UUID.
Example General: 123456
Example CH ELM: urn:uuid:d494503a-7bef-4551-853c-f3dced2c518f
... status ?!Σ 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.


ele-1: All FHIR elements must have a @value or children
Required Pattern: final
... type Σ 1..1 CodeableConcept Kind of composition (LOINC if possible)
Binding: FHIRDocumentTypeCodes (preferred): Type of a composition.


ele-1: All FHIR elements must have a @value or children
... Slices for category Σ 0..* CodeableConcept Report Category
Slice: Unordered, Open by value:$this
Binding: DocumentClassValueSet (example): High-level kind of a clinical document at a macro level.


ele-1: All FHIR elements must have a @value or children
.... category:studyType 0..* CodeableConceptIPS The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
Binding: Laboratory Study Types (required)
ele-1: All FHIR elements must have a @value or children
.... category:specialty 0..* CodeableConceptIPS The way of grouping of the test results into clinically meaningful groups (e.g. liver test; minerals; glucose profiles)
Binding: Laboratory Specialty (required)
ele-1: All FHIR elements must have a @value or children
... subject Σ 1..1 Reference(CH ELM Patient) Who and/or what the composition is about
ele-1: All FHIR elements must have a @value or children
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... date Σ 1..1 dateTime Composition editing time
ele-1: All FHIR elements must have a @value or children
... author Σ 1..1 Reference(CH ELM Organization: Author) Who and/or what authored the composition
ele-1: All FHIR elements must have a @value or children
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... title Σ 1..1 string Human Readable name/title
ele-1: All FHIR elements must have a @value or children
... Slices for section C 1..1 BackboneElement Composition is broken into sections
Slice: Unordered, Closed by exists:$this.section, exists:$this.entry, value:code
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... title 1..1 string Label for section (e.g. for ToC)
ele-1: All FHIR elements must have a @value or children
..... code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
.... section:lab-no-subsections C 0..1 BackboneElement Variant 1: EU Laboratory Report section with entries and no sub-sections
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... title 1..1 string Label for section (e.g. for ToC)
ele-1: All FHIR elements must have a @value or children
..... code 1..1 CodeableConcept Classification of section (recommended)
Binding: Laboratory Study Types (preferred)
ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 18725-2
..... entry C 1..1 Reference(CH ELM Observation Results for Microbiology studies (set)) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
.... section:annotations C 0..1 BackboneElement Annotation comment
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... code 0..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 48767-8
..... text C 1..1 Narrative Text summary of the section, for human interpretation
ele-1: All FHIR elements must have a @value or children
.... section:lab-mst C 0..1 BackboneElement Composition is broken into sections
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... title 1..1 string Label for section (e.g. for ToC)
ele-1: All FHIR elements must have a @value or children
..... code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 18769-0
..... entry C 1..1 Reference(CH ELM Observation Results for Microbial susceptibility tests) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children
.... section:lab-gt C 0..1 BackboneElement Composition is broken into sections
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... title 1..1 string Label for section (e.g. for ToC)
ele-1: All FHIR elements must have a @value or children
..... code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 726528006
..... entry C 1..1 Reference(CH ELM Observation Results for Genotyping) A reference to data that supports this section
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Composition.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Composition.statusrequiredPattern: final
http://hl7.org/fhir/ValueSet/composition-status|4.0.1
from the FHIR Standard
Composition.typepreferredFHIRDocumentTypeCodes
http://hl7.org/fhir/ValueSet/doc-typecodes
from the FHIR Standard
Composition.categoryexampleDocumentClassValueSet
http://hl7.org/fhir/ValueSet/document-classcodes
from the FHIR Standard
Composition.category:studyTyperequiredLabStudyTypesEuVs
http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab
Composition.category:specialtyrequiredLabSpecialtyEuVs
http://hl7.eu/fhir/laboratory/ValueSet/lab-specialty-eu-lab
Composition.section.codeexampleDocumentSectionCodes
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard
Composition.section:lab-no-subsections.codepreferredPattern: LOINC Code 18725-2
http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab
Composition.section:lab-subsections.section.codepreferredLabStudyTypesEuVs
http://hl7.eu/fhir/laboratory/ValueSet/lab-studyType-eu-lab
Composition.section:annotations.codeexamplePattern: LOINC Code 48767-8
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard
Composition.section:lab-mst.codeexamplePattern: LOINC Code 18769-0
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard
Composition.section:lab-gt.codeexamplePattern: SNOMED-CT Code 726528006
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ch-elm-doc-identifiererrorComposition.identifier.valueThe identifier must be an UUID.
: startsWith('urn:uuid:')
cmp-1errorComposition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gtA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:lab-no-subsections, Composition.section:annotations, Composition.section:lab-mst, Composition.section:lab-gtA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron