UK Core Implementation Guide 0.1.0 STU1

StructureDefinition-UKCore-MedicationStatement

Defines the UK Core constraints and extensions on the MedicationStatement resource for the minimal set of data to query and retrieve medication statement information.

Profile Purpose

This profile allows exchange of a record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the individual may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the individual, significant other (such as a family member or spouse), or a clinician.

Snapshot View

pharmacistVerifiedIndicatorI0..1Extension(boolean)
medicationPrescribingOrganizationI0..1Extension(CodeableConcept)
medicationStatementLastIssueDateI0..1Extension(dateTime)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
statusΣ ?!1..1codeBinding
statusReason0..*CodeableConcept
categoryΣ0..1CodeableConceptBinding
medicationCodeableConceptCodeableConcept
medicationReferenceReference(UK Core Medication)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
effectiveDateTimedateTime
effectivePeriodPeriod
dateAssertedΣ0..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
reasonCode0..*CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
authorStringstring
authorReferenceReference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson)
timeΣ0..1dateTime
textΣ1..1markdown
sequenceΣ0..1integer
textΣ0..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionΣ0..1string
timingΣ0..1Timing
asNeededBooleanboolean
asNeededCodeableConceptCodeableConcept
siteΣ0..1CodeableConceptBinding
routeΣ0..1CodeableConceptBinding
methodΣ0..1CodeableConceptBinding
typeΣ0..1CodeableConcept
doseRangeRange
doseQuantitySimpleQuantity
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
maxDosePerPeriodΣ I0..1Ratio
maxDosePerAdministrationΣ I0..1SimpleQuantity
maxDosePerLifetimeΣ I0..1SimpleQuantity

Differential View

pharmacistVerifiedIndicatorI0..1Extension(boolean)
medicationPrescribingOrganizationI0..1Extension(CodeableConcept)
medicationStatementLastIssueDateI0..1Extension(dateTime)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
statusΣ ?!1..1codeBinding
statusReason0..*CodeableConcept
categoryΣ0..1CodeableConceptBinding
medicationCodeableConceptCodeableConcept
medicationReferenceReference(UK Core Medication)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
effectiveDateTimedateTime
effectivePeriodPeriod
dateAssertedΣ0..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
reasonCode0..*CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
authorStringstring
authorReferenceReference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson)
timeΣ0..1dateTime
textΣ1..1markdown
sequenceΣ0..1integer
textΣ0..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionΣ0..1string
timingΣ0..1Timing
asNeededBooleanboolean
asNeededCodeableConceptCodeableConcept
siteΣ0..1CodeableConceptBinding
routeΣ0..1CodeableConceptBinding
methodΣ0..1CodeableConceptBinding
typeΣ0..1CodeableConcept
doseRangeRange
doseQuantitySimpleQuantity
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
maxDosePerPeriodΣ I0..1Ratio
maxDosePerAdministrationΣ I0..1SimpleQuantity
maxDosePerLifetimeΣ I0..1SimpleQuantity

Hybrid View

pharmacistVerifiedIndicatorI0..1Extension(boolean)
medicationPrescribingOrganizationI0..1Extension(CodeableConcept)
medicationStatementLastIssueDateI0..1Extension(dateTime)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
statusΣ ?!1..1codeBinding
statusReason0..*CodeableConcept
categoryΣ0..1CodeableConceptBinding
medicationCodeableConceptCodeableConcept
medicationReferenceReference(UK Core Medication)
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
effectiveDateTimedateTime
effectivePeriodPeriod
dateAssertedΣ0..1dateTime
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
reasonCode0..*CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ0..1uri
valueΣ0..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(UK Core Organization)
displayΣ0..1string
authorStringstring
authorReferenceReference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson)
timeΣ0..1dateTime
textΣ1..1markdown
sequenceΣ0..1integer
textΣ0..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionΣ0..1string
timingΣ0..1Timing
asNeededBooleanboolean
asNeededCodeableConceptCodeableConcept
siteΣ0..1CodeableConceptBinding
routeΣ0..1CodeableConceptBinding
methodΣ0..1CodeableConceptBinding
typeΣ0..1CodeableConcept
doseRangeRange
doseQuantitySimpleQuantity
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
maxDosePerPeriodΣ I0..1Ratio
maxDosePerAdministrationΣ I0..1SimpleQuantity
maxDosePerLifetimeΣ I0..1SimpleQuantity

