PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.diagnose@2024.0.0-ballot
    https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose
description: Dieses Profil beschreibt eine Diagnose der Medizininformatik Initiative
package_name: de.medizininformatikinitiative.kerndatensatz.diagnose
derivation: constraint
name: MII_PR_Diagnose_Condition
type: Condition
elements:
  onset:
    mustSupport: true
    choices: [onsetDateTime]
    index: 47
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [onsetDateTime]
            index: 47
          min: 0
          max: 1
  clinicalStatus: {mustSupport: true, index: 5}
  meta:
    mustSupport: true
    index: 1
    elements:
      source: {mustSupport: true, index: 2}
      profile: {mustSupport: true, index: 3}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Encounter']
    index: 34
  onsetPeriod:
    type: Period
    mustSupport: true
    choiceOf: onset
    index: 41
    slicing:
      slices:
        onsetPeriod:
          match: {}
          schema: {type: Period, mustSupport: true, choiceOf: onset, index: 41}
          min: 0
          max: 1
  note: {mustSupport: true, index: 50}
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/StructureDefinition/condition-related
    index: 4
    slicing:
      slices:
        ReferenzPrimaerdiagnose:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/condition-related', index: 4}
          min: 0
          max: 1
  recordedDate: {mustSupport: true, index: 49}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 6
    elements:
      coding:
        mustSupport: true
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            icd10-gm:
              match: {system: 'http://fhir.de/CodeSystem/bfarm/icd-10-gm'}
              schema:
                type: Coding
                mustSupport: true
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/bfarm/icd-10-gm'}
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/bfarm/icd-10-gm'}
                index: 8
                elements:
                  system: {mustSupport: true, index: 9}
                  version: {mustSupport: true, index: 10}
                  code: {mustSupport: true, index: 11}
            alpha-id:
              match: {system: 'http://fhir.de/CodeSystem/bfarm/alpha-id'}
              schema:
                type: Coding
                mustSupport: true
                binding: {strength: required, valueSet: 'http://fhir.de/ValueSet/bfarm/alpha-id'}
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/bfarm/alpha-id'}
                index: 12
                elements:
                  system: {mustSupport: true, index: 13}
                  code: {mustSupport: true, index: 14}
            sct:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/ValueSet/diagnoses-sct'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 15
                elements:
                  system: {mustSupport: true, index: 16}
                  code: {mustSupport: true, index: 17}
                required: [system, code]
            orphanet:
              match: {system: 'http://www.orpha.net'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://www.orpha.net'}
                index: 18
                elements:
                  system: {mustSupport: true, index: 19}
                  code: {mustSupport: true, index: 20}
                required: [system, code]
            icd-o-3:
              match: {system: 'http://terminology.hl7.org/CodeSystem/icd-o-3'}
              schema:
                short: ICD-O-3 Morphologie
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://terminology.hl7.org/CodeSystem/icd-o-3'}
                index: 21
                elements:
                  system: {mustSupport: true, index: 22}
                  version: {mustSupport: true, index: 23}
                  code: {mustSupport: true, index: 24}
                required: [system, code]
    required: [coding]
  onsetDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: onset
    index: 48
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 48}
          min: 0
          max: 1
  bodySite:
    mustSupport: true
    index: 25
    elements:
      coding:
        mustSupport: true
        index: 26
        slicing:
          rules: open
          discriminator:
          - {path: system, type: pattern}
          min: 1
          slices:
            snomed-ct:
              match: {system: 'http://snomed.info/sct'}
              schema:
                mustSupport: true
                _required: true
                index: 27
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 28
                  code: {mustSupport: true, index: 29}
                required: [system, code]
            icd-o-3:
              match: {system: 'http://terminology.hl7.org/CodeSystem/icd-o-3'}
              schema:
                short: ICD-O-3 Topographie
                mustSupport: true
                index: 30
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/icd-o-3'}
                    mustSupport: true
                    index: 31
                  code: {mustSupport: true, index: 32}
                required: [system, code]
    required: [coding]
  onset[x]:
    elements:
      start:
        mustSupport: true
        index: 42
        extensions:
          lebensphase-von: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, mustSupport: true, index: 43}
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/lebensphase
            index: 43
            slicing:
              slices:
                lebensphase-von:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 43}
                  min: 0
                  max: 1
      end:
        mustSupport: true
        index: 44
        extensions:
          lebensphase-bis: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, mustSupport: true, index: 45}
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/lebensphase
            index: 45
            slicing:
              slices:
                lebensphase-bis:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 45}
                  min: 0
                  max: 1
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 33
package_version: 2024.0.0-ballot
extensions:
  ReferenzPrimaerdiagnose: {url: 'http://hl7.org/fhir/StructureDefinition/condition-related', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/StructureDefinition/Diagnose
base: http://hl7.org/fhir/StructureDefinition/Condition
version: 2024.0.0-ballot
required: [recordedDate, code]