PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.patho@2025.0.0-alpha1
    https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/StructureDefinition/mii-pr-patho-base-observation
description: Abstract Observation to define common features of a main pathology observation
package_name: de.medizininformatikinitiative.kerndatensatz.patho
derivation: constraint
name: MII_PR_Patho_Base_Observation
abstract: true
type: Observation
elements:
  category:
    mustSupport: true
    index: 6
    elements:
      coding:
        mustSupport: true
        index: 7
        elements:
          system: {mustSupport: true, index: 8}
          code: {mustSupport: true, index: 9}
        required: [system, code]
    required: [coding]
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        laboratory-category:
          match:
            coding:
            - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            _required: true
            index: 10
          min: 1
          max: 1
  hasMember: {mustSupport: true, index: 25}
  meta:
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      profile: {mustSupport: true, index: 2}
  derivedFrom:
    mustSupport: true
    index: 26
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this.resolve(), type: type}
      min: null
      slices:
        attached-image:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/StructureDefinition/mii-pr-patho-attached-image']
            array: true
            index: 27
          min: 0
        dicom-image:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/StructureDefinition/ImagingStudy']
            array: true
            index: 28
          min: 0
  method: {mustSupport: true, index: 23}
  specimen: {mustSupport: true, index: 24}
  component:
    elements:
      code: {mustSupport: true, index: 29}
      value:
        choices: [valueQuantity, valueCodeableConcept, valueString, valueRatio]
        index: 31
      valueQuantity: {type: Quantity, choiceOf: value, index: 32}
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 33}
      valueString: {type: string, choiceOf: value, index: 34}
      valueRatio: {type: Ratio, choiceOf: value, index: 35}
      dataAbsentReason: {mustSupport: true, index: 36}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 18}
  status: {mustSupport: true, index: 5}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 17
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 11
    elements:
      coding:
        binding: {strength: preferred, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/ValueSet/mii-vs-patho-all-loinc'}
        mustSupport: true
        index: 12
        elements:
          system: {mustSupport: true, index: 13}
          code: {mustSupport: true, index: 14}
        required: [system, code]
    required: [coding]
  identifier: {mustSupport: true, index: 3}
  bodySite:
    mustSupport: true
    index: 19
    elements:
      coding:
        index: 20
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            sct:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/ValueSet/sct-body-structures'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 21
                elements:
                  system: {mustSupport: true, index: 22}
                required: [system]
  basedOn:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/ServiceRequest']
    index: 4
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 15
package_version: 2025.0.0-alpha1
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/ext/modul-patho/StructureDefinition/mii-pr-patho-base-observation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2025.0.0
required: [category]