Table View

MedicationStatement..
MedicationStatement.extension..
MedicationStatement.extensionExtension..
MedicationStatement.extensionExtension..
MedicationStatement.extensionExtension..
MedicationStatement.identifier..
MedicationStatement.identifier.system1..
MedicationStatement.identifier.value1..
MedicationStatement.identifier.assignerReference(UK Core Organization)..
MedicationStatement.basedOnReference(UK Core CarePlan | UK Core MedicationRequest | UK Core ServiceRequest)..
MedicationStatement.basedOn.identifier..
MedicationStatement.basedOn.identifier.assignerReference(UK Core Organization)..
MedicationStatement.partOfReference(UK Core MedicationDispense | UK Core MedicationStatement | UK Core Observation | UK Core Procedure | UK Core MedicationAdministration)..
MedicationStatement.partOf.identifier..
MedicationStatement.partOf.identifier.assignerReference(UK Core Organization)..
MedicationStatement.category..
MedicationStatement.medication[x]CodeableConcept, Reference(UK Core Medication)..
MedicationStatement.subjectReference(Group | UK Core Patient)..
MedicationStatement.subject.identifier..
MedicationStatement.subject.identifier.assignerReference(UK Core Organization)..
MedicationStatement.contextReference(UK Core EpisodeOfCare | UK Core Encounter)..
MedicationStatement.context.identifier..
MedicationStatement.context.identifier.assignerReference(UK Core Organization)..
MedicationStatement.informationSourceReference(UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core RelatedPerson | UK Core PractitionerRole)..
MedicationStatement.informationSource.identifier..
MedicationStatement.informationSource.identifier.assignerReference(UK Core Organization)..
MedicationStatement.derivedFrom..
MedicationStatement.derivedFrom.identifier..
MedicationStatement.derivedFrom.identifier.assignerReference(UK Core Organization)..
MedicationStatement.reasonReferenceReference(UK Core Condition | UK Core Observation)..
MedicationStatement.reasonReference.identifier..
MedicationStatement.reasonReference.identifier.assignerReference(UK Core Organization)..
MedicationStatement.note..
MedicationStatement.note.author[x]Reference(UK Core Patient | UK Core Practitioner | UK Core RelatedPerson), string..
MedicationStatement.dosage..
MedicationStatement.dosage.asNeeded[x]..
MedicationStatement.dosage.site..
MedicationStatement.dosage.route..
MedicationStatement.dosage.method..


