PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.mikrobiologie@2025.0.2
    https://www.medizininformatik-initiative.de/fhir/modul-mikrobio/StructureDefinition/mii-pr-mikrobio-molekulare-diagnostik
description: This profile describes a molecular diagnostic test in microbiology
package_name: de.medizininformatikinitiative.kerndatensatz.mikrobiologie
derivation: constraint
name: MII_PR_Mikrobio_Molekulare_Diagnostik
type: Observation
elements:
  category:
    mustSupport: true
    index: 15
    elements:
      coding:
        mustSupport: true
        array: true
        min: 3
        index: 16
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 3
          slices:
            loinc-observation:
              match: {code: 26436-6, system: 'http://loinc.org'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: 26436-6, system: 'http://loinc.org'}
                _required: true
                index: 17
              min: 1
              max: 1
            observation-category:
              match: {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                _required: true
                index: 18
              min: 1
              max: 1
            loinc-microbiology-studies:
              match: {code: 18725-2, system: 'http://loinc.org', display: Microbiology studies (set)}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: 18725-2, system: 'http://loinc.org', display: Microbiology studies (set)}
                _required: true
                index: 19
              min: 1
              max: 1
  referenceRange: {mustSupport: true, index: 41}
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
  interpretation: {mustSupport: true, index: 33}
  encounter: {mustSupport: true, index: 22}
  method: {mustSupport: true, index: 36}
  specimen:
    mustSupport: true
    index: 37
    elements:
      reference: {mustSupport: true, index: 38}
      identifier: {mustSupport: true, index: 39}
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 30
  component:
    mustSupport: true
    index: 42
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        PCRQuantitativesErgebnisViruslast:
          match:
            code:
              coding:
              - {code: '398545005', system: 'http://snomed.info/sct'}
          schema:
            array: true
            index: 43
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '398545005', system: 'http://snomed.info/sct'}
                index: 44
              value:
                choices: [valueQuantity]
                index: 46
              valueQuantity: {type: Quantity, choiceOf: value, index: 47}
              value[x]:
                elements:
                  unit:
                    binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/modul-mikrobio/ValueSet/mii-vs-molekulare-diagnostik-einheiten-ucum'}
                    index: 48
        CtWert:
          match:
            code:
              coding:
              - {code: '1268647006', system: 'http://snomed.info/sct'}
          schema:
            array: true
            index: 49
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '1268647006', system: 'http://snomed.info/sct'}
                index: 50
              value:
                choices: [valueQuantity]
                index: 52
              valueQuantity: {type: Quantity, choiceOf: value, index: 53}
              value[x]:
                elements:
                  unit:
                    pattern: {type: String, value: '{Ct_value}'}
                    index: 54
        NameMikroorganismus:
          match:
            code:
              coding:
              - {code: 89248-9, system: 'http://loinc.org'}
          schema:
            index: 55
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 89248-9, system: 'http://loinc.org'}
                index: 56
              value:
                choices: [valueCodeableConcept]
                index: 58
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 59}
  note: {mustSupport: true, index: 34}
  effective[x]:
    extensions:
      QuelleKlinischesBezugsdatum: {url: 'https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/QuelleKlinischesBezugsdatum', min: 0, max: 1, type: Extension, mustSupport: true, index: 27}
    elements:
      extension:
        index: 26
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            QuelleKlinischesBezugsdatum:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/QuelleKlinischesBezugsdatum', index: 27}
              min: 0
              max: 1
  effectiveDateTime:
    type: dateTime
    constraint:
      mii-lab-1: {human: Datetime must be at least to day, source: 'https://www.medizininformatik-initiative.de/fhir/modul-mikrobio/StructureDefinition/mii-pr-mikrobio-molekulare-diagnostik', severity: error, expression: ($this as dateTime).hasValue() implies ($this as dateTime).toString().length() >= 8}
    mustSupport: true
    choiceOf: effective
    index: 25
  status: {mustSupport: true, index: 14}
  effective:
    constraint:
      mii-lab-1: {human: Datetime must be at least to day, source: 'https://www.medizininformatik-initiative.de/fhir/modul-mikrobio/StructureDefinition/mii-pr-mikrobio-molekulare-diagnostik', severity: error, expression: ($this as dateTime).hasValue() implies ($this as dateTime).toString().length() >= 8}
    mustSupport: true
    choices: [effectiveDateTime]
    index: 24
  id: {mustSupport: true, index: 0}
  code:
    binding: {strength: extensible, valueSet: 'https://www.medizininformatik-initiative.de/fhir/modul-mikrobiologie/ValueSet/mii-vs-mikrobio-molekulare-diagnostik-loinc'}
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 92253-4, system: 'http://loinc.org'}
    index: 20
  identifier:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        analyseBefundCode:
          match:
            type:
              coding:
              - {code: OBI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            _required: true
            index: 5
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: OBI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 6
                elements:
                  coding:
                    mustSupport: true
                    index: 7
                    slicing:
                      rules: open
                      discriminator:
                      - {path: system, type: value}
                      min: 1
                      slices:
                        observationInstanceV2:
                          match: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                          schema:
                            mustSupport: true
                            _required: true
                            index: 8
                            elements:
                              system:
                                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                                mustSupport: true
                                index: 9
                              code:
                                pattern: {type: Code, value: OBI}
                                mustSupport: true
                                index: 10
                            required: [system, code]
                required: [coding]
              system: {mustSupport: true, index: 11}
              value: {mustSupport: true, index: 12}
              assigner: {mustSupport: true, index: 13}
            required: [assigner, value, type, system]
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 31}
  bodySite: {index: 35}
  issued: {mustSupport: true, index: 28}
  device: {mustSupport: true, index: 40}
  subject: {mustSupport: true, index: 21}
  dataAbsentReason: {mustSupport: true, index: 32}
package_version: 2025.0.2
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/modul-mikrobio/StructureDefinition/mii-pr-mikrobio-molekulare-diagnostik
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2025.0.2
required: [effectiveDateTime, value, identifier, subject, specimen, valueCodeableConcept, category, effective]