PackagesCanonicalsLogsProblems
    Packages
    rs/NHSD.Assets.STU3@1.3.0
    https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-NHSCommunication-1
description: This extension is constrained to support the communication preferences for a resource in the NHS.
package_name: rs/NHSD.Assets.STU3
derivation: constraint
name: Extension-CareConnect-GPC-NHSCommunication-1
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        language:
          match: {url: language}
          schema:
            short: Languages which may be used for communication
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: uri, value: language}
                type: uri
                index: 2
              valueCodeableConcept:
                type: CodeableConcept
                short: Languages which may be used for communication
                index: 3
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, short: Languages which may be used for communication, _required: true, index: 3}
                      min: 1
            required: [valueCodeableConcept]
        preferred:
          match: {url: preferred}
          schema:
            index: 4
            elements:
              url:
                pattern: {type: uri, value: preferred}
                type: uri
                index: 5
              valueBoolean: {type: boolean, short: Indicates whether or not this language is preferred (over other languages up a certain level), index: 6}
            required: [valueBoolean]
        modeOfCommunication:
          match: {url: modeOfCommunication}
          schema:
            index: 7
            elements:
              url:
                pattern: {type: uri, value: modeOfCommunication}
                type: uri
                index: 8
              valueCodeableConcept:
                type: CodeableConcept
                short: A valueset to describe the mode the patient can communicate in, representing the method of expression of the language.
                index: 9
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, short: 'A valueset to describe the mode the patient can communicate in, representing the method of expression of the language.', _required: true, index: 9}
                      min: 1
            required: [valueCodeableConcept]
        communicationProficiency:
          match: {url: communicationProficiency}
          schema:
            index: 10
            elements:
              url:
                pattern: {type: uri, value: communicationProficiency}
                type: uri
                index: 11
              valueCodeableConcept:
                type: CodeableConcept
                short: A valueset to describe the level of proficiency in communicating a language
                index: 12
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, short: A valueset to describe the level of proficiency in communicating a language, _required: true, index: 12}
                      min: 1
            required: [valueCodeableConcept]
        interpreterRequired:
          match: {url: interpreterRequired}
          schema:
            index: 13
            elements:
              url:
                pattern: {type: uri, value: interpreterRequired}
                type: uri
                index: 14
              valueBoolean: {type: boolean, short: Indicates whether an interpreter is required for communication purposes, index: 15}
            required: [valueBoolean]
  url:
    pattern: {type: uri, value: 'https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-NHSCommunication-1'}
    type: uri
    index: 16
  value:
    choices: []
    index: 18
package_version: 1.3.0
extensions:
  language:
    url: language
    short: Languages which may be used for communication
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: uri, value: language}
        type: uri
        index: 2
      valueCodeableConcept:
        type: CodeableConcept
        short: Languages which may be used for communication
        index: 3
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, short: Languages which may be used for communication, _required: true, index: 3}
              min: 1
    required: [valueCodeableConcept]
  preferred:
    url: preferred
    index: 4
    elements:
      url:
        pattern: {type: uri, value: preferred}
        type: uri
        index: 5
      valueBoolean: {type: boolean, short: Indicates whether or not this language is preferred (over other languages up a certain level), index: 6}
    required: [valueBoolean]
  modeOfCommunication:
    url: modeOfCommunication
    index: 7
    elements:
      url:
        pattern: {type: uri, value: modeOfCommunication}
        type: uri
        index: 8
      valueCodeableConcept:
        type: CodeableConcept
        short: A valueset to describe the mode the patient can communicate in, representing the method of expression of the language.
        index: 9
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, short: 'A valueset to describe the mode the patient can communicate in, representing the method of expression of the language.', _required: true, index: 9}
              min: 1
    required: [valueCodeableConcept]
  communicationProficiency:
    url: communicationProficiency
    index: 10
    elements:
      url:
        pattern: {type: uri, value: communicationProficiency}
        type: uri
        index: 11
      valueCodeableConcept:
        type: CodeableConcept
        short: A valueset to describe the level of proficiency in communicating a language
        index: 12
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, short: A valueset to describe the level of proficiency in communicating a language, _required: true, index: 12}
              min: 1
    required: [valueCodeableConcept]
  interpreterRequired:
    url: interpreterRequired
    index: 13
    elements:
      url:
        pattern: {type: uri, value: interpreterRequired}
        type: uri
        index: 14
      valueBoolean: {type: boolean, short: Indicates whether an interpreter is required for communication purposes, index: 15}
    required: [valueBoolean]
class: extension
kind: complex-type
url: https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-NHSCommunication-1
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0