<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NHSDigital-Medication" />
  <url value="https://fhir.nhs.uk/StructureDefinition/NHSDigital-Medication" />
  <name value="NHSDigitalMedication" />
  <title value="NHS Digital Medication" />
  <version value="2.1.0" />
  <status value="active" />
  <date value="2022-08-03" />
  <publisher value="NHS Digital" />
  <contact>
    <name value="NHS Digital" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="Defines the NHS Digital constraints and extensions on the UKCore Medication resource for the minimal set of data to query and retrieve medication information." />
  <purpose value="This profile is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use." />
  <copyright value="Copyright © 2021+ NHS Digital 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" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Medication" />
  <baseDefinition value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication" />
  <derivation value="constraint" />
  <differential>
    <element id="Medication.code">
      <path value="Medication.code" />
      <min value="1" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.nhs.uk/ValueSet/NHSDigital-MedicationCode" />
      </binding>
    </element>
  </differential>
</StructureDefinition>