PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.laboratory@2.1.0
    http://hl7.eu/fhir/laboratory/StructureDefinition/Specimen-eu-lab
description: This profile defines how to represent Specimens in HL7 FHIR for the purpose of this guide.
package_name: hl7.fhir.eu.laboratory
derivation: constraint
name: SpecimenEu
type: Specimen
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        focus:
          match: {url: null}
          schema: {type: Extension, short: 'The entity the specimen was collected from, when it is not the subject of record', url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/specimen-focus', index: 1}
          min: 0
          max: 1
  type:
    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specimenType-eu-lab'}
    index: 2
  subject:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Substance']
    index: 3
  parent:
    type: Reference
    refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Specimen-eu-lab']
    index: 4
  request: {short: Why the specimen was collected., index: 5}
  collection:
    elements:
      collector:
        index: 6
        extensions:
          collector:
            url: http://hl7.org/fhir/StructureDefinition/alternate-reference|5.3.0
            type: Extension
            short: Patient or related person who collected the specimen
            index: 7
            elements:
              value:
                choices: [valueReference]
                index: 9
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                index: 10
        elements:
          extension:
            type: Extension
            short: Patient or related person who collected the specimen
            url: http://hl7.org/fhir/StructureDefinition/alternate-reference|5.3.0
            index: 7
            slicing:
              slices:
                collector:
                  match: {}
                  schema:
                    type: Extension
                    short: Patient or related person who collected the specimen
                    url: http://hl7.org/fhir/StructureDefinition/alternate-reference|5.3.0
                    index: 7
                    elements:
                      value:
                        choices: [valueReference]
                        index: 9
                      valueReference:
                        type: Reference
                        choiceOf: value
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson']
                        index: 10
      bodySite:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'}
        index: 11
        extensions:
          bodySite:
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.bodySite
            type: Extension
            index: 12
            extensions: {}
            elements:
              extension: {index: 13}
              value:
                choices: [valueReference]
                index: 15
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.eu/fhir/base/StructureDefinition/bodyStructure-eu-core']
                index: 16
        elements:
          extension:
            type: Extension
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.bodySite
            index: 12
            slicing:
              slices:
                bodySite:
                  match: {}
                  schema:
                    type: Extension
                    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.collection.bodySite
                    index: 12
                    extensions: {}
                    elements:
                      extension: {index: 13}
                      value:
                        choices: [valueReference]
                        index: 15
                      valueReference:
                        type: Reference
                        choiceOf: value
                        refers: ['http://hl7.eu/fhir/base/StructureDefinition/bodyStructure-eu-core']
                        index: 16
  processing:
    elements:
      additive:
        type: Reference
        refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/Substance-additive-eu-lab', 'http://hl7.org/fhir/StructureDefinition/Substance']
        index: 17
  container:
    extensions:
      device:
        url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device
        type: Extension
        index: 19
        extensions: {}
        elements:
          extension: {index: 20}
          value:
            choices: [valueReference]
            index: 22
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://hl7.org/fhir/StructureDefinition/Device']
            index: 23
    elements:
      extension:
        index: 18
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            device:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device
                index: 19
                extensions: {}
                elements:
                  extension: {index: 20}
                  value:
                    choices: [valueReference]
                    index: 22
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/StructureDefinition/Device']
                    index: 23
      type:
        binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specimenContainer-eu-lab'}
        index: 24
      additive:
        choices: []
        index: 26
    required: [extension]
package_version: 2.1.0
extensions:
  focus: {url: 'http://hl7.eu/fhir/laboratory/StructureDefinition/specimen-focus', min: 0, max: 1, type: Extension, short: 'The entity the specimen was collected from, when it is not the subject of record', index: 1}
class: profile
kind: resource
url: http://hl7.eu/fhir/laboratory/StructureDefinition/Specimen-eu-lab
base: http://hl7.org/fhir/StructureDefinition/Specimen
version: 2.1.0