Implementation guide for interoperable medicines

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

Self-Declared / Justin Thyme

Patient Journey: Justin Thyme

  1. Justin self-declares over-the-counter Paracetamol medication and this is recorded in the clinical system and can be shared with a shared medication record as a MedicationStatement.

Example #1: MedicationStatement

Note: Example validated against UKCore, dm+d and SNOMED-CT on 23 May 2025.
<Bundle xmlns="http://hl7.org/fhir">
<id value="921dacdd-3a3b-4649-ab03-f0b219486bc4" />
<type value="message" />
<timestamp value="2021-05-07T16:15:32+00:00" />
<fullUrl value="urn:message-header-167434" />
<MessageHeader>
<id value="urn:message-header-167434" />
<system value="https://fhir.hl7.org.uk//CodeSystem/message-event" />
<code value="medication-statement" />
<display value="Medication Statement" />
</eventCoding>
<name value="ACME Patient Facing Application" />
<software value="ACME PFA" />
<version value="1.2.00" />
<endpoint value="urn:nhs-uk:addressing:ods:U4S3A" />
</source>
<reference value="urn:medication-statement-123123124456" />
</focus>
</MessageHeader>
</resource>
</entry>
<fullUrl value="urn:patient-01020304" />
<Patient>
<id value="urn:patient-01020304" />
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="4857774567" />
</identifier>
<use value="official" />
<text value="Mr Justin Thyme" />
<family value="Thyme" />
<given value="Justin" />
<prefix value="Mr" />
</name>
<gender value="male" />
<birthDate value="1979-05-29" />
</Patient>
</resource>
</entry>
<fullUrl value="urn:medication-123123123" />
<Medication>
<id value="urn:medication-123123123" />
<system value="http://snomed.info/sct" />
<code value="777067000" />
<display value="Paracetamol" />
</coding>
</code>
</Medication>
</resource>
</entry>
<fullUrl value="urn:medication-statement-123123124456" />
<MedicationStatement>
<id value="urn:medication-statement-123123124456" />
<status value="active" />
<system value="http://hl7.org/fhir/medication-request-category" />
<code value="patientspecified" />
<display value="patientspecified" />
</coding>
</category>
<reference value="urn:medication-123123123" />
<display value="Paracetamol" />
</medicationReference>
<reference value="urn:patient-01020304" />
<display value="Mr Justin Thyme" />
</subject>
<frequency value="2" />
<period value="1" />
<periodUnit value="d" />
</repeat>
</timing>
<system value="http://snomed.info/sct" />
<code value="26643006" />
<display value="Oral" />
</coding>
</route>
<value value="500" />
<unit value="milligram" />
<system value="http://unitsofmeasure.org" />
<code value="mg" />
</doseQuantity>
</doseAndRate>
</dosage>
</MedicationStatement>
</resource>
</entry>
</Bundle>
{
"resourceType": "Bundle",
"id": "921dacdd-3a3b-4649-ab03-f0b219486bc4",
"type": "message",
"timestamp": "2021-05-07T16:15:32+00:00",
"entry": [
{
"fullUrl": "urn:message-header-167434",
"resourceType": "MessageHeader",
"id": "urn:message-header-167434",
"system": "https://fhir.hl7.org.uk//CodeSystem/message-event",
"code": "medication-statement",
"display": "Medication Statement"
},
"source": {
"name": "ACME Patient Facing Application",
"software": "ACME PFA",
"version": "1.2.00",
"endpoint": "urn:nhs-uk:addressing:ods:U4S3A"
},
"focus": [
{
"reference": "urn:medication-statement-123123124456"
}
]
}
},
{
"fullUrl": "urn:patient-01020304",
"resourceType": "Patient",
"id": "urn:patient-01020304",
{
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "4857774567"
}
],
"name": [
{
"use": "official",
"text": "Mr Justin Thyme",
"family": "Thyme",
"given": [
"Justin"
],
"prefix": [
"Mr"
]
}
],
"gender": "male",
"birthDate": "1979-05-29"
}
},
{
"fullUrl": "urn:medication-123123123",
"resourceType": "Medication",
"id": "urn:medication-123123123",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "777067000",
"display": "Paracetamol"
}
]
}
}
},
{
"fullUrl": "urn:medication-statement-123123124456",
"resourceType": "MedicationStatement",
"id": "urn:medication-statement-123123124456",
"status": "active",
"coding": [
{
"system": "http://hl7.org/fhir/medication-request-category",
"code": "patientspecified",
"display": "patientspecified"
}
]
},
"reference": "urn:medication-123123123",
"display": "Paracetamol"
},
"subject": {
"reference": "urn:patient-01020304",
"display": "Mr Justin Thyme"
},
"dosage": [
{
"timing": {
"repeat": {
"frequency": 2,
"period": 1,
"periodUnit": "d"
}
},
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "26643006",
"display": "Oral"
}
]
},
{
"value": 500,
"unit": "milligram",
"system": "http://unitsofmeasure.org",
"code": "mg"
}
}
]
}
]
}
}
]
}
Bundle.id[0]921dacdd-3a3b-4649-ab03-f0b219486bc4
Bundle.type[0]message
Bundle.timestamp[0]2021-05-07T16:15:32+00:00
Bundle.entry[0].fullUrl[0]urn:message-header-167434
Bundle.entry[0].resource[0].id[0]urn:message-header-167434
Bundle.entry[0].resource[0].event[0].system[0]https://fhir.hl7.org.uk//CodeSystem/message-event
Bundle.entry[0].resource[0].event[0].code[0]medication-statement
Bundle.entry[0].resource[0].event[0].display[0]Medication Statement
Bundle.entry[0].resource[0].source[0].name[0]ACME Patient Facing Application
Bundle.entry[0].resource[0].source[0].software[0]ACME PFA
Bundle.entry[0].resource[0].source[0].version[0]1.2.00
Bundle.entry[0].resource[0].source[0].endpoint[0]urn:nhs-uk:addressing:ods:U4S3A
Bundle.entry[0].resource[0].focus[0].reference[0]urn:medication-statement-123123124456
Bundle.entry[1].fullUrl[0]urn:patient-01020304
Bundle.entry[1].resource[0].id[0]urn:patient-01020304
Bundle.entry[1].resource[0].identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
Bundle.entry[1].resource[0].identifier[0].value[0]4857774567
Bundle.entry[1].resource[0].name[0].use[0]official
Bundle.entry[1].resource[0].name[0].text[0]Mr Justin Thyme
Bundle.entry[1].resource[0].name[0].family[0]Thyme
Bundle.entry[1].resource[0].name[0].given[0]Justin
Bundle.entry[1].resource[0].name[0].prefix[0]Mr
Bundle.entry[1].resource[0].gender[0]male
Bundle.entry[1].resource[0].birthDate[0]1979-05-29
Bundle.entry[2].fullUrl[0]urn:medication-123123123
Bundle.entry[2].resource[0].id[0]urn:medication-123123123
Bundle.entry[2].resource[0].code[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[2].resource[0].code[0].coding[0].code[0]777067000
Bundle.entry[2].resource[0].code[0].coding[0].display[0]Paracetamol
Bundle.entry[3].fullUrl[0]urn:medication-statement-123123124456
Bundle.entry[3].resource[0].id[0]urn:medication-statement-123123124456
Bundle.entry[3].resource[0].status[0]active
Bundle.entry[3].resource[0].category[0].coding[0].system[0]http://hl7.org/fhir/medication-request-category
Bundle.entry[3].resource[0].category[0].coding[0].code[0]patientspecified
Bundle.entry[3].resource[0].category[0].coding[0].display[0]patientspecified
Bundle.entry[3].resource[0].medication[0].reference[0]urn:medication-123123123
Bundle.entry[3].resource[0].medication[0].display[0]Paracetamol
Bundle.entry[3].resource[0].subject[0].reference[0]urn:patient-01020304
Bundle.entry[3].resource[0].subject[0].display[0]Mr Justin Thyme
Bundle.entry[3].resource[0].dosage[0].timing[0].repeat[0].frequency[0]2
Bundle.entry[3].resource[0].dosage[0].timing[0].repeat[0].period[0]1
Bundle.entry[3].resource[0].dosage[0].timing[0].repeat[0].periodUnit[0]d
Bundle.entry[3].resource[0].dosage[0].route[0].coding[0].system[0]http://snomed.info/sct
Bundle.entry[3].resource[0].dosage[0].route[0].coding[0].code[0]26643006
Bundle.entry[3].resource[0].dosage[0].route[0].coding[0].display[0]Oral
Bundle.entry[3].resource[0].dosage[0].doseAndRate[0].dose[0].value[0]500
Bundle.entry[3].resource[0].dosage[0].doseAndRate[0].dose[0].unit[0]milligram
Bundle.entry[3].resource[0].dosage[0].doseAndRate[0].dose[0].system[0]http://unitsofmeasure.org
Bundle.entry[3].resource[0].dosage[0].doseAndRate[0].dose[0].code[0]mg
Bundle
back to top