MyHealth@Eu Laboratory Report
0.1.1 - trial-use 150

This page is part of the MyHealth@Eu Laboratory Report (v0.1.1: Wave 8) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: Specimen: Laboratory

Official URL: http://fhir.ehdsi.eu/laboratory/StructureDefinition/Specimen-lab-myhealtheu Version: 0.1.1
Active as of 2025-03-20 Computable Name: SpecimenMyHealthEu

This profile defines how to represent Specimens in HL7 FHIR for the purpose of this guide.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Specimen 0..* SpecimenEu Laboratory Specimen
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
... 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
... identifier OΣ 0..* Identifier External Identifier
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle LabReportHandler
... type OΣ 0..1 CodeableConcept Kind of material that forms the specimen
Binding: eHDSI Laboratory Specimen Type with exceptions (required)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle LabReportHandler
... subject OΣ 0..1 Reference(Patient: Laboratory | Patient: Animal | Device: specimen subject | Substance | Location) Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle LabReportHandler
... receivedTime OΣ 0..1 dateTime The time when specimen was received for processing
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle LabReportHandler
... parent 0..* Reference(Specimen: Laboratory) Specimen from which this specimen originated
ele-1: All FHIR elements must have a @value or children
... request 0..* Reference(ServiceRequest: Laboratory) Why the specimen was collected.
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Specimen.statusrequiredSpecimenStatus
http://hl7.org/fhir/ValueSet/specimen-status|4.0.1
from the FHIR Standard
Specimen.typerequiredEHDSILabSpecimenTypeWithExceptions
http://fhir.ehdsi.eu/laboratory/ValueSet/eHDSILabSpecimenTypeWithExceptions
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSpecimenIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSpecimenIf 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-4errorSpecimenIf 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-5errorSpecimenIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSpecimenA 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