XML View

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="UKCore-MedicationStatement" />
    <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement" />
    <version value="2.1.0" />
    <name value="UKCoreMedicationStatement" />
    <title value="UK Core MedicationStatement" />
    <status value="active" />
    <date value="2021-09-10" />
    <publisher value="HL7 UK" />
    <contact>
        <name value="HL7 UK" />
        <telecom>
            <system value="email" />
            <value value="secretariat@hl7.org.uk" />
            <use value="work" />
            <rank value="1" />
        </telecom>
    </contact>
    <contact>
        <name value="NHS Digital" />
        <telecom>
            <system value="email" />
            <value value="interoperabilityteam@nhs.net" />
            <use value="work" />
            <rank value="2" />
        </telecom>
    </contact>
    <description value="Defines the UK Core constraints and extensions on the MedicationStatement resource for the minimal set of data to query and retrieve medication statement information." />
    <purpose value="This profile allows exchange of a record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the individual may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the individual, significant other (such as a family member or spouse), or a clinician." />
    <copyright value="Copyright &#169; 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&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; 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="workflow" />
        <uri value="http://hl7.org/fhir/workflow" />
        <name value="Workflow Pattern" />
    </mapping>
    <mapping>
        <identity value="rim" />
        <uri value="http://hl7.org/v3" />
        <name value="RIM Mapping" />
    </mapping>
    <mapping>
        <identity value="w5" />
        <uri value="http://hl7.org/fhir/fivews" />
        <name value="FiveWs Pattern Mapping" />
    </mapping>
    <mapping>
        <identity value="v2" />
        <uri value="http://hl7.org/v2" />
        <name value="HL7 v2 Mapping" />
    </mapping>
    <kind value="resource" />
    <abstract value="false" />
    <type value="MedicationStatement" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/MedicationStatement" />
    <derivation value="constraint" />
    <differential>
        <element id="MedicationStatement.extension">
            <path value="MedicationStatement.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
        </element>
        <element id="MedicationStatement.extension:pharmacistVerifiedIndicator">
            <path value="MedicationStatement.extension" />
            <sliceName value="pharmacistVerifiedIndicator" />
            <short value="Indicates whether a pharmacist verified a medication" />
            <type>
                <code value="Extension" />
                <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PharmacistVerifiedIndicator" />
            </type>
        </element>
        <element id="MedicationStatement.extension:medicationPrescribingOrganization">
            <path value="MedicationStatement.extension" />
            <sliceName value="medicationPrescribingOrganization" />
            <type>
                <code value="Extension" />
                <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationPrescribingOrganization" />
            </type>
        </element>
        <element id="MedicationStatement.extension:medicationStatementLastIssueDate">
            <path value="MedicationStatement.extension" />
            <sliceName value="medicationStatementLastIssueDate" />
            <type>
                <code value="Extension" />
                <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationStatementLastIssueDate" />
            </type>
        </element>
        <element id="MedicationStatement.identifier.system">
            <path value="MedicationStatement.identifier.system" />
            <min value="1" />
        </element>
        <element id="MedicationStatement.identifier.value">
            <path value="MedicationStatement.identifier.value" />
            <min value="1" />
        </element>
        <element id="MedicationStatement.identifier.assigner">
            <path value="MedicationStatement.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.basedOn">
            <path value="MedicationStatement.basedOn" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest" />
            </type>
        </element>
        <element id="MedicationStatement.basedOn.identifier.assigner">
            <path value="MedicationStatement.basedOn.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.partOf">
            <path value="MedicationStatement.partOf" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration" />
            </type>
        </element>
        <element id="MedicationStatement.partOf.identifier.assigner">
            <path value="MedicationStatement.partOf.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.category">
            <path value="MedicationStatement.category" />
            <binding>
                <strength value="extensible" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationStatementCategory" />
            </binding>
        </element>
        <element id="MedicationStatement.medication[x]">
            <path value="MedicationStatement.medication[x]" />
            <type>
                <code value="CodeableConcept" />
            </type>
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication" />
            </type>
            <binding>
                <strength value="extensible" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationCode" />
            </binding>
        </element>
        <element id="MedicationStatement.subject">
            <path value="MedicationStatement.subject" />
            <type>
                <code value="Reference" />
                <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
            </type>
        </element>
        <element id="MedicationStatement.subject.identifier.assigner">
            <path value="MedicationStatement.subject.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.context">
            <path value="MedicationStatement.context" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-EpisodeOfCare" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter" />
            </type>
        </element>
        <element id="MedicationStatement.context.identifier.assigner">
            <path value="MedicationStatement.context.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.informationSource">
            <path value="MedicationStatement.informationSource" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
            </type>
        </element>
        <element id="MedicationStatement.informationSource.identifier.assigner">
            <path value="MedicationStatement.informationSource.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.derivedFrom.identifier.assigner">
            <path value="MedicationStatement.derivedFrom.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.reasonReference">
            <path value="MedicationStatement.reasonReference" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation" />
            </type>
        </element>
        <element id="MedicationStatement.reasonReference.identifier.assigner">
            <path value="MedicationStatement.reasonReference.identifier.assigner" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
            </type>
        </element>
        <element id="MedicationStatement.note.author[x]">
            <path value="MedicationStatement.note.author[x]" />
            <type>
                <code value="Reference" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
                <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
            </type>
            <type>
                <code value="string" />
            </type>
        </element>
        <element id="MedicationStatement.dosage.asNeeded[x]">
            <path value="MedicationStatement.dosage.asNeeded[x]" />
            <binding>
                <strength value="extensible" />
                <description value="A set of codes that define a precondition for taking a medication" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationPrecondition" />
            </binding>
        </element>
        <element id="MedicationStatement.dosage.site">
            <path value="MedicationStatement.dosage.site" />
            <binding>
                <strength value="extensible" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite" />
            </binding>
        </element>
        <element id="MedicationStatement.dosage.route">
            <path value="MedicationStatement.dosage.route" />
            <binding>
                <strength value="extensible" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute" />
            </binding>
        </element>
        <element id="MedicationStatement.dosage.method">
            <path value="MedicationStatement.dosage.method" />
            <binding>
                <strength value="extensible" />
                <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationDosageMethod" />
            </binding>
        </element>
    </differential>
