<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Extension-UKCore-CodingSCTDescId" />
  <url value="https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-CodingSCTDescId" />
  <version value="1.0.0" />
  <name value="ExtensionUKCoreCodingSCTDescId" />
  <title value="Extension UK Core Coding SCT DescId" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2020-07-16" />
  <publisher value="NHS Digital" />
  <contact>
    <name value="Interoperability Team" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="An extension to allow the selected descriptionId and display term for a SNOMED CT codeable concept to be recorded." />
  <purpose value="To allow the selected descriptionId and display term for a SNOMED CT concept to be recorded. &#xD;&#xA;&#xD;&#xA;The 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 value="Copyright © 2020 HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); 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 &quot;AS IS&quot; 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 value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="CodeableConcept.coding" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <short value="SNOMED CT Description ID" />
      <definition value="To record the SNOMED CT Description ID and Display term actually selected" />
      <max value="1" />
    </element>
    <element id="Extension.extension">
      <path value="Extension.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Extension.extension:descriptionId">
      <path value="Extension.extension" />
      <sliceName value="descriptionId" />
      <short value="SNOMED CT Description ID" />
      <definition value="To record the SNOMED CT Description ID actually selected" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Extension.extension:descriptionId.url">
      <path value="Extension.extension.url" />
      <fixedUri value="descriptionId" />
    </element>
    <element id="Extension.extension:descriptionId.value[x]">
      <path value="Extension.extension.value[x]" />
      <short value="Address Key Type" />
      <definition value="To identify the type of Address Key recorded." />
      <min value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element id="Extension.extension:descriptionDisplay">
      <path value="Extension.extension" />
      <sliceName value="descriptionDisplay" />
      <short value="SNOMED CT Display term" />
      <definition value="To record the SNOMED CT Display term actually selected" />
      <max value="1" />
    </element>
    <element id="Extension.extension:descriptionDisplay.url">
      <path value="Extension.extension.url" />
      <fixedUri value="descriptionDisplay" />
    </element>
    <element id="Extension.extension:descriptionDisplay.value[x]">
      <path value="Extension.extension.value[x]" />
      <min value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-AddressKey" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>