{
  "resourceType": "StructureDefinition",
  "id": "Extension-DataStandardsWales-Speciality",
  "url": "https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-Speciality",
  "version": "1.0.0",
  "name": "ExtensionDataStandardsWalesSpeciality",
  "status": "active",
  "experimental": false,
  "date": "2026-03-09",
  "publisher": "NHS Wales",
  "contact": [
    {
      "name": "Data Standards",
      "telecom": [
        {
          "system": "email",
          "value": "data.standards@wales.nhs.uk",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "description": "An extension to carry the specialty of a practitioner that would be required to perform the service requested in this appointment",
  "purpose": "An extension to carry the specialty of a practitioner that would be required to perform the service requested in this appointment",
  "copyright": "2026 NHS Wales",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Encounter"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "The specialty of a practitioner that would be required to perform the service requested in this appointmen",
        "definition": "The specialty of a practitioner that would be required to perform the service requested in this appointmen",
        "mustSupport": true
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.nhs.wales/StructureDefinition/Extension-DataStandardsWales-Speciality"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "The specialty of a practitioner that would be required to perform the service requested at this encounter",
        "definition": "The specialty of a practitioner that would be required to perform the service requested at this encounter",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-PracticeSettingCode"
        }
      }
    ]
  }
}