StructureDefinition-UKCore-Specimen

Canonical_URLCurrent_VersionLast_UpdatedDescription
https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen2.3.02023-04-28

This profile defines the UK constraints and extensions on the International FHIR resource Specimen.


Profile_Purpose

This profile allows exchange of information about a sample to be used for analysis.

Snapshot View

sampleCategoryI0..1Extension(CodeableConcept)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
statusΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
receivedTimeΣ0..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
specialHandlingI0..*Extension(CodeableConcept)
url1..1System.StringFixed Value
valueReferenceReference(UK Core Patient | UK Core RelatedPerson)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
collectedDateTimedateTime
collectedPeriodPeriod
durationΣ I0..1Duration
quantityI0..1SimpleQuantity
method0..1CodeableConcept
url1..1System.StringFixed Value
valueReferenceReference(BodyStructure)
codingΣ0..*Coding
textΣ0..1string
fastingStatusCodeableConceptCodeableConcept
fastingStatusDurationDuration
description0..1string
procedure0..1CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
timeDateTimedateTime
timePeriodPeriod
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
description0..1string
type0..1CodeableConceptBinding
capacityI0..1SimpleQuantity
specimenQuantityI0..1SimpleQuantity
additiveCodeableConceptCodeableConcept
additiveReferenceReference(Substance)
conditionΣ0..*CodeableConceptBinding
authorStringstring
authorReferenceReference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson | UK Core Organization)
timeΣ0..1dateTime
textΣ1..1markdown

Differential View

sampleCategoryI0..1Extension(CodeableConcept)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
statusΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
receivedTimeΣ0..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
specialHandlingI0..*Extension(CodeableConcept)
url1..1System.StringFixed Value
valueReferenceReference(UK Core Patient | UK Core RelatedPerson)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
collectedDateTimedateTime
collectedPeriodPeriod
durationΣ I0..1Duration
quantityI0..1SimpleQuantity
method0..1CodeableConcept
url1..1System.StringFixed Value
valueReferenceReference(BodyStructure)
codingΣ0..*Coding
textΣ0..1string
fastingStatusCodeableConceptCodeableConcept
fastingStatusDurationDuration
description0..1string
procedure0..1CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
timeDateTimedateTime
timePeriodPeriod
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
description0..1string
type0..1CodeableConceptBinding
capacityI0..1SimpleQuantity
specimenQuantityI0..1SimpleQuantity
additiveCodeableConceptCodeableConcept
additiveReferenceReference(Substance)
conditionΣ0..*CodeableConceptBinding
authorStringstring
authorReferenceReference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson | UK Core Organization)
timeΣ0..1dateTime
textΣ1..1markdown

Hybrid View

sampleCategoryI0..1Extension(CodeableConcept)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
statusΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
receivedTimeΣ0..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
specialHandlingI0..*Extension(CodeableConcept)
url1..1System.StringFixed Value
valueReferenceReference(UK Core Patient | UK Core RelatedPerson)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
collectedDateTimedateTime
collectedPeriodPeriod
durationΣ I0..1Duration
quantityI0..1SimpleQuantity
method0..1CodeableConcept
url1..1System.StringFixed Value
valueReferenceReference(BodyStructure)
codingΣ0..*Coding
textΣ0..1string
fastingStatusCodeableConceptCodeableConcept
fastingStatusDurationDuration
description0..1string
procedure0..1CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
timeDateTimedateTime
timePeriodPeriod
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
description0..1string
type0..1CodeableConceptBinding
capacityI0..1SimpleQuantity
specimenQuantityI0..1SimpleQuantity
additiveCodeableConceptCodeableConcept
additiveReferenceReference(Substance)
conditionΣ0..*CodeableConceptBinding
authorStringstring
authorReferenceReference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson | UK Core Organization)
timeΣ0..1dateTime
textΣ1..1markdown

Table View