</StructureDefinition>

XML View

{
    "resourceType": "StructureDefinition",
    "id": "UKCore-MedicationStatement",
    "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement",
    "version": "2.1.0",
    "name": "UKCoreMedicationStatement",
    "title": "UK Core MedicationStatement",
    "status": "active",
    "date": "2021-09-10",
    "publisher": "HL7 UK",
    "contact":  [
        {
            "name": "HL7 UK",
            "telecom":  [
                {
                    "system": "email",
                    "value": "secretariat@hl7.org.uk",
                    "use": "work",
                    "rank": 1
                }
            ]
        },
        {
            "name": "NHS Digital",
            "telecom":  [
                {
                    "system": "email",
                    "value": "interoperabilityteam@nhs.net",
                    "use": "work",
                    "rank": 2
                }
            ]
        }
    ],
    "description": "Defines the UK Core constraints and extensions on the MedicationStatement resource for the minimal set of data to query and retrieve medication statement information.",
    "purpose": "This profile allows exchange of a record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the individual may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the individual, significant other (such as a family member or spouse), or a clinician.",
    "copyright": "Copyright © 2021+ 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": "workflow",
            "uri": "http://hl7.org/fhir/workflow",
            "name": "Workflow Pattern"
        },
        {
            "identity": "rim",
            "uri": "http://hl7.org/v3",
            "name": "RIM Mapping"
        },
        {
            "identity": "w5",
            "uri": "http://hl7.org/fhir/fivews",
            "name": "FiveWs Pattern Mapping"
        },
        {
            "identity": "v2",
            "uri": "http://hl7.org/v2",
            "name": "HL7 v2 Mapping"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "MedicationStatement",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "MedicationStatement.extension",
                "path": "MedicationStatement.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "MedicationStatement.extension:pharmacistVerifiedIndicator",
                "path": "MedicationStatement.extension",
                "sliceName": "pharmacistVerifiedIndicator",
                "short": "Indicates whether a pharmacist verified a medication",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PharmacistVerifiedIndicator"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.extension:medicationPrescribingOrganization",
                "path": "MedicationStatement.extension",
                "sliceName": "medicationPrescribingOrganization",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationPrescribingOrganization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.extension:medicationStatementLastIssueDate",
                "path": "MedicationStatement.extension",
                "sliceName": "medicationStatementLastIssueDate",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationStatementLastIssueDate"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.identifier.system",
                "path": "MedicationStatement.identifier.system",
                "min": 1
            },
            {
                "id": "MedicationStatement.identifier.value",
                "path": "MedicationStatement.identifier.value",
                "min": 1
            },
            {
                "id": "MedicationStatement.identifier.assigner",
                "path": "MedicationStatement.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.basedOn",
                "path": "MedicationStatement.basedOn",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.basedOn.identifier.assigner",
                "path": "MedicationStatement.basedOn.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.partOf",
                "path": "MedicationStatement.partOf",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationAdministration"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.partOf.identifier.assigner",
                "path": "MedicationStatement.partOf.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.category",
                "path": "MedicationStatement.category",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationStatementCategory"
                }
            },
            {
                "id": "MedicationStatement.medication[x]",
                "path": "MedicationStatement.medication[x]",
                "type":  [
                    {
                        "code": "CodeableConcept"
                    },
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication"
                        ]
                    }
                ],
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationCode"
                }
            },
            {
                "id": "MedicationStatement.subject",
                "path": "MedicationStatement.subject",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://hl7.org/fhir/StructureDefinition/Group",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.subject.identifier.assigner",
                "path": "MedicationStatement.subject.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.context",
                "path": "MedicationStatement.context",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-EpisodeOfCare",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.context.identifier.assigner",
                "path": "MedicationStatement.context.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.informationSource",
                "path": "MedicationStatement.informationSource",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.informationSource.identifier.assigner",
                "path": "MedicationStatement.informationSource.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.derivedFrom.identifier.assigner",
                "path": "MedicationStatement.derivedFrom.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.reasonReference",
                "path": "MedicationStatement.reasonReference",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.reasonReference.identifier.assigner",
                "path": "MedicationStatement.reasonReference.identifier.assigner",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationStatement.note.author[x]",
                "path": "MedicationStatement.note.author[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner",
                            "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson"
                        ]
                    },
                    {
                        "code": "string"
                    }
                ]
            },
            {
                "id": "MedicationStatement.dosage.asNeeded[x]",
                "path": "MedicationStatement.dosage.asNeeded[x]",
                "binding": {
                    "strength": "extensible",
                    "description": "A set of codes that define a precondition for taking a medication",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationPrecondition"
                }
            },
            {
                "id": "MedicationStatement.dosage.site",
                "path": "MedicationStatement.dosage.site",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite"
                }
            },
            {
                "id": "MedicationStatement.dosage.route",
                "path": "MedicationStatement.dosage.route",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute"
                }
            },
            {
                "id": "MedicationStatement.dosage.method",
                "path": "MedicationStatement.dosage.method",
                "binding": {
                    "strength": "extensible",
                    "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationDosageMethod"
                }
            }
        ]
    }
}

