PackagesCanonicalsLogsProblems
    Packages
    eu.miabis.r4@1.3.0
    https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample
description: 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.
package_name: eu.miabis.r4
derivation: constraint
name: Sample
type: Specimen
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        sampleCollection:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension', index: 1}
          min: 0
          max: 1
  identifier: {short: Sample ID, mustSupport: true, index: 2}
  type:
    short: Detailed Sample type
    binding: {strength: required, valueSet: 'https://fhir.bbmri-eric.eu/ValueSet/miabis-detailed-sample-type-vs'}
    mustSupport: true
    index: 3
  subject:
    type: Reference
    short: Donor of the sample
    mustSupport: true
    refers: ['https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-donor']
    index: 4
  collection:
    elements:
      collected:
        choices: []
        index: 6
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            collectedDateTime:
              match: {}
              schema:
                short: Sample creation date and time
                mustSupport: true
                choices: [collectedDateTime]
                index: 8
              min: 0
              max: 1
      collectedDateTime:
        short: Sample creation date and time
        type: dateTime
        mustSupport: true
        choiceOf: collected
        index: 9
        slicing:
          slices:
            collectedDateTime:
              match: {}
              schema: {short: Sample creation date and time, type: dateTime, mustSupport: true, choiceOf: collected, index: 9}
              min: 0
              max: 1
      bodySite:
        elements:
          coding:
            constraint:
              SpecimenOntologyInvariant: {human: bodySite.concept.coding.system and bodySite.concept.coding.version are required if any ontology information is provided, source: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample', severity: error, expression: Specimen.collection.bodySite.concept.coding.exists() implies (Specimen.collection.bodySite.concept.coding.system.exists() and Specimen.collection.bodySite.concept.coding.version.exists())}
            mustSupport: true
            index: 10
            elements:
              system: {index: 11}
              version: {index: 12}
              code: {index: 13}
              display: {index: 14}
  processing:
    extensions:
      storageTemperature: {url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 16}
    elements:
      extension:
        index: 15
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            storageTemperature:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-storage-temperature-extension', index: 16}
              min: 0
              max: 1
  note:
    short: Use restrictions
    mustSupport: true
    index: 17
    elements:
      text: {short: actual use restrictions, mustSupport: true, index: 18}
package_version: 1.3.0
extensions:
  sampleCollection: {url: 'https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample-collection-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://fhir.bbmri-eric.eu/StructureDefinition/miabis-sample
base: http://hl7.org/fhir/StructureDefinition/Specimen
version: 1.3.0
required: [identifier, subject, type]