Specimen..
Specimen.extension0..
Specimen.extensionExtension0..1
Specimen.identifier..
Specimen.identifier.assignerReference(UK Core Organization)..
Specimen.accessionIdentifier..
Specimen.accessionIdentifier.assignerReference(UK Core Organization)..
Specimen.type..
Specimen.subjectReference(Group | Device | Substance | UK Core Patient | UK Core Location)..
Specimen.subject.identifier..
Specimen.subject.identifier.assignerReference(UK Core Organization)..
Specimen.parentReference(UK Core Specimen)..
Specimen.parent.identifier..
Specimen.parent.identifier.assignerReference(UK Core Organization)..
Specimen.requestReference(UK Core ServiceRequest)..
Specimen.request.identifier..
Specimen.request.identifier.assignerReference(UK Core Organization)..
Specimen.collection..
Specimen.collection.extension0..
Specimen.collection.extensionExtension0..
Specimen.collection.collectorReference(UK Core Practitioner | UK Core PractitionerRole)..
Specimen.collection.collector.extension0..
Specimen.collection.collector.extensionExtension0..1
Specimen.collection.collector.extension.value[x]..
Specimen.collection.collector.identifier..
Specimen.collection.collector.identifier.assignerReference(UK Core Organization)..
Specimen.collection.bodySite..
Specimen.collection.bodySite.extension0..
Specimen.collection.bodySite.extensionExtension0..1
Specimen.collection.bodySite.extension.value[x]..
Specimen.processing..
Specimen.processing.additive..
Specimen.processing.additive.identifier..
Specimen.processing.additive.identifier.assignerReference(UK Core Organization)..
Specimen.container..
Specimen.container.identifier..
Specimen.container.identifier.assignerReference(UK Core Organization)..
Specimen.container.type..
Specimen.condition..
Specimen.note..
Specimen.note.author[x]Reference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson | UK Core Organization), string..


XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="UKCore-Specimen" />
    <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen" />
    <version value="2.3.0" />
    <name value="UKCoreSpecimen" />
    <title value="UK Core Specimen" />
    <status value="active" />
    <date value="2023-04-28" />
    <publisher value="HL7 UK" />
    <contact>
        <name value="HL7 UK" />
        <telecom>
            <system value="email" />
            <value value="ukcore@hl7.org.uk" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <description value="This profile defines the UK constraints and extensions on the International FHIR resource [Specimen](https://hl7.org/fhir/R4/Specimen.html)." />
    <purpose value="This profile allows exchange of information about a sample to be used for analysis." />
    <copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
    <fhirVersion value="4.0.1" />
    <mapping>
        <identity value="rim" />
        <uri value="http://hl7.org/v3" />
        <name value="RIM Mapping" />
    </mapping>
    <mapping>
        <identity value="w5" />
        <uri value="http://hl7.org/fhir/fivews" />
        <name value="FiveWs Pattern Mapping" />
    </mapping>
    <mapping>
        <identity value="v2" />
        <uri value="http://hl7.org/v2" />
        <name value="HL7 v2 Mapping" />
    </mapping>
    <kind value="resource" />
    <abstract value="false" />
    <type value="Specimen" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Specimen" />
    <derivation value="constraint" />
    <differential>
        <element id="Specimen">
            <path value="Specimen" />
            <constraint>
                <key value="ukcore-spec-001" />
                <severity value="error" />
                <human value="There SHALL be only one reference between collection.collector and the extension collectionCollectorR5" />
                <expression value="collection.collector.reference.empty() or collection.collector.extension(&#39;http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector&#39;).empty()" />
            </constraint>
        </element>
        <element id="Specimen.extension">
            <path value="Specimen.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Specimen.extension:sampleCategory">
            <path value="Specimen.extension" />
            <sliceName value="sampleCategory" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory" />
            </type>
            <isModifier value="false" />
        </element>
        <element id="Specimen.identifier.assigner">
            <path value="Specimen.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.accessionIdentifier.assigner">
            <path value="Specimen.accessionIdentifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.type">
            <path value="Specimen.type" />
            <binding>
                <strength value="preferred" />
                <description value="A code from the SNOMED CT UK Clinical Terminology coding system" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-SpecimenType" />
            </binding>
        </element>
        <element id="Specimen.subject">
            <path value="Specimen.subject" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Device" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Substance" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location" />
            </type>
        </element>
        <element id="Specimen.subject.identifier.assigner">
            <path value="Specimen.subject.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.parent">
            <path value="Specimen.parent" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen" />
            </type>
        </element>
        <element id="Specimen.parent.identifier.assigner">
            <path value="Specimen.parent.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.request">
            <path value="Specimen.request" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest" />
            </type>
        </element>
        <element id="Specimen.request.identifier.assigner">
            <path value="Specimen.request.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.collection.extension">
            <path value="Specimen.collection.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Specimen.collection.extension:specialHandling">
            <path value="Specimen.collection.extension" />
            <sliceName value="specialHandling" />
            <min value="0" />
            <type>
                <code value="Extension" />
                <profile value="http://hl7.org/fhir/StructureDefinition/specimen-specialHandling" />
            </type>
        </element>
        <element id="Specimen.collection.collector">
            <path value="Specimen.collection.collector" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
            </type>
        </element>
        <element id="Specimen.collection.collector.extension">
            <path value="Specimen.collection.collector.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Specimen.collection.collector.extension:collectionCollectorR5">
            <path value="Specimen.collection.collector.extension" />
            <sliceName value="collectionCollectorR5" />
            <short value="Person who collected the specimen" />
            <definition value="Person who collected the specimen. This is an R5 backport" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector" />
            </type>
            <isModifier value="false" />
        </element>
        <element id="Specimen.collection.collector.extension:collectionCollectorR5.value[x]">
            <path value="Specimen.collection.collector.extension.value[x]" />
            <short value="Person who collected the specimen" />
        </element>
        <element id="Specimen.collection.collector.identifier.assigner">
            <path value="Specimen.collection.collector.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.collection.bodySite">
            <path value="Specimen.collection.bodySite" />
            <binding>
                <strength value="preferred" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-SpecimenBodySite" />
            </binding>
        </element>
        <element id="Specimen.collection.bodySite.extension">
            <path value="Specimen.collection.bodySite.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Specimen.collection.bodySite.extension:bodySiteReference">
            <path value="Specimen.collection.bodySite.extension" />
            <sliceName value="bodySiteReference" />
            <short value="An extension to allow referencing to a BodyStructure" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BodySiteReference" />
            </type>
            <isModifier value="false" />
        </element>
        <element id="Specimen.collection.bodySite.extension:bodySiteReference.value[x]">
            <path value="Specimen.collection.bodySite.extension.value[x]" />
            <short value="A reference to a BodyStructure" />
        </element>
        <element id="Specimen.processing.additive.identifier.assigner">
            <path value="Specimen.processing.additive.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.container.identifier.assigner">
            <path value="Specimen.container.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="Specimen.container.type">
            <path value="Specimen.container.type" />
            <binding>
                <strength value="preferred" />
            </binding>
        </element>
        <element id="Specimen.condition">
            <path value="Specimen.condition" />
            <binding>
                <strength value="extensible" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BiopsyState" />
            </binding>
        </element>
        <element id="Specimen.note.author[x]">
            <path value="Specimen.note.author[x]" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
            <type>
                <code value="string" />
            </type>
        </element>
    </differential>
</StructureDefinition>

JSON View

