{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-07-19T09:17:46.026+00:00"
  },
  "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSCommunication-1",
  "version": "0.0.1",
  "name": "Extension-CareConnect-NHSCommunication-1",
  "status": "draft",
  "date": "2017-06-07T14:55:24.330896+00:00",
  "publisher": "HL7 UK",
  "description": "This extension is constrained to support the communication preferences for a resource in the NHS.",
  "copyright": "Copyright © 2016 HL7 UK\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\r\n\r\nhttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\r\n\r\nHL7® FHIR® standard Copyright © 2011+ HL7\r\n\r\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\r\n\r\nhttps://www.hl7.org/fhir/license.html",
  "fhirVersion": "3.0.0",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Patient",
    "Practitioner"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "NHS communication preferences for a resource",
        "definition": "Communication preferences including a list of Languages which may be used for communication"
      },
      {
        "id": "Extension.extension:language",
        "path": "Extension.extension",
        "sliceName": "language",
        "short": "Languages which may be used for communication",
        "definition": "Languages which may be used for communication.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:language.url",
        "path": "Extension.extension.url",
        "fixedUri": "language"
      },
      {
        "id": "Extension.extension:language.value[x]:valueCodeableConcept",
        "path": "Extension.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "Languages which may be used for communication",
        "definition": "Languages which may be used for communication.",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Human Language",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-HumanLanguage-1"
          }
        }
      },
      {
        "id": "Extension.extension:preferred",
        "path": "Extension.extension",
        "sliceName": "preferred"
      },
      {
        "id": "Extension.extension:preferred.url",
        "path": "Extension.extension.url",
        "fixedUri": "preferred"
      },
      {
        "id": "Extension.extension:preferred.value[x]",
        "path": "Extension.extension.valueBoolean",
        "short": "Indicates whether or not this language is preferred (over other languages up a certain level)",
        "definition": "Indicates whether or not this language is preferred (over other languages up a certain level)",
        "min": 1,
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Extension.extension:modeOfCommunication",
        "path": "Extension.extension",
        "sliceName": "modeOfCommunication"
      },
      {
        "id": "Extension.extension:modeOfCommunication.url",
        "path": "Extension.extension.url",
        "fixedUri": "modeOfCommunication"
      },
      {
        "id": "Extension.extension:modeOfCommunication.value[x]:valueCodeableConcept",
        "path": "Extension.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "A valueset to describe the mode the patient can communicate in, representing the method of expression of the language.",
        "definition": "A valueset to describe the mode the patient can communicate in, representing the method of expression of the language..",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Language Ability Mode",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-LanguageAbilityMode-1"
          }
        }
      },
      {
        "id": "Extension.extension:communicationProficiency",
        "path": "Extension.extension",
        "sliceName": "communicationProficiency",
        "max": "1"
      },
      {
        "id": "Extension.extension:communicationProficiency.url",
        "path": "Extension.extension.url",
        "fixedUri": "communicationProficiency"
      },
      {
        "id": "Extension.extension:communicationProficiency.value[x]:valueCodeableConcept",
        "path": "Extension.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "short": "A valueset to describe the level of proficiency in communicating a language",
        "definition": "A valueset to describe the level of proficiency in communicating a language.",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Language Ability Proficiency",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-LanguageAbilityProficiency-1"
          }
        }
      },
      {
        "id": "Extension.extension:interpreterRequired",
        "path": "Extension.extension",
        "sliceName": "interpreterRequired",
        "max": "1"
      },
      {
        "id": "Extension.extension:interpreterRequired.url",
        "path": "Extension.extension.url",
        "fixedUri": "interpreterRequired"
      },
      {
        "id": "Extension.extension:interpreterRequired.value[x]",
        "path": "Extension.extension.valueBoolean",
        "short": "Indicates whether an interpreter is required for communication purposes",
        "definition": "Indicates whether an interpreter is required for communication purposes- True / False?",
        "min": 1,
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSCommunication-1"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}