PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.zib2017@1.3.3
    http://nictiz.nl/fhir/StructureDefinition/zib-FreedomRestrictingMeasures-LegallyCapable
description: 'An extension to add two concepts from FreedomRestrictingMeasures as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 3.1, namely LegallyCapable and LeggallyCapableComment, to the Procedure resource. The extension can be seen as an indicator stating whether the patient is deemed capable of overseeing the consequences of a certain procedure, situation or decision.'
package_name: nictiz.fhir.nl.stu3.zib2017
derivation: constraint
name: Zib FreedomRestrictingMeasures-LegallyCapable
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        LegallyCapableIndicator:
          match: {url: LegallyCapableIndicator}
          schema:
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: LegallyCapableIndicator}
                index: 2
              valueBoolean:
                type: boolean
                short: LegallyCapable
                index: 3
                slicing:
                  slices:
                    valueBoolean:
                      match: {}
                      schema: {type: boolean, short: LegallyCapable, index: 3}
        LegallyCapableComment:
          match: {url: LegallyCapableComment}
          schema:
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: LegallyCapableComment}
                index: 5
              valueString:
                type: string
                short: LegallyCapableComment
                index: 6
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, short: LegallyCapableComment, index: 6}
  url:
    pattern: {type: Uri, value: 'http://nictiz.nl/fhir/StructureDefinition/zib-FreedomRestrictingMeasures-LegallyCapable'}
    index: 7
  value:
    choices: []
    index: 9
package_version: 1.3.3
extensions:
  LegallyCapableIndicator:
    url: LegallyCapableIndicator
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: LegallyCapableIndicator}
        index: 2
      valueBoolean:
        type: boolean
        short: LegallyCapable
        index: 3
        slicing:
          slices:
            valueBoolean:
              match: {}
              schema: {type: boolean, short: LegallyCapable, index: 3}
  LegallyCapableComment:
    url: LegallyCapableComment
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: LegallyCapableComment}
        index: 5
      valueString:
        type: string
        short: LegallyCapableComment
        index: 6
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, short: LegallyCapableComment, index: 6}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-FreedomRestrictingMeasures-LegallyCapable
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.1