PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.diagnose@2024.0.0-alpha2
    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:
    elements:
      end:
        extensions: {}
        elements:
          extension:
            elements:
              value:
                choices: [valueCodeableConcept]
                index: 55
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 55
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 56
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 56}
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [onsetDateTime]
            index: 58
          min: 0
          max: 1
  clinicalStatus: {mustSupport: true, index: 6}
  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: 39
  onsetPeriod:
    type: Period
    mustSupport: true
    choiceOf: onset
    index: 46
    slicing:
      slices:
        onsetPeriod:
          match: {}
          schema: {type: Period, mustSupport: true, choiceOf: onset, index: 46}
          min: 0
          max: 1
  note: {mustSupport: true, index: 61}
  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
        Feststellungsdatum:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', index: 5}
          min: 0
          max: 1
  recordedDate: {mustSupport: true, index: 60}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 7
    elements:
      coding:
        mustSupport: true
        index: 8
        elements:
          code: {index: 9}
        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: 10
                elements:
                  system: {mustSupport: true, index: 11}
                  version: {mustSupport: true, index: 12}
                  code: {mustSupport: true, index: 13}
            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: 14
                elements:
                  system: {mustSupport: true, index: 15}
                  code: {mustSupport: true, index: 16}
            sct:
              match: {system: 'http://snomed.info/sct'}
              schema:
                mustSupport: true
                binding: {strength: required, valueSet: 'https://www.medizininformatik-initiative.de/fhir/core/modul-diagnose/ValueSet/diagnoses-sct'}
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 17
                elements:
                  system: {mustSupport: true, index: 18}
                  version: {mustSupport: true, index: 19}
                  code: {mustSupport: true, index: 20}
                required: [system, code]
            orphanet:
              match: {system: 'http://www.orpha.net'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://www.orpha.net'}
                index: 21
                elements:
                  system: {mustSupport: true, index: 22}
                  code: {mustSupport: true, index: 23}
                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: 24
                elements:
                  system: {mustSupport: true, index: 25}
                  version: {mustSupport: true, index: 26}
                  code: {mustSupport: true, index: 27}
                required: [system, code]
      text: {index: 28}
    required: [coding]
  onsetDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: onset
    index: 59
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 59}
          min: 0
          max: 1
  bodySite:
    mustSupport: true
    index: 29
    elements:
      coding:
        mustSupport: true
        index: 30
        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: 31
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 32
                  version: {mustSupport: true, index: 33}
                  code: {mustSupport: true, index: 34}
                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: 35
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/icd-o-3'}
                    mustSupport: true
                    index: 36
                  code: {mustSupport: true, index: 37}
                required: [system, code]
    required: [coding]
  onset[x]:
    elements:
      end:
        mustSupport: true
        index: 52
        extensions:
          lebensphase-bis: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, mustSupport: true, index: 53}
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://fhir.de/StructureDefinition/lebensphase
            index: 53
            slicing:
              slices:
                lebensphase-bis:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 53}
                  min: 0
                  max: 1
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 38
package_version: 2024.0.0-alpha2
extensions:
  ReferenzPrimaerdiagnose: {url: 'http://hl7.org/fhir/StructureDefinition/condition-related', min: 0, max: 1, type: Extension, mustSupport: true, index: 4}
  Feststellungsdatum: {url: 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate', min: 0, max: 1, type: Extension, mustSupport: true, index: 5}
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
required: [recordedDate, code]