Examples

Amoxicillin - An example to illustrate a medication statement of Amoxicillin.
Example UKCore-MedicationStatement-Amoxicillin

Example Usage Scenarios

The following are example usage scenarios for the UK Core MedicationStatement profile:

  • Query and retrieve a patient current medication
  • Record or update a patients current medication.

Minimum Viable Content

A minimum viable content that all provider and consumer systems should support is the following elements.

Element Reason
identifer To allow the resource to be referenced within/by other resources
basedOn To reference to a MedicationRequest resource, where applicable
status Mandatory element
statusReason To expand on the intent of the status
medication[x] Mandatory element
subject Mandatory element
effective[x] To timestamp the statement
dateAsserted To timestamp the statement assertion
informationSource To identify the source of the information
derivedFrom To reference other resources, where applicable
dosageInstruction For the dosage instruction for the statement

Context For Provider Systems

Providers systems should view elements listed as part of the minimum viable dataset in the same way as FHIR Must Support elements. Where the data is available, the provider system should include this data within the resource. Additional elements populated may be ignored by consumer systems.

Context For Consumer Systems

Consumer systems should expect the elements listed as part of the minimum viable dataset to be populated, with business data that should be relevant for the processing of the resource. Additional elements may not be populated by provider systems.


extension: pharmacistVerifiedIndicator

More information on this extension can be found using the link below.

Extension UKCore-PharmacistVerifiedIndicator.


extension: medicationPrescribingOrganization

An extension to identify if the medication was prescribed-at-gp-practice or prescribed-by-another-organisation.

