PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.be.infsec@1.2.0
    https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-key-pseudonymization
description: This holds a pseudonymized key that can be used for all encrypted fields in the resource (long text pseudonymisation)
package_name: hl7.fhir.be.infsec
derivation: constraint
name: BeExtKeyPseudonymization
type: Extension
elements:
  id: {short: kid (also available in JWE), mustSupport: true, index: 0}
  extension:
    index: 1
    slicing:
      slices:
        key:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 2
            extensions: {}
            elements:
              extension: {index: 3}
              url:
                pattern: {type: Uri, value: key}
                index: 4
              value:
                short: pseudonymized key
                mustSupport: true
                choices: [valueString]
                index: 6
              valueString: {type: string, short: pseudonymized key, mustSupport: true, choiceOf: value, index: 7}
              value[x]:
                extensions:
                  pseudonymization: {url: 'https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization', min: 1, max: 1, type: Extension, index: 9}
                elements:
                  extension:
                    index: 8
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        pseudonymization:
                          match: {url: null}
                          schema: {type: Extension, url: 'https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization', index: 9}
                          min: 1
                          max: 1
                required: [extension]
            required: [valueString, value]
  url:
    pattern: {type: Uri, value: 'https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-key-pseudonymization'}
    index: 10
  value:
    choices: []
    index: 12
package_version: 1.2.0
extensions:
  key:
    url: null
    mustSupport: true
    _required: true
    index: 2
    extensions: {}
    elements:
      extension: {index: 3}
      url:
        pattern: {type: Uri, value: key}
        index: 4
      value:
        short: pseudonymized key
        mustSupport: true
        choices: [valueString]
        index: 6
      valueString: {type: string, short: pseudonymized key, mustSupport: true, choiceOf: value, index: 7}
      value[x]:
        extensions:
          pseudonymization: {url: 'https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization', min: 1, max: 1, type: Extension, index: 9}
        elements:
          extension:
            index: 8
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: 1
              slices:
                pseudonymization:
                  match: {url: null}
                  schema: {type: Extension, url: 'https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-pseudonymization', index: 9}
                  min: 1
                  max: 1
        required: [extension]
    required: [valueString, value]
class: extension
kind: complex-type
url: https://www.ehealth.fgov.be/standards/fhir/infsec/StructureDefinition/be-ext-key-pseudonymization
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.2.0
required: [id, extension]