MIABIS on FHIR Implementation Guide
1.3.0 - CI Build

MIABIS on FHIR Implementation Guide - Local Development build (v1.3.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Sample

Official URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample Version: 1.3.0
Active as of 2026-10-12 Computable Name: Sample

Sample is a portion or quantity of biological material that is collected from a sample donor, or a digital representation of a biological entity of the sample donor, such as an image.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Specimen 0..* Specimen Sample for analysis
Specimen.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
Specimen.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.Slices for extension.extension:sampleCollection This element must be supported. 0..1 Identifier Sample Collection
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension
Specimen.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Specimen.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Sample ID
Specimen.status This element is a modifier element. This element is included in summaries. 0..1 code available | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.
Specimen.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Detailed Sample type
Binding: DetailedSampleTypeVS (required)
Specimen.subject This element must be supported. This element is included in summaries. 1..1 Reference(Sample Donor) Donor of the sample
Specimen.collection 0..1 BackboneElement Collection details
Specimen.collection.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.collection.Slices for collected[x] This element is included in summaries. 0..1 Collection time
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
Specimen.collection.Slices for collected[x].collectedDateTime dateTime
Specimen.collection.Slices for collected[x].collectedPeriod Period
Specimen.collection.Slices for collected[x].collected[x]:collectedDateTime This element must be supported. This element is included in summaries. 0..1 dateTime Sample creation date and time
Specimen.collection.bodySite 0..1 CodeableConcept Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Specimen.collection.bodySite.coding This element must be supported. This element is included in summaries. C 0..1 Coding Code defined by a terminology system
Constraints: SpecimenOntologyInvariant
Specimen.collection.bodySite.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Specimen.collection.bodySite.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Specimen.collection.bodySite.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Specimen.collection.bodySite.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Specimen.processing 0..* BackboneElement Processing and processing step details
Specimen.processing.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.processing.Slices for extension.extension:storageTemperature This element must be supported. 0..1 CodeableConcept Sample storage temperature
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension
Binding: Storage Temperature Value Set (required)
Specimen.processing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.note This element must be supported. 0..* Annotation Use restrictions
Specimen.note.text This element must be supported. This element is included in summaries. 1..1 markdown actual use restrictions

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.status Base required SpecimenStatus 📍4.0.1 FHIR Std.
Specimen.type Base required DetailedSampleTypeVS 📦1.3.0 This IG
Specimen.collection.​bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
SpecimenOntologyInvariant error Specimen.collection.bodySite.coding bodySite.concept.coding.system and bodySite.concept.coding.version are required if any ontology information is provided Specimen.collection.bodySite.concept.coding.exists() implies (Specimen.collection.bodySite.concept.coding.system.exists() and Specimen.collection.bodySite.concept.coding.version.exists())
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Specimen 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 Specimen 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 Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen 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 Specimen

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Specimen 0..* Specimen Sample for analysis
Specimen.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.Slices for extension.extension:sampleCollection This element must be supported. 0..1 Identifier Sample Collection
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension
Specimen.identifier This element must be supported. 1..1 Identifier Sample ID
Specimen.type This element must be supported. 1..1 CodeableConcept Detailed Sample type
Binding: DetailedSampleTypeVS (required)
Specimen.collection
Specimen.collection.Slices for collected[x] 0..1 dateTime, Period Collection time
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
Specimen.collection.Slices for collected[x].collected[x]:collectedDateTime This element must be supported. 0..1 dateTime Sample creation date and time
Specimen.collection.bodySite
Specimen.collection.bodySite.coding This element must be supported. C 0..1 Coding Code defined by a terminology system
Constraints: SpecimenOntologyInvariant
Specimen.collection.bodySite.coding.system 0..1 uri Identity of the terminology system
Specimen.collection.bodySite.coding.version 0..1 string Version of the system - if relevant
Specimen.collection.bodySite.coding.code 0..1 code Symbol in syntax defined by the system
Specimen.collection.bodySite.coding.display 0..1 string Representation defined by the system
Specimen.processing
Specimen.processing.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.processing.Slices for extension.extension:storageTemperature This element must be supported. 0..1 CodeableConcept Sample storage temperature
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension
Binding: Storage Temperature Value Set (required)
Specimen.note This element must be supported. 0..* Annotation Use restrictions
Specimen.note.text This element must be supported. 1..1 markdown actual use restrictions

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Specimen.type Base required DetailedSampleTypeVS 📦1.3.0 This IG

Constraints

Id Grade Path(s) Description Expression
SpecimenOntologyInvariant error Specimen.collection.bodySite.coding bodySite.concept.coding.system and bodySite.concept.coding.version are required if any ontology information is provided Specimen.collection.bodySite.concept.coding.exists() implies (Specimen.collection.bodySite.concept.coding.system.exists() and Specimen.collection.bodySite.concept.coding.version.exists())
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Specimen 0..* Specimen Sample for analysis
Specimen.id This element is included in summaries. 0..1 id Logical id of this artifact
Specimen.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Specimen.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
Specimen.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Specimen.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
Specimen.contained 0..* Resource Contained, inline Resources
Specimen.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.Slices for extension.extension:sampleCollection This element must be supported. 0..1 Identifier Sample Collection
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension
Specimen.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Specimen.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Sample ID
Specimen.accessionIdentifier This element is included in summaries. 0..1 Identifier Identifier assigned by the lab
Specimen.status This element is a modifier element. This element is included in summaries. 0..1 code available | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.
Specimen.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Detailed Sample type
Binding: DetailedSampleTypeVS (required)
Specimen.subject This element must be supported. This element is included in summaries. 1..1 Reference(Sample Donor) Donor of the sample
Specimen.receivedTime This element is included in summaries. 0..1 dateTime The time when specimen was received for processing
Specimen.parent 0..* Reference(Specimen) Specimen from which this specimen originated
Specimen.request 0..* Reference(ServiceRequest) Why the specimen was collected
Specimen.collection 0..1 BackboneElement Collection details
Specimen.collection.id 0..1 string Unique id for inter-element referencing
Specimen.collection.extension 0..* Extension Additional content defined by implementations
Specimen.collection.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.collection.collector This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole) Who collected the specimen
Specimen.collection.Slices for collected[x] This element is included in summaries. 0..1 Collection time
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
Specimen.collection.Slices for collected[x].collectedDateTime dateTime
Specimen.collection.Slices for collected[x].collectedPeriod Period
Specimen.collection.Slices for collected[x].collected[x]:collectedDateTime This element must be supported. This element is included in summaries. 0..1 dateTime Sample creation date and time
Specimen.collection.duration This element is included in summaries. 0..1 Duration How long it took to collect specimen
Specimen.collection.quantity C 0..1 SimpleQuantity(4.0.1) The quantity of specimen collected
Constraints: sqty-1
Specimen.collection.method 0..1 CodeableConcept Technique used to perform collection
Binding: FHIRSpecimenCollectionMethod (example): The technique that is used to perform the procedure.
Specimen.collection.bodySite 0..1 CodeableConcept Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Specimen.collection.bodySite.id 0..1 string Unique id for inter-element referencing
Specimen.collection.bodySite.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Specimen.collection.bodySite.coding This element must be supported. This element is included in summaries. C 0..1 Coding Code defined by a terminology system
Constraints: SpecimenOntologyInvariant
Specimen.collection.bodySite.coding.id 0..1 string Unique id for inter-element referencing
Specimen.collection.bodySite.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Specimen.collection.bodySite.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Specimen.collection.bodySite.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Specimen.collection.bodySite.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Specimen.collection.bodySite.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Specimen.collection.bodySite.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Specimen.collection.bodySite.text This element is included in summaries. 0..1 string Plain text representation of the concept
Specimen.collection.fastingStatus[x] This element is included in summaries. 0..1 Whether or how long patient abstained from food and/or drink
Binding: hl7VS-relevantClincialInformation (extensible): Codes describing the fasting status of the patient.
Specimen.collection.fastingStatus[x].fastingStatusCodeableConcept CodeableConcept
Specimen.collection.fastingStatus[x].fastingStatusDuration Duration
Specimen.processing 0..* BackboneElement Processing and processing step details
Specimen.processing.id 0..1 string Unique id for inter-element referencing
Specimen.processing.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.processing.Slices for extension.extension:storageTemperature This element must be supported. 0..1 CodeableConcept Sample storage temperature
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension
Binding: Storage Temperature Value Set (required)
Specimen.processing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.processing.description 0..1 string Textual description of procedure
Specimen.processing.procedure 0..1 CodeableConcept Indicates the treatment step applied to the specimen
Binding: SpecimenProcessingProcedure (example): Type indicating the technique used to process the specimen.
Specimen.processing.additive 0..* Reference(Substance) Material used in the processing step
Specimen.processing.time[x] 0..1 Date and time of specimen processing
Specimen.processing.time[x].timeDateTime dateTime
Specimen.processing.time[x].timePeriod Period
Specimen.container 0..* BackboneElement Direct container of specimen (tube/slide, etc.)
Specimen.container.id 0..1 string Unique id for inter-element referencing
Specimen.container.extension 0..* Extension Additional content defined by implementations
Specimen.container.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.container.identifier This element is included in summaries. 0..* Identifier Id for the container
Specimen.container.description 0..1 string Textual description of the container
Specimen.container.type 0..1 CodeableConcept Kind of container directly associated with specimen
Binding: SpecimenContainerType (example): Type of specimen container.
Specimen.container.capacity C 0..1 SimpleQuantity(4.0.1) Container volume or size
Constraints: sqty-1
Specimen.container.specimenQuantity C 0..1 SimpleQuantity(4.0.1) Quantity of specimen within container
Constraints: sqty-1
Specimen.container.additive[x] 0..1 Additive associated with container
Binding: hl7VS-additivePreservative (example): Substance added to specimen container.
Specimen.container.additive[x].additiveCodeableConcept CodeableConcept
Specimen.container.additive[x].additiveReference Reference(Substance)
Specimen.condition This element is included in summaries. 0..* CodeableConcept State of the specimen
Binding: hl7VS-specimenCondition (extensible): Codes describing the state of the specimen.
Specimen.note This element must be supported. 0..* Annotation Use restrictions
Specimen.note.id 0..1 string Unique id for inter-element referencing
Specimen.note.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Specimen.note.author[x] This element is included in summaries. 0..1 Individual responsible for the annotation
Specimen.note.author[x].authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
Specimen.note.author[x].authorString string
Specimen.note.time This element is included in summaries. 0..1 dateTime When the annotation was made
Specimen.note.text This element must be supported. This element is included in summaries. 1..1 markdown actual use restrictions

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Specimen.status Base required SpecimenStatus 📍4.0.1 FHIR Std.
Specimen.type Base required DetailedSampleTypeVS 📦1.3.0 This IG
Specimen.collection.​method Base example FHIR Specimen Collection Method 📍4.0.1 FHIR Std.
Specimen.collection.​bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Specimen.collection.​fastingStatus[x] Base extensible hl7VS-relevantClincialInformation 📦3.0.0 THO v7.4
Specimen.processing.​procedure Base example Specimen processing procedure 📍4.0.1 FHIR Std.
Specimen.container.type Base example Specimen Container Type 📍4.0.1 FHIR Std.
Specimen.container.additive[x] Base example hl7VS-additivePreservative 📦3.0.0 THO v7.4
Specimen.condition Base extensible hl7VS-specimenCondition 📦3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
SpecimenOntologyInvariant error Specimen.collection.bodySite.coding bodySite.concept.coding.system and bodySite.concept.coding.version are required if any ontology information is provided Specimen.collection.bodySite.concept.coding.exists() implies (Specimen.collection.bodySite.concept.coding.system.exists() and Specimen.collection.bodySite.concept.coding.version.exists())
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Specimen 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 Specimen 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 Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen 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()
sqty-1 error Specimen.collection.quantity, Specimen.container.capacity, Specimen.container.specimenQuantity The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from Specimen