This extension is likely only to be populated by GP systems.

More information on this extension can be found using the link below.

Extension UKCore-MedicationPrescribingOrganization.


extension: medicationStatementLastIssueDate

An extension for the date or datetime that the medication described in the MedicationStatement was last requested/prescribed.

The presence of this data does not imply medication has been dispensed or supplied to the patient.

More information on this extension can be found using the link below.

Extension UKCore-MedicationStatementLastissueDate.


identifier

This should be populated with a globally unique and persistent identifier (that is, it doesn’t change between requests and therefore stored with the source data). This should be scoped by a provider specific namespace for the identifier.

Where consuming systems are integrating data from this resource to their local system, they should persist this identifier at the same time.


basedOn

Optional.

A reference to any number of CarePlan, MedicationRequest, ServiceRequest or ReferralRequest resources.

Recommendation: To reference a previous medication request use priorPrescription instead of this element.

If the clinical system has implemented the CarePlan resource, a logical link to the care plan for which the medication request is based has business benefit.


partOf

This should not be used as the use-case and purpose is ambiguous.


status

Status FHIR Definition Recommendation
active The medication is still being taken. It is believed the medication is active in the patients system.
completed The medication is no longer being taken. A course of medication has been completed and the medication is not active in the patients system.
entered-in-error The statement was recorded incorrectly. Indicates the MedicationStatement is INVALID. It is not expected that a MedicationStatement with this status to be included in exchanges.
intended The medication may be taken at some time in the future. It is intended that the medication will be given to the patient. When this is used effective[x] MUST indicate when it is intended that the medication to be taken.
stopped Actions implied by the statement have been permanently halted, before all of them occurred. Medication has been stopped before the completion of the prescribed course and there is no plan to restart it. When used the reason MUST be indicated in statusReason.
on-hold Actions implied by the statement have been temporarily halted, but are expected to continue later. May also be called "suspended". Medication has been temporarily stopped.
When used the reason MUST be indicated in statusReason.
Where it is known when it is indented to restart it this may be indicated in statusReason.
unknown The state of the medication use is not currently known. The patient may have had some encounter with this medication, but the current status is unknown. Avoid the use of this status value where possible.
not-taken The medication was not consumed by the patient Use this when there is certainty that the patient has not consumed any of the intended medication. Additional implementation guidance is pending for cases when a patient spits out medicine or vomits after taking medicine. Some medication may still have been consumed and is therefore active in the body.

A MedicationStatement represents a snapshot in time of a patient medication - and if the status has not been provided, then the following business rule may apply to compute the state.

Status How it can be determined
active A completed MedicationRequest (if known) where the current date is between the dispenseRequest.validityPeriod element. The MedicationStatement.effectivePeriod element should reflect this information.
or
Where the current date is between the MedicationStatement.effectivePeriod
completed Where the current date is after the MedicationStatement.effectivePeriod
or
A completed MedicationRequest (if known) where the dispenseRequest element is either not defined, or the current date is greater than the dispenseRequest.validityPeriod.

statusReason

A required element used to expand on the intent for the status of the MedicationStatement.

An example use-case for this could be if an organisation sets a medication status to stopped with the intent to restart the medication at some point (move back to active).


category

The value set has been extended with leave and discharge to align with the equivlant value set used by medicationRequest.


medication[x]

When only a MedicationRequest is known

Rule: Use the medication defined within the basedOn (MedicationRequest).

When only a MedicationDispense is known

Rule: Use the medication defined within the partOf (MedicationDispense).

When both the MedicationRequest and MedicationDispense are known

Rule: Where different dm+d concepts are used within the basedOn (MedicationRequest) and partOf (MedicationDispense) use the medication defined within the partOf (MedicationDispense).

The dispensing record will be the most specific and accurate for what will be given to the patient.

Also note that the dosageInstruction within a MedicationDispense may differ from that stated in the MedicationRequest. The pharmacy team may have applied their own dosage instruction to make it more suitable for a medicines administration label.

