{
  "resourceType": "StructureDefinition",
  "id": "Extension-UKCore-CodingSCTDescId",
  "url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-CodingSCTDescId",
  "version": "1.0.0",
  "name": "ExtensionUKCoreCodingSCTDescId",
  "title": "Extension UK Core Coding SCT DescId",
  "status": "draft",
  "experimental": false,
  "date": "2020-07-16",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "description": "An extension to allow the selected descriptionId and display term for a SNOMED CT codeable concept to be recorded.",
  "purpose": "To allow the selected descriptionId and display term for a SNOMED CT concept to be recorded. \r\n\r\nThe descriptionId and its associated display are important to enable the representation of the exact term that was entered by the clinician that recorded the data or the exact term that a legacy code e.g. a Read2 code, has been translated to using an assured mapping table.",
  "copyright": "Copyright © 2020 HL7 UK Licensed 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  http://www.apache.org/licenses/LICENSE-2.0 Unless 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. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "CodeableConcept.coding"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "SNOMED CT Description ID",
        "definition": "To record the SNOMED CT Description ID and Display term actually selected",
        "max": "1"
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Extension.extension:descriptionId",
        "path": "Extension.extension",
        "sliceName": "descriptionId",
        "short": "SNOMED CT Description ID",
        "definition": "To record the SNOMED CT Description ID actually selected",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Extension.extension:descriptionId.url",
        "path": "Extension.extension.url",
        "fixedUri": "descriptionId"
      },
      {
        "id": "Extension.extension:descriptionId.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Address Key Type",
        "definition": "To identify the type of Address Key recorded.",
        "min": 1,
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Extension.extension:descriptionDisplay",
        "path": "Extension.extension",
        "sliceName": "descriptionDisplay",
        "short": "SNOMED CT Display term",
        "definition": "To record the SNOMED CT Display term actually selected",
        "max": "1"
      },
      {
        "id": "Extension.extension:descriptionDisplay.url",
        "path": "Extension.extension.url",
        "fixedUri": "descriptionDisplay"
      },
      {
        "id": "Extension.extension:descriptionDisplay.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-AddressKey"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}