PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.0.0
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-EOL-ReSPECTScale-1
description: An extension to support the use of the electronic ReSPECT scale.
package_name: NHSD.Assets.STU3
derivation: constraint
name: Extension-EOL-ReSPECTScale-1
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        respectPriorityScale:
          match: {url: respectPriorityScale}
          schema:
            short: ReSPECT priority scale from 0-100 used to complement an EOL care plan.
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: respectPriorityScale}
                index: 2
              valueInteger:
                type: integer
                index: 3
                slicing:
                  slices:
                    valueInteger:
                      match: {}
                      schema: {type: integer, _required: true, index: 3}
                      min: 1
            required: [valueInteger]
        respectPriorityScaleStatement:
          match: {url: respectPriorityScaleStatement}
          schema:
            short: ReSPECT statement to support the priority scale value.
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: respectPriorityScaleStatement}
                index: 5
              valueString:
                type: string
                index: 6
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, index: 6}
  url:
    pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-EOL-ReSPECTScale-1'}
    index: 7
  value:
    choices: []
    index: 9
package_version: 1.0.0
extensions:
  respectPriorityScale:
    url: respectPriorityScale
    short: ReSPECT priority scale from 0-100 used to complement an EOL care plan.
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: respectPriorityScale}
        index: 2
      valueInteger:
        type: integer
        index: 3
        slicing:
          slices:
            valueInteger:
              match: {}
              schema: {type: integer, _required: true, index: 3}
              min: 1
    required: [valueInteger]
  respectPriorityScaleStatement:
    url: respectPriorityScaleStatement
    short: ReSPECT statement to support the priority scale value.
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: respectPriorityScaleStatement}
        index: 5
      valueString:
        type: string
        index: 6
        slicing:
          slices:
            valueString:
              match: {}
              schema: {type: string, index: 6}
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-EOL-ReSPECTScale-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0