NHS Digital FHIR Medicines (Retired - 2.1.14)

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.

MedicationRequest Multiple Drug Codes

This example contains multiple medication codes, only the SNOMED CT code will be processed by EPS and the Multilex codes will be ignored.

{
    "resourceType": "MedicationRequest",
    "id": "multipleMedCodes-pass",
    "extension":  [
        {
            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType",
            "valueCoding": {
                "system": "https://fhir.nhs.uk/CodeSystem/prescription-type",
                "code": "0101",
                "display": "Primary Care Prescriber – Medical Prescriber"
            }
        },
        {
            "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-ResponsiblePractitioner",
            "valueReference": {
                "reference": "urn:uuid:1557E58E-3B1E-41DD-B3B5-D4D393DC5A3D"
            }
        }
    ],
    "identifier":  [
        {
            "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
            "value": "1e34ee53-397a-2e70-e97c-67b1bd95014d"
        }
    ],
    "status": "active",
    "intent": "order",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                    "code": "inpatient",
                    "display": "Inpatient"
                }
            ],
            "text": "Inpatient"
        }
    ],
    "medicationCodeableConcept": {
        "coding":  [
            {
                "system": "http://snomed.info/sct",
                "code": "9207411000001106",
                "display": "Salbutamol 100micrograms/dose dry powder inhaler"
            },
            {
                "system": "https://fhir.hl7.org.uk/Id/multilex-drug-codes",
                "code": "ABCDE",
                "display": "Salbutamol 100micrograms/dose dry powder inhaler"
            }
        ]
    },
    "subject": {
        "reference": "urn:uuid:c6750caa-3ca9-4f29-a282-6ee1aa5d7d4c"
    },
    "authoredOn": "2004-09-20T10:30:00.000+00:00",
    "requester": {
        "reference": "urn:uuid:1557E58E-3B1E-41DD-B3B5-D4D393DC5A3D",
        "display": "Dr Smith"
    },
    "groupIdentifier": {
        "extension":  [
            {
                "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId",
                "valueIdentifier": {
                    "system": "https://fhir.nhs.uk/Id/prescription",
                    "value": "EDD2E9DD-DA0A-C266-A4E3-447C68239524"
                }
            }
        ],
        "system": "https://fhir.nhs.uk/Id/prescription-order-number",
        "value": "83C40E-A23856-00123C"
    },
    "courseOfTherapyType": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy",
                "code": "acute",
                "display": "Short course (acute) therapy"
            }
        ]
    },
    "dosageInstruction":  [
        {
            "text": "2 Puffs when required"
        }
    ],
    "dispenseRequest": {
        "extension":  [
            {
                "url": "https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType",
                "valueCoding": {
                    "system": "https://fhir.nhs.uk/CodeSystem/dispensing-site-preference",
                    "code": "0004"
                }
            }
        ],
        "quantity": {
            "value": 200,
            "unit": "dose",
            "system": "http://snomed.info/sct",
            "code": "3317411000001100"
        },
        "performer": {
            "identifier": {
                "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                "value": "Y12345"
            }
        }
    },
    "substitution": {
        "allowedBoolean": false
    }
}
<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="multipleMedCodes-pass" />
    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType">
        <valueCoding>
            <system value="https://fhir.nhs.uk/CodeSystem/prescription-type" />
            <code value="0101" />
            <display value="Primary Care Prescriber – Medical Prescriber" />
        </valueCoding>
    </extension>
    <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-ResponsiblePractitioner">
        <valueReference>
            <reference value="urn:uuid:1557E58E-3B1E-41DD-B3B5-D4D393DC5A3D" />
        </valueReference>
    </extension>
    <identifier>
        <system value="https://fhir.nhs.uk/Id/prescription-order-item-number" />
        <value value="1e34ee53-397a-2e70-e97c-67b1bd95014d" />
    </identifier>
    <status value="active" />
    <intent value="order" />
    <category>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" />
            <code value="inpatient" />
            <display value="Inpatient" />
        </coding>
        <text value="Inpatient" />
    </category>
    <medicationCodeableConcept>
        <coding>
            <system value="http://snomed.info/sct" />
            <code value="9207411000001106" />
            <display value="Salbutamol 100micrograms/dose dry powder inhaler" />
        </coding>
        <coding>
            <system value="https://fhir.hl7.org.uk/Id/multilex-drug-codes" />
            <code value="ABCDE" />
            <display value="Salbutamol 100micrograms/dose dry powder inhaler" />
        </coding>
    </medicationCodeableConcept>
    <subject>
        <reference value="urn:uuid:c6750caa-3ca9-4f29-a282-6ee1aa5d7d4c" />
    </subject>
    <authoredOn value="2004-09-20T10:30:00.000+00:00" />
    <requester>
        <reference value="urn:uuid:1557E58E-3B1E-41DD-B3B5-D4D393DC5A3D" />
        <display value="Dr Smith" />
    </requester>
    <groupIdentifier>
        <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId">
            <valueIdentifier>
                <system value="https://fhir.nhs.uk/Id/prescription" />
                <value value="EDD2E9DD-DA0A-C266-A4E3-447C68239524" />
            </valueIdentifier>
        </extension>
        <system value="https://fhir.nhs.uk/Id/prescription-order-number" />
        <value value="83C40E-A23856-00123C" />
    </groupIdentifier>
    <courseOfTherapyType>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy" />
            <code value="acute" />
            <display value="Short course (acute) therapy" />
        </coding>
    </courseOfTherapyType>
    <dosageInstruction>
        <text value="2 Puffs when required" />
    </dosageInstruction>
    <dispenseRequest>
        <extension url="https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType">
            <valueCoding>
                <system value="https://fhir.nhs.uk/CodeSystem/dispensing-site-preference" />
                <code value="0004" />
            </valueCoding>
        </extension>
        <quantity>
            <value value="200" />
            <unit value="dose" />
            <system value="http://snomed.info/sct" />
            <code value="3317411000001100" />
        </quantity>
        <performer>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="Y12345" />
            </identifier>
        </performer>
    </dispenseRequest>
    <substitution>
        <allowedBoolean value="false" />
    </substitution>
</MedicationRequest>
MedicationRequest
back to top