PackagesCanonicalsLogsProblems
    Packages
    de.gematik.ti@1.4.0-ballot.2
    https://gematik.de/fhir/ti/StructureDefinition/ti-feature
description: 'Deklariert ein einzelnes Feature eines TI Fachdienst-Deployments. \nDas Teilfeld `definition` verweist per Canonical auf den Feature-Bezeichner \n(analog zum HL7 Application Feature Framework, `hl7.fhir.uv.application-feature`);\n`value` beschreibt den aktuellen Zustand des Features am betrachteten Endpoint.\n\nKompatibilitätshinweis: Diese Extension spiegelt bewusst die Sub-Extension-Namen\n`definition` und `value` des HL7-Frameworks wider, um eine spätere Migration oder\nProfilierung ohne Breaking Change zu ermöglichen.'
package_name: de.gematik.ti
derivation: constraint
name: TIFeature
type: Extension
elements:
  extension:
    short: Container für die Child-Slices coding und value
    array: true
    min: 2
    index: 0
    slicing:
      rules: closed
      description: Extensions are always sliced by (at least) url
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        definition:
          match: {url: definition}
          schema:
            short: Kanonischer Feature-Bezeichner
            mustSupport: true
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: definition}
                index: 3
              value:
                choices: [valueCanonical]
                index: 5
              valueCanonical: {type: canonical, choiceOf: value, index: 6}
            required: [valueCanonical, value]
        value:
          match: {url: value}
          schema:
            short: Aktivierungszustand des Features
            mustSupport: true
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: value}
                index: 9
              value:
                short: Feature aktiv (true/false)
                choices: [valueBoolean]
                index: 11
              valueBoolean: {type: boolean, short: Feature aktiv (true/false), choiceOf: value, index: 12}
            required: [value, valueBoolean]
  url:
    pattern: {type: Uri, value: 'https://gematik.de/fhir/ti/StructureDefinition/ti-feature'}
    index: 13
  value:
    choices: []
    index: 15
package_version: 1.4.0-ballot.2
extensions:
  definition:
    url: definition
    short: Kanonischer Feature-Bezeichner
    mustSupport: true
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: definition}
        index: 3
      value:
        choices: [valueCanonical]
        index: 5
      valueCanonical: {type: canonical, choiceOf: value, index: 6}
    required: [valueCanonical, value]
  value:
    url: value
    short: Aktivierungszustand des Features
    mustSupport: true
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: value}
        index: 9
      value:
        short: Feature aktiv (true/false)
        choices: [valueBoolean]
        index: 11
      valueBoolean: {type: boolean, short: Feature aktiv (true/false), choiceOf: value, index: 12}
    required: [value, valueBoolean]
class: extension
kind: complex-type
url: https://gematik.de/fhir/ti/StructureDefinition/ti-feature
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.4.0