Please note: This guidance has been superseded by the Implementation guide for digitial medicines, which contains up-to-date information.
Scenario: Inpatient On Leave
Current inpatient Toby Lerone is going home for the weekend leave and is prescribed 3 days supply of Citalopram 20mg tablets one to be taken in the morning.
MedicationRequest
<Bundle xmlns="http://hl7.org/fhir"> <id value="c19fac1e-7fb8-4acb-87a8-9cf05cf90ec9" /> <type value="message" /> <!-- Message Header --> <entry> <fullUrl value="message-header-167434" /> <resource> <MessageHeader> <id value="message-header-167434" /> <text> <status value="generated" /> <div xmlns="http://www.w3.org/1999/xhtml"><p>The quick brown fox jumps over the lazy dog</p></div> </text> <event> <system value="https://fhir.nhs.uk/STU3/CodeSystem/EventType-1" /> <code value="individual-requirements-1" /> <display value="Individual Requirements" /> </event> <timestamp value="2021-05-07T16:15:32Z" /> <source> <endpoint value="nhs-uk:addressing:ods:T48NT" /> </source> <focus> <reference value="med-req-12312312" /> </focus> </MessageHeader> </resource> </entry> <!-- Patient associated with the encounter. --> <entry> <fullUrl value="patient-4738562854" /> <resource> <Patient> <id value="patient-4738562854" /> <identifier> <extension url="https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1"> <valueCodeableConcept> <coding> <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1" /> <code value="01" /> <display value="Number present and verified" /> </coding> </valueCodeableConcept> </extension> <system value="https://fhir.nhs.uk/Id/nhs-number" /> <value value="4738562854" /> </identifier> <name> <use value="official" /> <text value="Mr Toby Lerone" /> <family value="Lerone" /> <given value="Toby" /> <prefix value="Mr" /> </name> <gender value="male" /> <birthDate value="1973-02-20" /> </Patient> </resource> </entry> <!-- Prescribing clinician associated with the encounter. --> <entry> <fullUrl value="staff-0001" /> <resource> <Practitioner> <id value="staff-0001" /> <name> <text value="Dr S Quirrel" /> <family value="Quirrel" /> <given value="S" /> <prefix value="Dr" /> </name> <qualification> <code> <coding> <system value="https://fhir.hl7.org.uk/Id/gmc-number" /> <code value="2145879" /> <display value="General Medical Council" /> </coding> </code> </qualification> </Practitioner> </resource> </entry> <!-- Medication prescribed --> <entry> <fullUrl value="medication-27658006" /> <resource> <Medication> <id value="medication-27658006" /> <code> <coding> <system value="http://snomed.info/sct" /> <code value="321987003" /> <display value="Citalopram 20mg tablets" /> </coding> </code> </Medication> </resource> </entry> <!-- Medication Request --> <entry> <fullUrl value="med-req-12312312" /> <resource> <MedicationRequest> <id value="med-req-12312312" /> <status value="active" /> <intent value="order" /> <category> <coding> <system value="http://hl7.org/fhir/medication-request-category" /> <code value="leave" /> <display value="leave" /> </coding> </category> <medicationReference> <reference value="medication-321987003" /> <display value="Citalopram 20mg tablets" /> </medicationReference> <subject> <reference value="patient-4738562854" /> <display value="Mr Toby Lerone" /> </subject> <authoredOn value="2020-05-20T10:34:00+01:00" /> <requester> <agent> <reference value="staff-0001" /> <display value="Dr S Quirrel" /> </agent> </requester> <recorder> <reference value="staff-0001" /> <display value="Miss O Aktree" /> </recorder> <dosageInstruction> <timing> <repeat> <frequency value="1" /> <period value="1" /> <periodUnit value="d" /> <when value="MORN" /> </repeat> </timing> <route> <coding> <system value="http://snomed.info/sct" /> <code value="26643006" /> <display value="oral" /> </coding> </route> </dosageInstruction> <dispenseRequest> <quantity> <value value="3" /> <unit value="day" /> <system value="http://unitsofmeasure.org" /> <code value="d" /> </quantity> </dispenseRequest> <substitution> <allowed value="false" /> </substitution> </MedicationRequest> </resource> </entry> </Bundle>
{ "resourceType": "Bundle", "id": "c19fac1e-7fb8-4acb-87a8-9cf05cf90ec9", "type": "message", "entry": [ { "fullUrl": "message-header-167434", "resource": { "resourceType": "MessageHeader", "id": "message-header-167434", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>The quick brown fox jumps over the lazy dog</p></div>" }, "event": { "system": "https://fhir.nhs.uk/STU3/CodeSystem/EventType-1", "code": "individual-requirements-1", "display": "Individual Requirements" }, "timestamp": "2021-05-07T16:15:32+00:00", "source": { "endpoint": "nhs-uk:addressing:ods:T48NT" }, "focus": [ { "reference": "med-req-12312312" } ] } }, { "fullUrl": "patient-4738562854", "resource": { "resourceType": "Patient", "id": "patient-4738562854", "identifier": [ { "extension": [ { "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1", "valueCodeableConcept": { "coding": [ { "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1", "code": "01", "display": "Number present and verified" } ] } } ], "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "4738562854" } ], "name": [ { "use": "official", "text": "Mr Toby Lerone", "family": "Lerone", "given": [ "Toby" ], "prefix": [ "Mr" ] } ], "gender": "male", "birthDate": "1973-02-20" } }, { "fullUrl": "staff-0001", "resource": { "resourceType": "Practitioner", "id": "staff-0001", "name": [ { "text": "Dr S Quirrel", "family": "Quirrel", "given": [ "S" ], "prefix": [ "Dr" ] } ], "qualification": [ { "code": { "coding": [ { "system": "https://fhir.hl7.org.uk/Id/gmc-number", "code": "2145879", "display": "General Medical Council" } ] } } ] } }, { "fullUrl": "medication-27658006", "resource": { "resourceType": "Medication", "id": "medication-27658006", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "321987003", "display": "Citalopram 20mg tablets" } ] } } }, { "fullUrl": "med-req-12312312", "resource": { "resourceType": "MedicationRequest", "id": "med-req-12312312", "status": "active", "intent": "order", "category": { "coding": [ { "system": "http://hl7.org/fhir/medication-request-category", "code": "leave", "display": "leave" } ] }, "medicationReference": { "reference": "medication-321987003", "display": "Citalopram 20mg tablets" }, "subject": { "reference": "patient-4738562854", "display": "Mr Toby Lerone" }, "authoredOn": "2020-05-20T10:34:00+01:00", "requester": { "agent": { "reference": "staff-0001", "display": "Dr S Quirrel" } }, "recorder": { "reference": "staff-0001", "display": "Miss O Aktree" }, "dosageInstruction": [ { "timing": { "repeat": { "frequency": 1, "period": 1, "periodUnit": "d", "when": [ "MORN" ] } }, "route": { "coding": [ { "system": "http://snomed.info/sct", "code": "26643006", "display": "oral" } ] } } ], "dispenseRequest": { "quantity": { "value": 3, "unit": "day", "system": "http://unitsofmeasure.org", "code": "d" } }, "substitution": { "allowed": false } } } ] }
Bundle.id[0] | c19fac1e-7fb8-4acb-87a8-9cf05cf90ec9 |
Bundle.type[0] | message |
Bundle.entry[0].fullUrl[0] | message-header-167434 |
Bundle.entry[0].resource[0].id[0] | message-header-167434 |
Bundle.entry[0].resource[0].text[0].status[0] | generated |
Bundle.entry[0].resource[0].text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml"><p>The quick brown fox jumps over the lazy dog</p></div> |
Bundle.entry[0].resource[0].event[0].system[0] | https://fhir.nhs.uk/STU3/CodeSystem/EventType-1 |
Bundle.entry[0].resource[0].event[0].code[0] | individual-requirements-1 |
Bundle.entry[0].resource[0].event[0].display[0] | Individual Requirements |
Bundle.entry[0].resource[0].timestamp[0] | 2021-05-07T16:15:32+00:00 |
Bundle.entry[0].resource[0].source[0].endpoint[0] | nhs-uk:addressing:ods:T48NT |
Bundle.entry[0].resource[0].focus[0].reference[0] | med-req-12312312 |
Bundle.entry[1].fullUrl[0] | patient-4738562854 |
Bundle.entry[1].resource[0].id[0] | patient-4738562854 |
Bundle.entry[1].resource[0].identifier[0].extension[0].url[0] | https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].system[0] | https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].code[0] | 01 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].display[0] | Number present and verified |
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] | 4738562854 |
Bundle.entry[1].resource[0].name[0].use[0] | official |
Bundle.entry[1].resource[0].name[0].text[0] | Mr Toby Lerone |
Bundle.entry[1].resource[0].name[0].family[0] | Lerone |
Bundle.entry[1].resource[0].name[0].given[0] | Toby |
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] | 1973-02-20 |
Bundle.entry[2].fullUrl[0] | staff-0001 |
Bundle.entry[2].resource[0].id[0] | staff-0001 |
Bundle.entry[2].resource[0].name[0].text[0] | Dr S Quirrel |
Bundle.entry[2].resource[0].name[0].family[0] | Quirrel |
Bundle.entry[2].resource[0].name[0].given[0] | S |
Bundle.entry[2].resource[0].name[0].prefix[0] | Dr |
Bundle.entry[2].resource[0].qualification[0].code[0].coding[0].system[0] | https://fhir.hl7.org.uk/Id/gmc-number |
Bundle.entry[2].resource[0].qualification[0].code[0].coding[0].code[0] | 2145879 |
Bundle.entry[2].resource[0].qualification[0].code[0].coding[0].display[0] | General Medical Council |
Bundle.entry[3].fullUrl[0] | medication-27658006 |
Bundle.entry[3].resource[0].id[0] | medication-27658006 |
Bundle.entry[3].resource[0].code[0].coding[0].system[0] | http://snomed.info/sct |
Bundle.entry[3].resource[0].code[0].coding[0].code[0] | 321987003 |
Bundle.entry[3].resource[0].code[0].coding[0].display[0] | Citalopram 20mg tablets |
Bundle.entry[4].fullUrl[0] | med-req-12312312 |
Bundle.entry[4].resource[0].id[0] | med-req-12312312 |
Bundle.entry[4].resource[0].status[0] | active |
Bundle.entry[4].resource[0].intent[0] | order |
Bundle.entry[4].resource[0].category[0].coding[0].system[0] | http://hl7.org/fhir/medication-request-category |
Bundle.entry[4].resource[0].category[0].coding[0].code[0] | leave |
Bundle.entry[4].resource[0].category[0].coding[0].display[0] | leave |
Bundle.entry[4].resource[0].medication[0].reference[0] | medication-321987003 |
Bundle.entry[4].resource[0].medication[0].display[0] | Citalopram 20mg tablets |
Bundle.entry[4].resource[0].subject[0].reference[0] | patient-4738562854 |
Bundle.entry[4].resource[0].subject[0].display[0] | Mr Toby Lerone |
Bundle.entry[4].resource[0].authoredOn[0] | 2020-05-20T10:34:00+01:00 |
Bundle.entry[4].resource[0].requester[0].agent[0].reference[0] | staff-0001 |
Bundle.entry[4].resource[0].requester[0].agent[0].display[0] | Dr S Quirrel |
Bundle.entry[4].resource[0].recorder[0].reference[0] | staff-0001 |
Bundle.entry[4].resource[0].recorder[0].display[0] | Miss O Aktree |
Bundle.entry[4].resource[0].dosageInstruction[0].timing[0].repeat[0].frequency[0] | 1 |
Bundle.entry[4].resource[0].dosageInstruction[0].timing[0].repeat[0].period[0] | 1 |
Bundle.entry[4].resource[0].dosageInstruction[0].timing[0].repeat[0].periodUnit[0] | d |
Bundle.entry[4].resource[0].dosageInstruction[0].timing[0].repeat[0].when[0] | MORN |
Bundle.entry[4].resource[0].dosageInstruction[0].route[0].coding[0].system[0] | http://snomed.info/sct |
Bundle.entry[4].resource[0].dosageInstruction[0].route[0].coding[0].code[0] | 26643006 |
Bundle.entry[4].resource[0].dosageInstruction[0].route[0].coding[0].display[0] | oral |
Bundle.entry[4].resource[0].dispenseRequest[0].quantity[0].value[0] | 3 |
Bundle.entry[4].resource[0].dispenseRequest[0].quantity[0].unit[0] | day |
Bundle.entry[4].resource[0].dispenseRequest[0].quantity[0].system[0] | http://unitsofmeasure.org |
Bundle.entry[4].resource[0].dispenseRequest[0].quantity[0].code[0] | d |
Bundle.entry[4].resource[0].substitution[0].allowed[0] | False |
Bundle |
id : c19fac1e-7fb8-4acb-87a8-9cf05cf90ec9 |
type : message |
entry |
fullUrl : message-header-167434 |
resource |
id : message-header-167434 |
text |
status : generated |
event |
system : https://fhir.nhs.uk/STU3/CodeSystem/EventType-1 |
code : individual-requirements-1 |
display : Individual Requirements |
timestamp : 2021-05-07T16:15:32Z |
source |
endpoint : nhs-uk:addressing:ods:T48NT |
focus |
reference : med-req-12312312 |
entry |
fullUrl : patient-4738562854 |
resource |
id : patient-4738562854 |
identifier |
extension |
url : https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1 |
value |
coding |
system : https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1 |
code : 01 |
display : Number present and verified |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 4738562854 |
name |
use : official |
text : Mr Toby Lerone |
family : Lerone |
given : Toby |
prefix : Mr |
gender : male |
birthDate : 1973-02-20 |
entry |
fullUrl : staff-0001 |
resource |
id : staff-0001 |
name |
text : Dr S Quirrel |
family : Quirrel |
given : S |
prefix : Dr |
qualification |
code |
coding |
system : https://fhir.hl7.org.uk/Id/gmc-number |
code : 2145879 |
display : General Medical Council |
entry |
fullUrl : medication-27658006 |
resource |
id : medication-27658006 |
code |
coding |
system : http://snomed.info/sct |
code : 321987003 |
display : Citalopram 20mg tablets |
entry |
fullUrl : med-req-12312312 |
resource |
id : med-req-12312312 |
status : active |
intent : order |
category |
coding |
system : http://hl7.org/fhir/medication-request-category |
code : leave |
display : leave |
medication |
reference : medication-321987003 |
display : Citalopram 20mg tablets |
subject |
reference : patient-4738562854 |
display : Mr Toby Lerone |
authoredOn : 2020-05-20T10:34:00+01:00 |
requester |
agent |
reference : staff-0001 |
display : Dr S Quirrel |
recorder |
reference : staff-0001 |
display : Miss O Aktree |
dosageInstruction |
route |
coding |
system : http://snomed.info/sct |
code : 26643006 |
display : oral |
timing |
repeat |
frequency : 1 |
period : 1 |
periodUnit : d |
when : MORN |
dispenseRequest |
quantity |
value : 3 |
unit : day |
system : http://unitsofmeasure.org |
code : d |
substitution |
allowed : False |
MedicationDispense
Note: This example below is a draft and requires clinical verification.
<!-- This xml example is for illustrative purposes only and has not been clinically verified. --> <Bundle xmlns="http://hl7.org/fhir"> <id value="317590f8-ba1f-4583-a4e3-2c61cb2308a4" /> <type value="message" /> <!-- Message Header --> <entry> <fullUrl value="message-header-167434" /> <resource> <MessageHeader> <id value="message-header-167434" /> <text> <status value="generated" /> <div xmlns="http://www.w3.org/1999/xhtml"><p>The quick brown fox jumps over the lazy dog</p></div> </text> <event> <system value="https://fhir.nhs.uk/STU3/CodeSystem/EventType-1" /> <code value="individual-requirements-1" /> <display value="Individual Requirements" /> </event> <timestamp value="2021-05-07T16:15:32Z" /> <source> <endpoint value="nhs-uk:addressing:ods:T48NT" /> </source> <focus> <reference value="medication-disp-1231253" /> </focus> </MessageHeader> </resource> </entry> <!-- Patient associated with the encounter. --> <entry> <fullUrl value="patient-4738562854" /> <resource> <Patient> <id value="patient-4738562854" /> <identifier> <extension url="https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1"> <valueCodeableConcept> <coding> <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1" /> <code value="01" /> <display value="Number present and verified" /> </coding> </valueCodeableConcept> </extension> <system value="https://fhir.nhs.uk/Id/nhs-number" /> <value value="4738562854" /> </identifier> <name> <use value="official" /> <text value="Mr Toby Lerone" /> <family value="Lerone" /> <given value="Toby" /> <prefix value="Mr" /> </name> <gender value="male" /> <birthDate value="1973-02-20" /> </Patient> </resource> </entry> <!-- Performer associated with the encounter. --> <entry> <fullUrl value="staff-0002" /> <resource> <Practitioner> <id value="staff-0002" /> <name> <text value="Dr Allo Kate" /> <family value="Kate" /> <given value="Allo" /> <prefix value="Dr" /> </name> <qualification> <code> <coding> <system value="https://fhir.hl7.org.uk/Id/gpc-number" /> <code value="123543" /> <display value="General Pharmaceutical Council" /> </coding> </code> </qualification> </Practitioner> </resource> </entry> <!-- Medication prescribed --> <entry> <fullUrl value="medication-27658006" /> <resource> <Medication> <id value="medication-27658006" /> <code> <coding> <system value="http://snomed.info/sct" /> <code value="321987003" /> <display value="Citalopram 20mg tablets" /> </coding> </code> </Medication> </resource> </entry> <!-- Medication Dispense --> <entry> <fullUrl value="medication-disp-1231253" /> <resource> <MedicationDispense> <id value="medication-disp-1231253" /> <status value="in-progress" /> <category> <coding> <system value="http://hl7.org/fhir/medication-request-category" /> <code value="inpatient" /> <display value="inpatient" /> </coding> </category> <medicationReference> <reference value="medication-27658006" /> <display value="Citalopram 20mg tablets" /> </medicationReference> <subject> <reference value="patient-4738562854" /> <display value="Mr Toby Lerone" /> </subject> <performer> <actor> <reference value="staff-0002" /> <display value="Dr Allo Kate" /> </actor> </performer> <dosageInstruction> <timing> <repeat> <frequency value="1" /> <period value="1" /> <periodUnit value="d" /> </repeat> </timing> <route> <coding> <system value="http://snomed.info/sct" /> <code value="428673006" /> <display value="oral" /> </coding> </route> <doseQuantity> <value value="3" /> <unit value="tablet" /> <system value="http://snomed.info/sct" /> <code value="428641000" /> </doseQuantity> </dosageInstruction> </MedicationDispense> </resource> </entry> </Bundle>
{ "resourceType": "Bundle", "id": "317590f8-ba1f-4583-a4e3-2c61cb2308a4", "type": "message", "entry": [ { "fullUrl": "message-header-167434", "resource": { "resourceType": "MessageHeader", "id": "message-header-167434", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>The quick brown fox jumps over the lazy dog</p></div>" }, "event": { "system": "https://fhir.nhs.uk/STU3/CodeSystem/EventType-1", "code": "individual-requirements-1", "display": "Individual Requirements" }, "timestamp": "2021-05-07T16:15:32+00:00", "source": { "endpoint": "nhs-uk:addressing:ods:T48NT" }, "focus": [ { "reference": "medication-disp-1231253" } ] } }, { "fullUrl": "patient-4738562854", "resource": { "resourceType": "Patient", "id": "patient-4738562854", "identifier": [ { "extension": [ { "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1", "valueCodeableConcept": { "coding": [ { "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1", "code": "01", "display": "Number present and verified" } ] } } ], "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "4738562854" } ], "name": [ { "use": "official", "text": "Mr Toby Lerone", "family": "Lerone", "given": [ "Toby" ], "prefix": [ "Mr" ] } ], "gender": "male", "birthDate": "1973-02-20" } }, { "fullUrl": "staff-0002", "resource": { "resourceType": "Practitioner", "id": "staff-0002", "name": [ { "text": "Dr Allo Kate", "family": "Kate", "given": [ "Allo" ], "prefix": [ "Dr" ] } ], "qualification": [ { "code": { "coding": [ { "system": "https://fhir.hl7.org.uk/Id/gpc-number", "code": "123543", "display": "General Pharmaceutical Council" } ] } } ] } }, { "fullUrl": "medication-27658006", "resource": { "resourceType": "Medication", "id": "medication-27658006", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "321987003", "display": "Citalopram 20mg tablets" } ] } } }, { "fullUrl": "medication-disp-1231253", "resource": { "resourceType": "MedicationDispense", "id": "medication-disp-1231253", "status": "in-progress", "category": { "coding": [ { "system": "http://hl7.org/fhir/medication-request-category", "code": "inpatient", "display": "inpatient" } ] }, "medicationReference": { "reference": "medication-27658006", "display": "Citalopram 20mg tablets" }, "subject": { "reference": "patient-4738562854", "display": "Mr Toby Lerone" }, "performer": [ { "actor": { "reference": "staff-0002", "display": "Dr Allo Kate" } } ], "dosageInstruction": [ { "timing": { "repeat": { "frequency": 1, "period": 1, "periodUnit": "d" } }, "route": { "coding": [ { "system": "http://snomed.info/sct", "code": "428673006", "display": "oral" } ] }, "doseQuantity": { "value": 3, "unit": "tablet", "system": "http://snomed.info/sct", "code": "428641000" } } ] } } ] }
Bundle.id[0] | 317590f8-ba1f-4583-a4e3-2c61cb2308a4 |
Bundle.type[0] | message |
Bundle.entry[0].fullUrl[0] | message-header-167434 |
Bundle.entry[0].resource[0].id[0] | message-header-167434 |
Bundle.entry[0].resource[0].text[0].status[0] | generated |
Bundle.entry[0].resource[0].text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml"><p>The quick brown fox jumps over the lazy dog</p></div> |
Bundle.entry[0].resource[0].event[0].system[0] | https://fhir.nhs.uk/STU3/CodeSystem/EventType-1 |
Bundle.entry[0].resource[0].event[0].code[0] | individual-requirements-1 |
Bundle.entry[0].resource[0].event[0].display[0] | Individual Requirements |
Bundle.entry[0].resource[0].timestamp[0] | 2021-05-07T16:15:32+00:00 |
Bundle.entry[0].resource[0].source[0].endpoint[0] | nhs-uk:addressing:ods:T48NT |
Bundle.entry[0].resource[0].focus[0].reference[0] | medication-disp-1231253 |
Bundle.entry[1].fullUrl[0] | patient-4738562854 |
Bundle.entry[1].resource[0].id[0] | patient-4738562854 |
Bundle.entry[1].resource[0].identifier[0].extension[0].url[0] | https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].system[0] | https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].code[0] | 01 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].display[0] | Number present and verified |
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] | 4738562854 |
Bundle.entry[1].resource[0].name[0].use[0] | official |
Bundle.entry[1].resource[0].name[0].text[0] | Mr Toby Lerone |
Bundle.entry[1].resource[0].name[0].family[0] | Lerone |
Bundle.entry[1].resource[0].name[0].given[0] | Toby |
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] | 1973-02-20 |
Bundle.entry[2].fullUrl[0] | staff-0002 |
Bundle.entry[2].resource[0].id[0] | staff-0002 |
Bundle.entry[2].resource[0].name[0].text[0] | Dr Allo Kate |
Bundle.entry[2].resource[0].name[0].family[0] | Kate |
Bundle.entry[2].resource[0].name[0].given[0] | Allo |
Bundle.entry[2].resource[0].name[0].prefix[0] | Dr |
Bundle.entry[2].resource[0].qualification[0].code[0].coding[0].system[0] | https://fhir.hl7.org.uk/Id/gpc-number |
Bundle.entry[2].resource[0].qualification[0].code[0].coding[0].code[0] | 123543 |
Bundle.entry[2].resource[0].qualification[0].code[0].coding[0].display[0] | General Pharmaceutical Council |
Bundle.entry[3].fullUrl[0] | medication-27658006 |
Bundle.entry[3].resource[0].id[0] | medication-27658006 |
Bundle.entry[3].resource[0].code[0].coding[0].system[0] | http://snomed.info/sct |
Bundle.entry[3].resource[0].code[0].coding[0].code[0] | 321987003 |
Bundle.entry[3].resource[0].code[0].coding[0].display[0] | Citalopram 20mg tablets |
Bundle.entry[4].fullUrl[0] | medication-disp-1231253 |
Bundle.entry[4].resource[0].id[0] | medication-disp-1231253 |
Bundle.entry[4].resource[0].status[0] | in-progress |
Bundle.entry[4].resource[0].category[0].coding[0].system[0] | http://hl7.org/fhir/medication-request-category |
Bundle.entry[4].resource[0].category[0].coding[0].code[0] | inpatient |
Bundle.entry[4].resource[0].category[0].coding[0].display[0] | inpatient |
Bundle.entry[4].resource[0].medication[0].reference[0] | medication-27658006 |
Bundle.entry[4].resource[0].medication[0].display[0] | Citalopram 20mg tablets |
Bundle.entry[4].resource[0].subject[0].reference[0] | patient-4738562854 |
Bundle.entry[4].resource[0].subject[0].display[0] | Mr Toby Lerone |
Bundle.entry[4].resource[0].performer[0].actor[0].reference[0] | staff-0002 |
Bundle.entry[4].resource[0].performer[0].actor[0].display[0] | Dr Allo Kate |
Bundle.entry[4].resource[0].dosageInstruction[0].timing[0].repeat[0].frequency[0] | 1 |
Bundle.entry[4].resource[0].dosageInstruction[0].timing[0].repeat[0].period[0] | 1 |
Bundle.entry[4].resource[0].dosageInstruction[0].timing[0].repeat[0].periodUnit[0] | d |
Bundle.entry[4].resource[0].dosageInstruction[0].route[0].coding[0].system[0] | http://snomed.info/sct |
Bundle.entry[4].resource[0].dosageInstruction[0].route[0].coding[0].code[0] | 428673006 |
Bundle.entry[4].resource[0].dosageInstruction[0].route[0].coding[0].display[0] | oral |
Bundle.entry[4].resource[0].dosageInstruction[0].dose[0].value[0] | 3 |
Bundle.entry[4].resource[0].dosageInstruction[0].dose[0].unit[0] | tablet |
Bundle.entry[4].resource[0].dosageInstruction[0].dose[0].system[0] | http://snomed.info/sct |
Bundle.entry[4].resource[0].dosageInstruction[0].dose[0].code[0] | 428641000 |
Bundle |
id : 317590f8-ba1f-4583-a4e3-2c61cb2308a4 |
type : message |
entry |
fullUrl : message-header-167434 |
resource |
id : message-header-167434 |
text |
status : generated |
timestamp : 2021-05-07T16:15:32Z |
event |
system : https://fhir.nhs.uk/STU3/CodeSystem/EventType-1 |
code : individual-requirements-1 |
display : Individual Requirements |
source |
endpoint : nhs-uk:addressing:ods:T48NT |
focus |
reference : medication-disp-1231253 |
entry |
fullUrl : patient-4738562854 |
resource |
id : patient-4738562854 |
identifier |
extension |
url : https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1 |
value |
coding |
system : https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1 |
code : 01 |
display : Number present and verified |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 4738562854 |
name |
use : official |
text : Mr Toby Lerone |
family : Lerone |
given : Toby |
prefix : Mr |
gender : male |
birthDate : 1973-02-20 |
entry |
fullUrl : staff-0002 |
resource |
id : staff-0002 |
name |
text : Dr Allo Kate |
family : Kate |
given : Allo |
prefix : Dr |
qualification |
code |
coding |
system : https://fhir.hl7.org.uk/Id/gpc-number |
code : 123543 |
display : General Pharmaceutical Council |
entry |
fullUrl : medication-27658006 |
resource |
id : medication-27658006 |
code |
coding |
system : http://snomed.info/sct |
code : 321987003 |
display : Citalopram 20mg tablets |
entry |
fullUrl : medication-disp-1231253 |
resource |
id : medication-disp-1231253 |
status : in-progress |
category |
coding |
system : http://hl7.org/fhir/medication-request-category |
code : inpatient |
display : inpatient |
medication |
reference : medication-27658006 |
display : Citalopram 20mg tablets |
subject |
reference : patient-4738562854 |
display : Mr Toby Lerone |
performer |
actor |
reference : staff-0002 |
display : Dr Allo Kate |
dosageInstruction |
timing |
repeat |
frequency : 1 |
period : 1 |
periodUnit : d |
route |
coding |
system : http://snomed.info/sct |
code : 428673006 |
display : oral |
dose |
value : 3 |
unit : tablet |
system : http://snomed.info/sct |
code : 428641000 |
MedicationStatement
Note: This example below is a draft and requires clinical verification.
Important: The
MedicationStatement
resource does not currently have a category
of leave
.<!-- This xml example is for illustrative purposes only and has not been clinically verified. --> <Bundle xmlns="http://hl7.org/fhir"> <id value="bf133c0d-4da5-40c6-9843-6d5a1104b98a" /> <type value="message" /> <!-- Message Header --> <entry> <fullUrl value="message-header-167434" /> <resource> <MessageHeader> <id value="message-header-167434" /> <text> <status value="generated" /> <div xmlns="http://www.w3.org/1999/xhtml"><p>The quick brown fox jumps over the lazy dog</p></div> </text> <event> <system value="https://fhir.nhs.uk/STU3/CodeSystem/EventType-1" /> <code value="individual-requirements-1" /> <display value="Individual Requirements" /> </event> <timestamp value="2021-05-07T16:15:32Z" /> <source> <endpoint value="nhs-uk:addressing:ods:T48NT" /> </source> <focus> <reference value="medication-321987003" /> </focus> </MessageHeader> </resource> </entry> <!-- Patient associated with the encounter. --> <entry> <fullUrl value="patient-4738562854" /> <resource> <Patient> <id value="patient-4738562854" /> <identifier> <extension url="https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1"> <valueCodeableConcept> <coding> <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1" /> <code value="01" /> <display value="Number present and verified" /> </coding> </valueCodeableConcept> </extension> <system value="https://fhir.nhs.uk/Id/nhs-number" /> <value value="4738562854" /> </identifier> <name> <use value="official" /> <text value="Mr Toby Lerone" /> <family value="Lerone" /> <given value="Toby" /> <prefix value="Mr" /> </name> <gender value="male" /> <birthDate value="1973-02-20" /> </Patient> </resource> </entry> <!-- Medication --> <entry> <fullUrl value="medication-27658006" /> <resource> <Medication> <id value="medication-27658006" /> <code> <coding> <system value="http://snomed.info/sct" /> <code value="321987003" /> <display value="Citalopram 20mg tablets" /> </coding> </code> </Medication> </resource> </entry> <!-- Medication Statement --> <entry> <fullUrl value="med-statement-3504110000114329" /> <resource> <MedicationStatement> <id value="medication-statement-3504110000114329" /> <status value="active" /> <!-- Unknown - the MedicationStatement resource does not have a category for `leave` --> <!-- <category> <coding> <system value="http://hl7.org/fhir/medication-request-category" /> <code value="" /> <display value="" /> </coding> </category> --> <medicationReference> <reference value="medication-321987003" /> <display value="Citalopram 20mg tablets" /> </medicationReference> <subject> <reference value="patient-4738562854" /> <display value="Mr Toby Lerone" /> </subject> <taken value="unk" /> <dosage> <timing> <repeat> <frequency value="1" /> <period value="1" /> <periodUnit value="d" /> </repeat> </timing> <route> <coding> <system value="http://snomed.info/sct" /> <code value="26643006" /> <display value="oral" /> </coding> </route> <doseQuantity> <value value="3" /> <unit value="tablet" /> <system value="http://snomed.info/sct" /> <code value="428673006" /> </doseQuantity> </dosage> </MedicationStatement> </resource> </entry> </Bundle>
{ "resourceType": "Bundle", "id": "bf133c0d-4da5-40c6-9843-6d5a1104b98a", "type": "message", "entry": [ { "fullUrl": "message-header-167434", "resource": { "resourceType": "MessageHeader", "id": "message-header-167434", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>The quick brown fox jumps over the lazy dog</p></div>" }, "event": { "system": "https://fhir.nhs.uk/STU3/CodeSystem/EventType-1", "code": "individual-requirements-1", "display": "Individual Requirements" }, "timestamp": "2021-05-07T16:15:32+00:00", "source": { "endpoint": "nhs-uk:addressing:ods:T48NT" }, "focus": [ { "reference": "medication-321987003" } ] } }, { "fullUrl": "patient-4738562854", "resource": { "resourceType": "Patient", "id": "patient-4738562854", "identifier": [ { "extension": [ { "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1", "valueCodeableConcept": { "coding": [ { "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1", "code": "01", "display": "Number present and verified" } ] } } ], "system": "https://fhir.nhs.uk/Id/nhs-number", "value": "4738562854" } ], "name": [ { "use": "official", "text": "Mr Toby Lerone", "family": "Lerone", "given": [ "Toby" ], "prefix": [ "Mr" ] } ], "gender": "male", "birthDate": "1973-02-20" } }, { "fullUrl": "medication-27658006", "resource": { "resourceType": "Medication", "id": "medication-27658006", "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "321987003", "display": "Citalopram 20mg tablets" } ] } } }, { "fullUrl": "med-statement-3504110000114329", "resource": { "resourceType": "MedicationStatement", "id": "medication-statement-3504110000114329", "status": "active", "medicationReference": { "reference": "medication-321987003", "display": "Citalopram 20mg tablets" }, "subject": { "reference": "patient-4738562854", "display": "Mr Toby Lerone" }, "taken": "unk", "dosage": [ { "timing": { "repeat": { "frequency": 1, "period": 1, "periodUnit": "d" } }, "route": { "coding": [ { "system": "http://snomed.info/sct", "code": "26643006", "display": "oral" } ] }, "doseQuantity": { "value": 3, "unit": "tablet", "system": "http://snomed.info/sct", "code": "428673006" } } ] } } ] }
Bundle.id[0] | bf133c0d-4da5-40c6-9843-6d5a1104b98a |
Bundle.type[0] | message |
Bundle.entry[0].fullUrl[0] | message-header-167434 |
Bundle.entry[0].resource[0].id[0] | message-header-167434 |
Bundle.entry[0].resource[0].text[0].status[0] | generated |
Bundle.entry[0].resource[0].text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml"><p>The quick brown fox jumps over the lazy dog</p></div> |
Bundle.entry[0].resource[0].event[0].system[0] | https://fhir.nhs.uk/STU3/CodeSystem/EventType-1 |
Bundle.entry[0].resource[0].event[0].code[0] | individual-requirements-1 |
Bundle.entry[0].resource[0].event[0].display[0] | Individual Requirements |
Bundle.entry[0].resource[0].timestamp[0] | 2021-05-07T16:15:32+00:00 |
Bundle.entry[0].resource[0].source[0].endpoint[0] | nhs-uk:addressing:ods:T48NT |
Bundle.entry[0].resource[0].focus[0].reference[0] | medication-321987003 |
Bundle.entry[1].fullUrl[0] | patient-4738562854 |
Bundle.entry[1].resource[0].id[0] | patient-4738562854 |
Bundle.entry[1].resource[0].identifier[0].extension[0].url[0] | https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].system[0] | https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].code[0] | 01 |
Bundle.entry[1].resource[0].identifier[0].extension[0].value[0].coding[0].display[0] | Number present and verified |
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] | 4738562854 |
Bundle.entry[1].resource[0].name[0].use[0] | official |
Bundle.entry[1].resource[0].name[0].text[0] | Mr Toby Lerone |
Bundle.entry[1].resource[0].name[0].family[0] | Lerone |
Bundle.entry[1].resource[0].name[0].given[0] | Toby |
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] | 1973-02-20 |
Bundle.entry[2].fullUrl[0] | medication-27658006 |
Bundle.entry[2].resource[0].id[0] | medication-27658006 |
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] | 321987003 |
Bundle.entry[2].resource[0].code[0].coding[0].display[0] | Citalopram 20mg tablets |
Bundle.entry[3].fullUrl[0] | med-statement-3504110000114329 |
Bundle.entry[3].resource[0].id[0] | medication-statement-3504110000114329 |
Bundle.entry[3].resource[0].status[0] | active |
Bundle.entry[3].resource[0].medication[0].reference[0] | medication-321987003 |
Bundle.entry[3].resource[0].medication[0].display[0] | Citalopram 20mg tablets |
Bundle.entry[3].resource[0].subject[0].reference[0] | patient-4738562854 |
Bundle.entry[3].resource[0].subject[0].display[0] | Mr Toby Lerone |
Bundle.entry[3].resource[0].taken[0] | unk |
Bundle.entry[3].resource[0].dosage[0].timing[0].repeat[0].frequency[0] | 1 |
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].dose[0].value[0] | 3 |
Bundle.entry[3].resource[0].dosage[0].dose[0].unit[0] | tablet |
Bundle.entry[3].resource[0].dosage[0].dose[0].system[0] | http://snomed.info/sct |
Bundle.entry[3].resource[0].dosage[0].dose[0].code[0] | 428673006 |
Bundle |
id : bf133c0d-4da5-40c6-9843-6d5a1104b98a |
type : message |
entry |
fullUrl : message-header-167434 |
resource |
id : message-header-167434 |
text |
status : generated |
event |
system : https://fhir.nhs.uk/STU3/CodeSystem/EventType-1 |
code : individual-requirements-1 |
display : Individual Requirements |
timestamp : 2021-05-07T16:15:32Z |
source |
endpoint : nhs-uk:addressing:ods:T48NT |
focus |
reference : medication-321987003 |
entry |
fullUrl : patient-4738562854 |
resource |
id : patient-4738562854 |
identifier |
extension |
url : https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1 |
value |
coding |
system : https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1 |
code : 01 |
display : Number present and verified |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 4738562854 |
name |
use : official |
text : Mr Toby Lerone |
family : Lerone |
given : Toby |
prefix : Mr |
gender : male |
birthDate : 1973-02-20 |
entry |
fullUrl : medication-27658006 |
resource |
id : medication-27658006 |
code |
coding |
system : http://snomed.info/sct |
code : 321987003 |
display : Citalopram 20mg tablets |
entry |
fullUrl : med-statement-3504110000114329 |
resource |
id : medication-statement-3504110000114329 |
status : active |
medication |
reference : medication-321987003 |
display : Citalopram 20mg tablets |
subject |
reference : patient-4738562854 |
display : Mr Toby Lerone |
dosage |
timing |
repeat |
frequency : 1 |
period : 1 |
periodUnit : d |
route |
coding |
system : http://snomed.info/sct |
code : 26643006 |
display : oral |
dose |
value : 3 |
unit : tablet |
system : http://snomed.info/sct |
code : 428673006 |
taken : unk |