PackagesCanonicalsLogsProblems
    Packages
    de.gematik.isik@basismodul-3.0.6
    https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKDiagnose
description: Dieses Profil ermöglicht die Nutzung von Diagnosen in ISiK Szenarien.
package_name: de.gematik.isik
derivation: constraint
name: ISiKDiagnose
type: Condition
elements:
  onset:
    choices: [onsetDateTime]
    index: 31
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema:
            choices: [onsetDateTime]
            index: 31
          min: 0
          max: 1
  clinicalStatus: {mustSupport: true, index: 2}
  encounter: {mustSupport: true, index: 20}
  onsetPeriod:
    type: Period
    choiceOf: onset
    index: 27
    slicing:
      slices:
        onsetPeriod:
          match: {}
          schema: {type: Period, choiceOf: onset, index: 27}
          min: 0
          max: 1
  note: {mustSupport: true, index: 34}
  extension:
    mustSupport: true
    index: 0
    slicing:
      slices:
        related:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/condition-related', index: 1}
          min: 0
          max: 1
  recordedDate: {mustSupport: true, index: 33}
  code:
    constraint:
      icd-text-1: {human: 'Entweder MUSS eine kodierte Diagnose vorliegen oder eine textuelle Beschreibung. Stattdessen nur Extensions hinzuzufügen (vgl. https://www.hl7.org/fhir/element.html - ele-1), ist explizit nicht erlaubt.', source: 'https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKDiagnose', severity: error, expression: coding.exists().not() implies text.exists()}
    mustSupport: true
    index: 3
    elements:
      coding:
        mustSupport: true
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            ICD-10-GM:
              match: {system: 'http://fhir.de/CodeSystem/bfarm/icd-10-gm'}
              schema:
                type: Coding
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/bfarm/icd-10-gm'}
                index: 5
                extensions:
                  Mehrfachcodierungs-Kennzeichen: {url: null, mustSupport: true, index: 6}
                  Seitenlokalisation: {url: null, mustSupport: true, index: 7}
                  Diagnosesicherheit: {url: null, mustSupport: true, index: 8}
                elements:
                  extension:
                    mustSupport: true
                    index: 6
                    slicing:
                      slices:
                        Mehrfachcodierungs-Kennzeichen:
                          match: {}
                          schema: {mustSupport: true, index: 6}
                        Seitenlokalisation:
                          match: {}
                          schema: {mustSupport: true, index: 7}
                        Diagnosesicherheit:
                          match: {}
                          schema: {mustSupport: true, index: 8}
            Alpha-ID:
              match: {system: 'http://fhir.de/CodeSystem/alpha-id'}
              schema:
                type: Coding
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://fhir.de/CodeSystem/alpha-id'}
                index: 9
                elements:
                  system: {mustSupport: true, index: 10}
                  code: {mustSupport: true, index: 11}
            SNOMED-CT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: required, valueSet: 'https://gematik.de/fhir/isik/v3/Basismodul/ValueSet/DiagnosesSCT'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 12
                elements:
                  system: {mustSupport: true, index: 13}
                  code: {mustSupport: true, index: 14}
                required: [system, code]
            Orphanet:
              match: {system: 'http://www.orpha.net'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://www.orpha.net'}
                index: 15
                elements:
                  system: {mustSupport: true, index: 16}
                  code: {index: 17}
                required: [system, code]
  onsetDateTime:
    type: dateTime
    choiceOf: onset
    index: 32
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: onset, index: 32}
          min: 0
          max: 1
  onset[x]:
    elements:
      start:
        extensions:
          Lebensphase-Start: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 28}
        elements:
          extension:
            type: Extension
            url: http://fhir.de/StructureDefinition/lebensphase
            index: 28
            slicing:
              slices:
                Lebensphase-Start:
                  match: {}
                  schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 28}
                  min: 0
                  max: 1
      end:
        extensions:
          Lebensphase-Ende: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 29}
        elements:
          extension:
            type: Extension
            url: http://fhir.de/StructureDefinition/lebensphase
            index: 29
            slicing:
              slices:
                Lebensphase-Ende:
                  match: {}
                  schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 29}
                  min: 0
                  max: 1
  subject:
    mustSupport: true
    index: 18
    elements:
      reference: {mustSupport: true, index: 19}
    required: [reference]
package_version: basismodul-3.0.6
extensions:
  related: {url: 'http://hl7.org/fhir/StructureDefinition/condition-related', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKDiagnose
base: http://hl7.org/fhir/StructureDefinition/Condition
version: 3.0.6
required: [recordedDate, code]