PackagesCanonicalsLogsProblems
    Packages
    rs/de.medizininformatikinitiative.kerndatensatz.biobank@1.0.6
    https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/SpecimenCore
description: Basisiprofil zur Abbildung einer MII Bioprobe. Nicht zur direkten Implementierung gedacht, Module leiten bei Bedarf eigene Profile von diesem Profil ab.
package_name: rs/de.medizininformatikinitiative.kerndatensatz.biobank
derivation: constraint
name: ProfileSpecimenBioprobeCore
type: Specimen
elements:
  request: {mustSupport: true, index: 8}
  processing:
    mustSupport: true
    index: 25
    extensions:
      temperaturbedingungen: {url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Temperaturbedingungen', min: 1, max: 1, type: Extension, mustSupport: true, index: 27}
    elements:
      extension:
        index: 26
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            temperaturbedingungen:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Temperaturbedingungen', index: 27}
              min: 1
              max: 1
      procedure:
        binding: {strength: example, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/ValueSet/sct-lab-procedure'}
        mustSupport: true
        index: 28
        elements:
          coding:
            index: 29
            slicing:
              rules: open
              discriminator:
              - {path: $this.system, type: pattern}
              min: 1
              slices:
                sct:
                  match:
                    $this: {system: null}
                  schema:
                    mustSupport: true
                    array: true
                    min: 1
                    _required: true
                    index: 30
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 31
        required: [coding]
      additive:
        type: Reference
        mustSupport: true
        refers: ['https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Substance']
        index: 32
      time:
        mustSupport: true
        choices: []
        index: 34
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            timePeriod:
              match: {}
              schema:
                mustSupport: true
                choices: [timePeriod]
                index: 36
              min: 0
              max: 1
      timePeriod:
        type: Period
        mustSupport: true
        choiceOf: time
        index: 37
        slicing:
          slices:
            timePeriod:
              match: {}
              schema: {type: Period, mustSupport: true, choiceOf: time, index: 37}
              min: 0
              max: 1
      time[x]:
        elements:
          start: {mustSupport: true, index: 38}
          end: {mustSupport: true, index: 39}
    required: [extension, procedure]
    slicing:
      rules: open
      discriminator:
      - {path: $this.procedure.coding, type: pattern}
      min: null
      slices:
        lagerprozess:
          match:
            $this:
              procedure: {coding: null}
          schema:
            mustSupport: true
            array: true
            index: 40
            extensions:
              temperaturbedingungen: {url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Temperaturbedingungen', min: 1, max: 1, type: Extension, mustSupport: true, index: 41}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Temperaturbedingungen
                index: 41
                slicing:
                  slices:
                    temperaturbedingungen:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Temperaturbedingungen', index: 41}
                      min: 1
                      max: 1
              procedure:
                elements:
                  coding:
                    pattern:
                      type: Coding
                      value: {code: '1186936003', system: 'http://snomed.info/sct'}
                    type: Coding
                    index: 42
              time:
                choices: [timePeriod]
                index: 47
                slicing:
                  slices:
                    timePeriod:
                      match: {}
                      schema:
                        choices: [timePeriod]
                        index: 47
              timePeriod:
                type: Period
                choiceOf: time
                index: 48
                slicing:
                  slices:
                    timePeriod:
                      match: {}
                      schema: {type: Period, choiceOf: time, index: 48}
              time[x]:
                elements:
                  start: {index: 49}
                required: [start]
            required: [time, timePeriod]
  parent: {mustSupport: true, index: 7}
  type:
    mustSupport: true
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: $this.system, type: pattern}
          min: 1
          slices:
            sct:
              match:
                $this: {system: null}
              schema:
                binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/ValueSet/probenart'}
                array: true
                min: 1
                _required: true
                index: 4
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 5
    required: [coding]
  note: {mustSupport: true, index: 57}
  status: {mustSupport: true, index: 1}
  container:
    mustSupport: true
    index: 50
    elements:
      type:
        binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/ValueSet/containertyp'}
        mustSupport: true
        index: 51
      capacity: {mustSupport: true, index: 52}
      specimenQuantity: {mustSupport: true, index: 53}
      additive:
        mustSupport: true
        choices: [additiveReference]
        index: 55
      additiveReference:
        type: Reference
        mustSupport: true
        choiceOf: additive
        refers: ['https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Substance']
        index: 56
    required: [type]
  identifier: {mustSupport: true, index: 0}
  collection:
    mustSupport: true
    index: 9
    extensions:
      einstellungBlutversorgung: {url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/EinstellungBlutversorgung', min: 0, max: 1, type: Extension, mustSupport: true, index: 11}
    elements:
      extension:
        index: 10
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            einstellungBlutversorgung:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/EinstellungBlutversorgung', index: 11}
              min: 0
              max: 1
      collected:
        mustSupport: true
        choices: []
        index: 13
      bodySite:
        constraint:
          mii-bb-1: {human: Bei der Angabe der Entnahmestelle muss ein ICD-O-3 Topographiecode oder ein SNOMED CT Code angegeben werden., source: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/SpecimenCore', severity: error, expression: 'coding.where(system = ''http://snomed.info/sct'' or system = ''http://terminology.hl7.org/CodeSystem/icd-o-3'').exists()'}
        mustSupport: true
        index: 14
        elements:
          coding:
            index: 15
            slicing:
              rules: open
              discriminator:
              - {path: $this.system, type: pattern}
              min: null
              slices:
                sct:
                  match:
                    $this: {system: null}
                  schema:
                    binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/ValueSet/sct-body-structures'}
                    mustSupport: true
                    index: 16
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 17
                icd-o-3:
                  match:
                    $this: {system: null}
                  schema:
                    binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/ValueSet/icd-o-3-topography'}
                    mustSupport: true
                    index: 18
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/icd-o-3'}
                        type: uri
                        index: 19
      fastingStatus:
        mustSupport: true
        choices: []
        index: 21
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            fastingStatusCodeableConcept:
              match: {}
              schema:
                choices: [fastingStatusCodeableConcept]
                index: 23
              min: 0
              max: 1
      fastingStatusCodeableConcept:
        type: CodeableConcept
        choiceOf: fastingStatus
        index: 24
        slicing:
          slices:
            fastingStatusCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: fastingStatus, index: 24}
              min: 0
              max: 1
    required: [collected]
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 6
package_version: 1.0.6
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/SpecimenCore
base: http://hl7.org/fhir/StructureDefinition/Specimen
version: null
required: [collection, status, subject, type]