Dose syntax implementation guidance for FHIR STU3

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

Aspirin suppository, 600mg rectally every 4 hours. Maximum 3.6gm per 24 hours

Dose-based prescription with maximum dose.
<MedicationRequest xmlns="http://hl7.org/fhir">
    <id value="41dab799-fdbb-4a1e-bee2-a1a73dacac8d" />
    <contained>
        <Medication>
            <id value="med1" />
            <code>
                <coding>
                    <system value="http://snomed.info/sct" />
                    <code value="7947003" />
                    <display value="Aspirin" />
                </coding>
            </code>
            <form>
                <coding>
                    <system value="http://snomed.info/sct" />
                    <code value="385194003" />
                    <display value="suppository" />
                </coding>
            </form>
        </Medication>
    </contained>
    <status value="active" />
    <intent value="order" />
    <medicationReference>
        <reference value="#med1" />
    </medicationReference>
    <subject>
        <identifier>
            <system value="https://fhir.nhs.uk/Id/nhs-number" />
            <value value="9999999999" />
        </identifier>
    </subject>
    <dosageInstruction>
        <timing>
            <repeat>
                <frequency value="1" />
                <period value="4" />
                <periodUnit value="h" />
            </repeat>
        </timing>
        <route>
            <coding>
                <system value="http://snomed.info/sct" />
                <code value="37161004" />
                <display value="Rectal" />
            </coding>
        </route>
        <doseQuantity>
            <value value="600" />
            <unit value="milligram" />
            <system value="http://unitsofmeasure.org" />
            <code value="mg" />
        </doseQuantity>
        <maxDosePerPeriod>
            <numerator>
                <value value="3.6" />
                <unit value="gram" />
                <system value="http://unitsofmeasure.org" />
                <code value="g" />
            </numerator>
            <denominator>
                <value value="24" />
                <unit value="hour" />
                <system value="http://unitsofmeasure.org" />
                <code value="h" />
            </denominator>
        </maxDosePerPeriod>
    </dosageInstruction>
</MedicationRequest>
{
    "resourceType": "MedicationRequest",
    "id": "41dab799-fdbb-4a1e-bee2-a1a73dacac8d",
    "contained":  [
        {
            "resourceType": "Medication",
            "id": "med1",
            "code": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "7947003",
                        "display": "Aspirin"
                    }
                ]
            },
            "form": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "385194003",
                        "display": "suppository"
                    }
                ]
            }
        }
    ],
    "status": "active",
    "intent": "order",
    "medicationReference": {
        "reference": "#med1"
    },
    "subject": {
        "identifier": {
            "system": "https://fhir.nhs.uk/Id/nhs-number",
            "value": "9999999999"
        }
    },
    "dosageInstruction":  [
        {
            "timing": {
                "repeat": {
                    "frequency": 1,
                    "period": 4,
                    "periodUnit": "h"
                }
            },
            "route": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "37161004",
                        "display": "Rectal"
                    }
                ]
            },
            "doseQuantity": {
                "value": 600,
                "unit": "milligram",
                "system": "http://unitsofmeasure.org",
                "code": "mg"
            },
            "maxDosePerPeriod": {
                "numerator": {
                    "value": 3.6,
                    "unit": "gram",
                    "system": "http://unitsofmeasure.org",
                    "code": "g"
                },
                "denominator": {
                    "value": 24,
                    "unit": "hour",
                    "system": "http://unitsofmeasure.org",
                    "code": "h"
                }
            }
        }
    ]
}
MedicationRequest.id[0]41dab799-fdbb-4a1e-bee2-a1a73dacac8d
MedicationRequest.contained[0].id[0]med1
MedicationRequest.contained[0].code[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.contained[0].code[0].coding[0].code[0]7947003
MedicationRequest.contained[0].code[0].coding[0].display[0]Aspirin
MedicationRequest.contained[0].form[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.contained[0].form[0].coding[0].code[0]385194003
MedicationRequest.contained[0].form[0].coding[0].display[0]suppository
MedicationRequest.status[0]active
MedicationRequest.intent[0]order
MedicationRequest.medication[0].reference[0]#med1
MedicationRequest.subject[0].identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
MedicationRequest.subject[0].identifier[0].value[0]9999999999
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].frequency[0]1
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].period[0]4
MedicationRequest.dosageInstruction[0].timing[0].repeat[0].periodUnit[0]h
MedicationRequest.dosageInstruction[0].route[0].coding[0].system[0]http://snomed.info/sct
MedicationRequest.dosageInstruction[0].route[0].coding[0].code[0]37161004
MedicationRequest.dosageInstruction[0].route[0].coding[0].display[0]Rectal
MedicationRequest.dosageInstruction[0].dose[0].value[0]600
MedicationRequest.dosageInstruction[0].dose[0].unit[0]milligram
MedicationRequest.dosageInstruction[0].dose[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].dose[0].code[0]mg
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].numerator[0].value[0]3.6
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].numerator[0].unit[0]gram
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].numerator[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].numerator[0].code[0]g
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].denominator[0].value[0]24
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].denominator[0].unit[0]hour
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].denominator[0].system[0]http://unitsofmeasure.org
MedicationRequest.dosageInstruction[0].maxDosePerPeriod[0].denominator[0].code[0]h
MedicationRequest

back to top