{
    "resourceType": "StructureDefinition",
    "id": "UKCore-Specimen",
    "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen",
    "version": "2.3.0",
    "name": "UKCoreSpecimen",
    "title": "UK Core Specimen",
    "status": "active",
    "date": "2023-04-28",
    "publisher": "HL7 UK",
    "contact":  [
        {
            "name": "HL7 UK",
            "telecom":  [
                {
                    "system": "email",
                    "value": "ukcore@hl7.org.uk",
                    "use": "work",
                    "rank": 1
                }
            ]
        }
    ],
    "description": "This profile defines the UK constraints and extensions on the International FHIR resource [Specimen](https://hl7.org/fhir/R4/Specimen.html).",
    "purpose": "This profile allows exchange of information about a sample to be used for analysis.",
    "copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        },
        {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
        },
        {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "Specimen",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Specimen",
                "path": "Specimen",
                "constraint":  [
                    {
                        "key": "ukcore-spec-001",
                        "severity": "error",
                        "human": "There SHALL be only one reference between collection.collector and the extension collectionCollectorR5",
                        "expression": "collection.collector.reference.empty() or collection.collector.extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector').empty()"
                    }
                ]
            },
            {
                "id": "Specimen.extension",
                "path": "Specimen.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Specimen.extension:sampleCategory",
                "path": "Specimen.extension",
                "sliceName": "sampleCategory",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory"
                        ]
                    }
                ],
                "isModifier": false
            },
            {
                "id": "Specimen.identifier.assigner",
                "path": "Specimen.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.accessionIdentifier.assigner",
                "path": "Specimen.accessionIdentifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.type",
                "path": "Specimen.type",
                "binding": {
                    "strength": "preferred",
                    "description": "A code from the SNOMED CT UK Clinical Terminology coding system",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-SpecimenType"
                }
            },
            {
                "id": "Specimen.subject",
                "path": "Specimen.subject",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://hl7.org/fhir/StructureDefinition/Group",
                            "http://hl7.org/fhir/StructureDefinition/Device",
                            "http://hl7.org/fhir/StructureDefinition/Substance",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.subject.identifier.assigner",
                "path": "Specimen.subject.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.parent",
                "path": "Specimen.parent",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.parent.identifier.assigner",
                "path": "Specimen.parent.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.request",
                "path": "Specimen.request",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.request.identifier.assigner",
                "path": "Specimen.request.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.collection.extension",
                "path": "Specimen.collection.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Specimen.collection.extension:specialHandling",
                "path": "Specimen.collection.extension",
                "sliceName": "specialHandling",
                "min": 0,
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.collection.collector",
                "path": "Specimen.collection.collector",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.collection.collector.extension",
                "path": "Specimen.collection.collector.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Specimen.collection.collector.extension:collectionCollectorR5",
                "path": "Specimen.collection.collector.extension",
                "sliceName": "collectionCollectorR5",
                "short": "Person who collected the specimen",
                "definition": "Person who collected the specimen. This is an R5 backport",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector"
                        ]
                    }
                ],
                "isModifier": false
            },
            {
                "id": "Specimen.collection.collector.extension:collectionCollectorR5.value[x]",
                "path": "Specimen.collection.collector.extension.value[x]",
                "short": "Person who collected the specimen"
            },
            {
                "id": "Specimen.collection.collector.identifier.assigner",
                "path": "Specimen.collection.collector.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.collection.bodySite",
                "path": "Specimen.collection.bodySite",
                "binding": {
                    "strength": "preferred",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-SpecimenBodySite"
                }
            },
            {
                "id": "Specimen.collection.bodySite.extension",
                "path": "Specimen.collection.bodySite.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Specimen.collection.bodySite.extension:bodySiteReference",
                "path": "Specimen.collection.bodySite.extension",
                "sliceName": "bodySiteReference",
                "short": "An extension to allow referencing to a BodyStructure",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BodySiteReference"
                        ]
                    }
                ],
                "isModifier": false
            },
            {
                "id": "Specimen.collection.bodySite.extension:bodySiteReference.value[x]",
                "path": "Specimen.collection.bodySite.extension.value[x]",
                "short": "A reference to a BodyStructure"
            },
            {
                "id": "Specimen.processing.additive.identifier.assigner",
                "path": "Specimen.processing.additive.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.container.identifier.assigner",
                "path": "Specimen.container.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "Specimen.container.type",
                "path": "Specimen.container.type",
                "binding": {
                    "strength": "preferred"
                }
            },
            {
                "id": "Specimen.condition",
                "path": "Specimen.condition",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-BiopsyState"
                }
            },
            {
                "id": "Specimen.note.author[x]",
                "path": "Specimen.note.author[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    },
                    {
                        "code": "string"
                    }
                ]
            }
        ]
    }
}

