PackagesCanonicalsLogsProblems
    Packages
    de.gematik.isik-basismodul@2.0.7
    https://gematik.de/fhir/isik/v2/Basismodul/StructureDefinition/ISiKDiagnose
description: Dieses Profil ermöglicht die Nutzung von Diagnosen in ISiK Szenarien.
package_name: de.gematik.isik-basismodul
derivation: constraint
name: ISiKDiagnose
type: Condition
elements:
  onset:
    choices: [onsetDateTime]
    index: 32
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema:
            choices: [onsetDateTime]
            index: 32
          min: 0
          max: 1
  clinicalStatus: {mustSupport: true, index: 3}
  encounter: {mustSupport: true, index: 21}
  onsetPeriod:
    type: Period
    choiceOf: onset
    index: 28
    slicing:
      slices:
        onsetPeriod:
          match: {}
          schema: {type: Period, choiceOf: onset, index: 28}
          min: 0
          max: 1
  note: {mustSupport: true, index: 35}
  extension:
    mustSupport: true
    index: 1
    slicing:
      slices:
        related:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/condition-related', index: 2}
          min: 0
          max: 1
  recordedDate: {mustSupport: true, index: 34}
  id: {mustSupport: true, index: 0}
  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/R4/element.html - ele-1), ist explizit nicht erlaubt.', source: 'https://gematik.de/fhir/isik/v2/Basismodul/StructureDefinition/ISiKDiagnose', severity: error, expression: coding.exists().not() implies text.exists()}
    mustSupport: true
    index: 4
    elements:
      coding:
        mustSupport: true
        index: 5
        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: 6
                extensions:
                  Mehrfachcodierungs-Kennzeichen: {url: null, mustSupport: true, index: 7}
                  Seitenlokalisation: {url: null, mustSupport: true, index: 8}
                  Diagnosesicherheit: {url: null, mustSupport: true, index: 9}
                elements:
                  extension:
                    mustSupport: true
                    index: 7
                    slicing:
                      slices:
                        Mehrfachcodierungs-Kennzeichen:
                          match: {}
                          schema: {mustSupport: true, index: 7}
                        Seitenlokalisation:
                          match: {}
                          schema: {mustSupport: true, index: 8}
                        Diagnosesicherheit:
                          match: {}
                          schema: {mustSupport: true, index: 9}
            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: 10
                elements:
                  system: {mustSupport: true, index: 11}
                  code: {mustSupport: true, index: 12}
            SNOMED-CT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: required, valueSet: 'https://gematik.de/fhir/isik/v2/Basismodul/ValueSet/DiagnosesSCT'}
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://snomed.info/sct'}
                index: 13
                elements:
                  system: {mustSupport: true, index: 14}
                  code: {mustSupport: true, index: 15}
                required: [system, code]
            Orphanet:
              match: {system: 'http://www.orpha.net'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {system: 'http://www.orpha.net'}
                index: 16
                elements:
                  system: {mustSupport: true, index: 17}
                  code: {index: 18}
                required: [system, code]
  onsetDateTime:
    type: dateTime
    choiceOf: onset
    index: 33
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: onset, index: 33}
          min: 0
          max: 1
  onset[x]:
    elements:
      start:
        extensions:
          Lebensphase-Start: {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-Start:
                  match: {}
                  schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 29}
                  min: 0
                  max: 1
      end:
        extensions:
          Lebensphase-Ende: {url: 'http://fhir.de/StructureDefinition/lebensphase', min: 0, max: 1, type: Extension, index: 30}
        elements:
          extension:
            type: Extension
            url: http://fhir.de/StructureDefinition/lebensphase
            index: 30
            slicing:
              slices:
                Lebensphase-Ende:
                  match: {}
                  schema: {type: Extension, url: 'http://fhir.de/StructureDefinition/lebensphase', index: 30}
                  min: 0
                  max: 1
  subject:
    mustSupport: true
    index: 19
    elements:
      reference: {mustSupport: true, index: 20}
    required: [reference]
package_version: 2.0.7
extensions:
  related: {url: 'http://hl7.org/fhir/StructureDefinition/condition-related', min: 0, max: 1, type: Extension, mustSupport: true, index: 2}
class: profile
kind: resource
url: https://gematik.de/fhir/isik/v2/Basismodul/StructureDefinition/ISiKDiagnose
base: http://hl7.org/fhir/StructureDefinition/Condition
version: null
required: [recordedDate, code]