Summary

Mandatory: 3 elements
Must-Support: 9 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Specimen.collection.collected[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Specimen 0..* Specimen Sample for analysis
Specimen.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
Specimen.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.Slices for extension.extension:sampleCollection This element must be supported. 0..1 Identifier Sample Collection
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension
Specimen.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Specimen.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Sample ID
Specimen.status This element is a modifier element. This element is included in summaries. 0..1 code available | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.
Specimen.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Detailed Sample type
Binding: DetailedSampleTypeVS (required)
Specimen.subject This element must be supported. This element is included in summaries. 1..1 Reference(Sample Donor) Donor of the sample
Specimen.collection 0..1 BackboneElement Collection details
Specimen.collection.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.collection.Slices for collected[x] This element is included in summaries. 0..1 Collection time
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
Specimen.collection.Slices for collected[x].collectedDateTime dateTime
Specimen.collection.Slices for collected[x].collectedPeriod Period
Specimen.collection.Slices for collected[x].collected[x]:collectedDateTime This element must be supported. This element is included in summaries. 0..1 dateTime Sample creation date and time
Specimen.collection.bodySite 0..1 CodeableConcept Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Specimen.collection.bodySite.coding This element must be supported. This element is included in summaries. C 0..1 Coding Code defined by a terminology system
Constraints: SpecimenOntologyInvariant
Specimen.collection.bodySite.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Specimen.collection.bodySite.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Specimen.collection.bodySite.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Specimen.collection.bodySite.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Specimen.processing 0..* BackboneElement Processing and processing step details
Specimen.processing.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.processing.Slices for extension.extension:storageTemperature This element must be supported. 0..1 CodeableConcept Sample storage temperature
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension
Binding: Storage Temperature Value Set (required)
Specimen.processing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.note This element must be supported. 0..* Annotation Use restrictions
Specimen.note.text This element must be supported. This element is included in summaries. 1..1 markdown actual use restrictions

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.status Base required SpecimenStatus 📍4.0.1 FHIR Std.
Specimen.type Base required DetailedSampleTypeVS 📦1.3.0 This IG
Specimen.collection.​bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
SpecimenOntologyInvariant error Specimen.collection.bodySite.coding bodySite.concept.coding.system and bodySite.concept.coding.version are required if any ontology information is provided Specimen.collection.bodySite.concept.coding.exists() implies (Specimen.collection.bodySite.concept.coding.system.exists() and Specimen.collection.bodySite.concept.coding.version.exists())
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Specimen 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 Specimen 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 Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen 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 Specimen

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Specimen 0..* Specimen Sample for analysis
Specimen.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.Slices for extension.extension:sampleCollection This element must be supported. 0..1 Identifier Sample Collection
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension
Specimen.identifier This element must be supported. 1..1 Identifier Sample ID
Specimen.type This element must be supported. 1..1 CodeableConcept Detailed Sample type
Binding: DetailedSampleTypeVS (required)
Specimen.subject This element must be supported. 1..1 Reference(Sample Donor) Donor of the sample
Specimen.collection
Specimen.collection.Slices for collected[x] 0..1 dateTime, Period Collection time
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
Specimen.collection.Slices for collected[x].collected[x]:collectedDateTime This element must be supported. 0..1 dateTime Sample creation date and time
Specimen.collection.bodySite
Specimen.collection.bodySite.coding This element must be supported. C 0..1 Coding Code defined by a terminology system
Constraints: SpecimenOntologyInvariant
Specimen.collection.bodySite.coding.system 0..1 uri Identity of the terminology system
Specimen.collection.bodySite.coding.version 0..1 string Version of the system - if relevant
Specimen.collection.bodySite.coding.code 0..1 code Symbol in syntax defined by the system
Specimen.collection.bodySite.coding.display 0..1 string Representation defined by the system
Specimen.processing
Specimen.processing.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.processing.Slices for extension.extension:storageTemperature This element must be supported. 0..1 CodeableConcept Sample storage temperature
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension
Binding: Storage Temperature Value Set (required)
Specimen.note This element must be supported. 0..* Annotation Use restrictions
Specimen.note.text This element must be supported. 1..1 markdown actual use restrictions

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Specimen.type Base required DetailedSampleTypeVS 📦1.3.0 This IG

Constraints

Id Grade Path(s) Description Expression
SpecimenOntologyInvariant error Specimen.collection.bodySite.coding bodySite.concept.coding.system and bodySite.concept.coding.version are required if any ontology information is provided Specimen.collection.bodySite.concept.coding.exists() implies (Specimen.collection.bodySite.concept.coding.system.exists() and Specimen.collection.bodySite.concept.coding.version.exists())

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Specimen 0..* Specimen Sample for analysis
Specimen.id This element is included in summaries. 0..1 id Logical id of this artifact
Specimen.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Specimen.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
Specimen.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Specimen.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
Specimen.contained 0..* Resource Contained, inline Resources
Specimen.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.Slices for extension.extension:sampleCollection This element must be supported. 0..1 Identifier Sample Collection
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension
Specimen.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Specimen.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Sample ID
Specimen.accessionIdentifier This element is included in summaries. 0..1 Identifier Identifier assigned by the lab
Specimen.status This element is a modifier element. This element is included in summaries. 0..1 code available | unavailable | unsatisfactory | entered-in-error
Binding: SpecimenStatus (required): Codes providing the status/availability of a specimen.
Specimen.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept Detailed Sample type
Binding: DetailedSampleTypeVS (required)
Specimen.subject This element must be supported. This element is included in summaries. 1..1 Reference(Sample Donor) Donor of the sample
Specimen.receivedTime This element is included in summaries. 0..1 dateTime The time when specimen was received for processing
Specimen.parent 0..* Reference(Specimen) Specimen from which this specimen originated
Specimen.request 0..* Reference(ServiceRequest) Why the specimen was collected
Specimen.collection 0..1 BackboneElement Collection details
Specimen.collection.id 0..1 string Unique id for inter-element referencing
Specimen.collection.extension 0..* Extension Additional content defined by implementations
Specimen.collection.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.collection.collector This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole) Who collected the specimen
Specimen.collection.Slices for collected[x] This element is included in summaries. 0..1 Collection time
Slice: Unordered, Closed by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them Other type slices that contain no new information are not shown in this view
Specimen.collection.Slices for collected[x].collectedDateTime dateTime
Specimen.collection.Slices for collected[x].collectedPeriod Period
Specimen.collection.Slices for collected[x].collected[x]:collectedDateTime This element must be supported. This element is included in summaries. 0..1 dateTime Sample creation date and time
Specimen.collection.duration This element is included in summaries. 0..1 Duration How long it took to collect specimen
Specimen.collection.quantity C 0..1 SimpleQuantity(4.0.1) The quantity of specimen collected
Constraints: sqty-1
Specimen.collection.method 0..1 CodeableConcept Technique used to perform collection
Binding: FHIRSpecimenCollectionMethod (example): The technique that is used to perform the procedure.
Specimen.collection.bodySite 0..1 CodeableConcept Anatomical collection site
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Specimen.collection.bodySite.id 0..1 string Unique id for inter-element referencing
Specimen.collection.bodySite.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Specimen.collection.bodySite.coding This element must be supported. This element is included in summaries. C 0..1 Coding Code defined by a terminology system
Constraints: SpecimenOntologyInvariant
Specimen.collection.bodySite.coding.id 0..1 string Unique id for inter-element referencing
Specimen.collection.bodySite.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Specimen.collection.bodySite.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Specimen.collection.bodySite.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Specimen.collection.bodySite.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Specimen.collection.bodySite.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Specimen.collection.bodySite.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Specimen.collection.bodySite.text This element is included in summaries. 0..1 string Plain text representation of the concept
Specimen.collection.fastingStatus[x] This element is included in summaries. 0..1 Whether or how long patient abstained from food and/or drink
Binding: hl7VS-relevantClincialInformation (extensible): Codes describing the fasting status of the patient.
Specimen.collection.fastingStatus[x].fastingStatusCodeableConcept CodeableConcept
Specimen.collection.fastingStatus[x].fastingStatusDuration Duration
Specimen.processing 0..* BackboneElement Processing and processing step details
Specimen.processing.id 0..1 string Unique id for inter-element referencing
Specimen.processing.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Specimen.processing.Slices for extension.extension:storageTemperature This element must be supported. 0..1 CodeableConcept Sample storage temperature
URL: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension
Binding: Storage Temperature Value Set (required)
Specimen.processing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.processing.description 0..1 string Textual description of procedure
Specimen.processing.procedure 0..1 CodeableConcept Indicates the treatment step applied to the specimen
Binding: SpecimenProcessingProcedure (example): Type indicating the technique used to process the specimen.
Specimen.processing.additive 0..* Reference(Substance) Material used in the processing step
Specimen.processing.time[x] 0..1 Date and time of specimen processing
Specimen.processing.time[x].timeDateTime dateTime
Specimen.processing.time[x].timePeriod Period
Specimen.container 0..* BackboneElement Direct container of specimen (tube/slide, etc.)
Specimen.container.id 0..1 string Unique id for inter-element referencing
Specimen.container.extension 0..* Extension Additional content defined by implementations
Specimen.container.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Specimen.container.identifier This element is included in summaries. 0..* Identifier Id for the container
Specimen.container.description 0..1 string Textual description of the container
Specimen.container.type 0..1 CodeableConcept Kind of container directly associated with specimen
Binding: SpecimenContainerType (example): Type of specimen container.
Specimen.container.capacity C 0..1 SimpleQuantity(4.0.1) Container volume or size
Constraints: sqty-1
Specimen.container.specimenQuantity C 0..1 SimpleQuantity(4.0.1) Quantity of specimen within container
Constraints: sqty-1
Specimen.container.additive[x] 0..1 Additive associated with container
Binding: hl7VS-additivePreservative (example): Substance added to specimen container.
Specimen.container.additive[x].additiveCodeableConcept CodeableConcept
Specimen.container.additive[x].additiveReference Reference(Substance)
Specimen.condition This element is included in summaries. 0..* CodeableConcept State of the specimen
Binding: hl7VS-specimenCondition (extensible): Codes describing the state of the specimen.
Specimen.note This element must be supported. 0..* Annotation Use restrictions
Specimen.note.id 0..1 string Unique id for inter-element referencing
Specimen.note.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Specimen.note.author[x] This element is included in summaries. 0..1 Individual responsible for the annotation
Specimen.note.author[x].authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
Specimen.note.author[x].authorString string
Specimen.note.time This element is included in summaries. 0..1 dateTime When the annotation was made
Specimen.note.text This element must be supported. This element is included in summaries. 1..1 markdown actual use restrictions

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Specimen.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Specimen.status Base required SpecimenStatus 📍4.0.1 FHIR Std.
Specimen.type Base required DetailedSampleTypeVS 📦1.3.0 This IG
Specimen.collection.​method Base example FHIR Specimen Collection Method 📍4.0.1 FHIR Std.
Specimen.collection.​bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Specimen.collection.​fastingStatus[x] Base extensible hl7VS-relevantClincialInformation 📦3.0.0 THO v7.4
Specimen.processing.​procedure Base example Specimen processing procedure 📍4.0.1 FHIR Std.
Specimen.container.type Base example Specimen Container Type 📍4.0.1 FHIR Std.
Specimen.container.additive[x] Base example hl7VS-additivePreservative 📦3.0.0 THO v7.4
Specimen.condition Base extensible hl7VS-specimenCondition 📦3.0.0 THO v7.4

Constraints

Id Grade Path(s) Description Expression
SpecimenOntologyInvariant error Specimen.collection.bodySite.coding bodySite.concept.coding.system and bodySite.concept.coding.version are required if any ontology information is provided Specimen.collection.bodySite.concept.coding.exists() implies (Specimen.collection.bodySite.concept.coding.system.exists() and Specimen.collection.bodySite.concept.coding.version.exists())
dom-2 error Specimen If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Specimen 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 Specimen 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 Specimen If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Specimen 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()
sqty-1 error Specimen.collection.quantity, Specimen.container.capacity, Specimen.container.specimenQuantity The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from Specimen

Summary

Mandatory: 3 elements
Must-Support: 9 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Specimen.collection.collected[x]

 

Other representations of profile: CSV, Excel, Schematron