Examples

Blood Specimen - An example to illustrate a blood specimen for a patient.
Example UKCore-Specimen-BloodSpecimen

Composition Reference - An example to illustrate the pre-adopted R5 element via an extension, which is used to reference a Patient or RelatedPerson within Specimen.collection.collector.
Example-UKCore-Specimen-Extension-CollectionCollector

High Risk Specimen - An example to illustrate using the HL7 core-defined Extension specimen-specialHandling to record why a specimen should be treated as a high risk.
Example UKCore-Specimen-Extension-SpecialHandling

Median Cubital Vein - An example to illustrate the extension for a referenced body site.
Example UKCore-Specimen-Extension-BodySiteReference

Sample Category - An example to illustrate the extension to show the Genomics classification of a sample.
Example UKCore-Specimen-Extension-SampleCategory

Urine Sample - An example to illustrate a urine specimen for a patient.
Example UKCore-Specimen-UrineSpecimen

Example Usage Scenarios

The following are example usage scenarios for the UK Core Specimen profile:

  • Query for specimen information
  • Exchange specimen information used in Observations and DiagnosticReport

Profile Specific Implementation Guidance:

Minimum Viable Content

A minimum viable content that all provider and consumer systems SHALL support are the following elements.

Element Reason
Specimen.status The availability of the specimen.
Specimen.type The kind of material that forms the specimen.
Specimen.subject Where the specimen came from.
Specimen.receivedTime The time when specimen was received for processing.
Specimen.request Why the specimen was collected.

Extensions

More information about the extensions can be found using the links below.

Extension Context Link Comment
bodySiteReference Specimen.
collection.bodySite
Extension UKCore-BodySiteReference An extension to replicate the changes within R5 allowing the data type of Specimen.collection.bodySite to act as a CodeableReference (BodyStructure).
collectionCollector Specimen.
collection.collector
Extension UKCore-CollectionCollector An extension to replicate the changes within R5 allowing the data type of Specimen.collection.collector to reference Patient and RelatedPerson. For more details, see Pre-adopted R5 Elements.
sampleCategory Specimen Extension UKCore-SampleCategory An extension to record the Category of a sample.
specialHandling Specimen.collection HL7 core-defined Extension specimen-specialHandling This SHOULD be included if there's is a high contamination risk reason for a sample/biopsy.

Bindings (differential)

More information about the bindings to UK Core ValueSets can be found below.

Context Strength Link
Specimen.extension:sampleCategory Extensible ValueSet UKCore-SampleCategory
Specimen.collection.bodySite Preferred ValueSet UKCore-SpecimenBodySite
Specimen.condition extensible ValueSet UKCore-BiopsyState
Specimen.type Preferred ValueSet UKCore-SpecimenType

Constraints (differential)

More information about the constraints on the UKCore-Specimen profile can be found below.

Key Severity Expression Human Description
ukcore-spec-001 error collection.collector.reference.empty() or collection.collector.extension('http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector').empty() There SHALL be only one reference between collection.collector and the extension collectionCollectorR5

type

If a SNOMED CT concept from the ValueSet UKCore-SpecimenType is used, and the concept is a descendant of "105590001 | Substance", Specimen.collection.method and Specimen.collection.bodySite SHOULD be populated.


subject

The resource being referenced SHALL conform to one of the following:


parent

The resource being referenced SHALL conform to the following Profile UKCore-Specimen.


request

The resource being referenced SHALL conform to the following Profile UKCore-ServiceRequest.


collection

Specimen.collection.collector

The resource being referenced SHALL conform to one of the following:

Specimen.collection.bodySite

If Specimen.collection.bodySite.coding and Extension UKCore-BodySiteReference are both are present, they are expected to be consistent with each other - e.g. the concept is to a code for headache, and the resource reference describes a headache.


processing

It is expected that Specimen.processing SHOULD be populated where the specimen is an extracted sample for testing, obtained from a raw sample.


note

The resource referenced in Specimen.note.authorReference SHALL conform to one of the following:


back to top