<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="UKCore-MedicationAdministration" />
  <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration" />
  <version value="2.3.0" />
  <name value="UKCoreMedicationAdministration" />
  <title value="UK Core Medication Administration" />
  <status value="active" />
  <date value="2024-07-11" />
  <publisher value="HL7 UK" />
  <contact>
    <name value="HL7 UK" />
    <telecom>
      <system value="email" />
      <value value="ukcore@hl7.org.uk" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="This profile defines the UK constraints and extensions on the International FHIR resource [MedicationAdministration](https://hl7.org/fhir/R4/MedicationAdministration.html)." />
  <purpose value="The purpose of this profile is to describe the event of a patient consuming or otherwise being administered a medication. This may be as simple as swallowing a tablet, or it may be a long-running infusion. &#xD;&#xA;&#xD;&#xA;Related resources tie this event to the authorizing prescription, and the specific encounter between patient and health care practitioner." />
  <copyright value="Copyright © 2021+ 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" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="MedicationAdministration" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration" />
  <derivation value="constraint" />
  <differential>
    <element id="MedicationAdministration.identifier">
      <path value="MedicationAdministration.identifier" />
      <short value="Allows the resource to be referenced within / by other resources." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationAdministration.status">
      <path value="MedicationAdministration.status" />
      <short value="Allows an administration to be marked as in-progress or completed." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationAdministration.category">
      <path value="MedicationAdministration.category" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationAdministrationCategory" />
      </binding>
    </element>
    <element id="MedicationAdministration.medication[x]">
      <path value="MedicationAdministration.medication[x]" />
      <short value="Identifies the medication that was administered." />
      <mustSupport value="true" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationCode" />
      </binding>
    </element>
    <element id="MedicationAdministration.subject">
      <path value="MedicationAdministration.subject" />
      <short value="Identifies the patient receiving the medication." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationAdministration.effective[x]">
      <path value="MedicationAdministration.effective[x]" />
      <short value="The start and end time of the administration." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationAdministration.dosage">
      <path value="MedicationAdministration.dosage" />
      <short value="The dosage instruction for the administered medication." />
      <mustSupport value="true" />
    </element>
    <element id="MedicationAdministration.dosage.site">
      <path value="MedicationAdministration.dosage.site" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite" />
      </binding>
    </element>
    <element id="MedicationAdministration.dosage.route">
      <path value="MedicationAdministration.dosage.route" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute" />
      </binding>
    </element>
    <element id="MedicationAdministration.dosage.method">
      <path value="MedicationAdministration.dosage.method" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationDosageMethod" />
      </binding>
    </element>
  </differential>
</StructureDefinition>