When both the MedicationRequest or MedicationDispense are not known

Rule: Use the medication information available within the source clinical system.

Populating the Element

Where a dm+d code exists it MUST be used either as CodeableConcept.coding or as Medication.Medication.code.

Where CodeableConcept is used, CodeableConcept.coding is the dm+d code and CodeableConcept.text is dm+d concept name/description. Where no dm+d code is available the drug name can be provided as text within the CodeableConcept.text

Can be either a dm+d code as a CodeableConcept or reference to UK Core Medication resource. Using a CodeableConcept is preferred unless additional data if required that would be contained within a UK Core Medication resource.

Examples where a reference to a UK Core Medication would be applicable include:

  • Record a VTM with a specific form
  • Record manufacturer with a VTM, VMP or VMP concept
  • Record batch number
  • Record ingredients (for example with a magisterial prescription or an excipient).

subject

A reference to the patient.

Within a FHIR Messaging or FHIR Document implementation, include a UKCore-Patient resource within the Bundle with at least the minimum dataset populated as defined within the UK Core standard. The reference points to the resource in the Bundle.

JSON

// within the MedicationStatement resource...

  "subject": {
    "reference": "urn:patient-011223344",
    "display": "Richard Smith"
  }

// elsewhere in the Bundle...

  {
    "fullUrl": "urn:patient-011223344",
    "resource": {
      "resourceType": "Patient",
      "id": "urn:patient-011223344",
      "identifier": {
        "system": "https://fhir.nhs.uk/Id/nhs-number",
        "value": "9912003888"
      },
      "name": {
        "use": "official",
        "text": "Mr Richard Smith",
        "family": "Smith",
        "given": "Richard",
        "prefix": "Mr"
      },
      "gender": "male",
      "birthDate": "1956-02-04"
    }
  }

Within a RESTful implemementation a reference and/or identifier MUST be provided that allows the consumer system to query another API if they need to access the complete UKCore-Patient resource. The reference points to the resource in the Bundle.

For implementations within England and Wales, the identifier could be the patient's NHS Number, allowing consumer system to use the NHS Digital Personal Demographics Service FHIR API return a Patient resource.

JSON

{
  "subject": {
    "reference": "urn:patient-011223344",
    "display": "Richard Smith",
    "identifier": {
      "system": "https://fhir.nhs.uk/Id/nhs-number",
      "value": "9912003888"
    }
  }
}

For implementations within Scotland, the identifier could be the patient's CHI Number.

JSON

{
  "subject": {
    "reference": "urn:patient-011223344",
    "display": "Richard Smith",
    "identifier": {
      "system": "https://fhir.nhs.uk/Id/nhs-number",
      "value": "9912003888"
    }
  }
}


context

It is unlikely that the population of this element would be useful to consumer systems. It may be included by reference to a UK Core EpisodeOfCare or Encounter.


effective[x] (Mandatory)

A mandatory dateTime or period for the administration.


dateAsserted

The date and time when the MedicationStatement was created from other data.


informationSource

Referencing an organization is likely to be more useful than a person. Individuals work patterns and/or employer may change while the care setting organisation is likely to be more static and relevant within historic instances of this resource.

When referencing an organisation - the following must be provided:

  • Organization.contact.name
  • Organization.contact.telecom
  • Organisation.identifier.odsOrganizationCode or Organization.identifier.odsSiteCode

Where the organisation is an Acute Trust, an ODS Site Code may be more useful than the parent Trust-wide ODS organisation code.


derivedFrom

This should be used only to reference information that can not be referenced by MedicationStatement.basedOn.


reasonCode

The indication(s) for the medicine as a CodableConcept.


reasonReference

Further details of why the medication is being taken by reference to UK Core Condition or Observation.


note

If present, notes must be displayed by consuming systems.

Where author is known and to be shared, the use of authorReference is preferred over using a free-text version authorString.


dosage

Preferable as a structured dosage aligned to the FHIR Dose Syntax Guidance but as a minimum, dosage.text.


back to top