PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.21.0-pre-release
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen
description: This profile defines the UK constraints and extensions on the International FHIR resource [Specimen](https://hl7.org/fhir/R4/Specimen.html).
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: UKCoreSpecimen
type: Specimen
elements:
  extension:
    type: Extension
    short: An extension to record the category of a sample.
    isModifier: false
    url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory
    index: 0
    slicing:
      slices:
        sampleCategory:
          match: {}
          schema: {type: Extension, short: An extension to record the category of a sample., isModifier: false, url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory', index: 0}
          max: 1
  status: {short: The availability of the specimen sample., mustSupport: true, index: 1}
  type:
    short: The kind of material that forms the specimen.
    binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SpecimenType'}
    mustSupport: true
    index: 2
  subject: {short: Where the specimen came from., mustSupport: true, index: 3}
  receivedTime: {short: The time when specimen was received for processing., mustSupport: true, index: 4}
  collection:
    constraint:
      ukcore-spec-001: {human: 'Only one of Specimen.collection.collector or Specimen.collection.extension:collectorR5 can be populated at a time.', severity: error, expression: 'collector.reference.empty() or collector.extension(''http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector'').empty()'}
    index: 5
    extensions:
      specialHandling: {url: 'http://hl7.org/fhir/StructureDefinition/specimen-specialHandling', type: Extension, short: This SHOULD be included if there is a high contamination risk reason for a sample / biopsy., index: 6}
      collectorR5: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector', max: 1, type: Extension, isModifier: false, index: 7}
    elements:
      extension:
        type: Extension
        short: This SHOULD be included if there is a high contamination risk reason for a sample / biopsy.
        url: http://hl7.org/fhir/StructureDefinition/specimen-specialHandling
        index: 6
        slicing:
          slices:
            specialHandling:
              match: {}
              schema: {type: Extension, short: This SHOULD be included if there is a high contamination risk reason for a sample / biopsy., url: 'http://hl7.org/fhir/StructureDefinition/specimen-specialHandling', index: 6}
            collectorR5:
              match: {}
              schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.collector', index: 7}
              max: 1
      bodySite:
        binding: {strength: preferred, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SpecimenBodySite'}
        index: 8
        extensions:
          bodySiteReference:
            url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BodySiteReference
            type: Extension
            short: An extension to allow referencing to a BodyStructure.
            isModifier: false
            index: 9
            elements:
              value:
                short: A reference to a BodyStructure
                choices: []
                index: 11
        elements:
          extension:
            type: Extension
            short: An extension to allow referencing to a BodyStructure.
            isModifier: false
            url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BodySiteReference
            index: 9
            slicing:
              slices:
                bodySiteReference:
                  match: {}
                  schema:
                    type: Extension
                    short: An extension to allow referencing to a BodyStructure.
                    isModifier: false
                    url: https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BodySiteReference
                    index: 9
                    elements:
                      value:
                        short: A reference to a BodyStructure
                        choices: []
                        index: 11
  container:
    extensions:
      deviceR5: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device', max: 1, type: Extension, index: 12}
      locationR5: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.location', max: 1, type: Extension, index: 13}
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device
        index: 12
        slicing:
          slices:
            deviceR5:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device', index: 12}
              max: 1
            locationR5:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.location', index: 13}
              max: 1
      type: {index: 14}
  condition:
    binding: {strength: extensible, valueSet: 'https://fhir.hl7.org.uk/ValueSet/UKCore-SampleState'}
    index: 15
package_version: 0.21.0-pre-release
extensions:
  sampleCategory: {url: 'https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-SampleCategory', max: 1, type: Extension, short: An extension to record the category of a sample., isModifier: false, index: 0}
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen
base: http://hl7.org/fhir/StructureDefinition/Specimen
version: 3.1.0