Message prescription-order-response
- Prescription Order Homecare Response homecare order cancellation response example.
- Prescription Order Homecase Subsequent Response Subsequent message received after the prescription was returned unissued by pharmacist.
Prescription Order Homecare Response
Response to an update message. In this example this is the repsonse to the cancellation of a homecare prescription Prescription Order Homecare Update The Medication is not cancelled as the prescription is with the dispenser.
Command 'json' could not render: File not found for 'subject=Bundle-homecare-response'
Command 'xml' could not render: File not found for 'subject=Bundle-homecare-response'
Command 'tree' could not render: File not found for 'subject=Bundle-homecare-response'
Prescription Order Homecase Subsequent Response
Response to an update message. In this example this is the subsequent repsonse to the cancellation of a homecare prescription Prescription Order Homecare Update
Command 'json' could not render: File not found for 'subject=Bundle-homecare-subsequent-response'
Command 'xml' could not render: File not found for 'subject=Bundle-homecare-subsequent-response'
Command 'tree' could not render: File not found for 'subject=Bundle-homecare-subsequent-response'
Prescription Order Outpatient Response
Response to an update message. In this example this is the repsonse to the cancellation of a outpatient prescription
Command 'pagelink' could not render: Page not found.
The Medication is not cancelled as the prescription is with the dispenser.
{
},
{
},
},
},
{
},
{
}
]
}
},
{
{
{
}
}
]
},
{
}
},
{
}
},
{
{
},
{
}
}
],
}
],
{
}
],
{
}
]
},
{
{
}
]
}
],
{
}
]
},
},
},
{
}
}
],
},
{
}
]
},
{
},
{
}
}
]
}
],
{
}
}
],
},
}
},
}
}
},
{
],
],
],
]
}
},
{
{
},
{
}
],
},
},
},
},
{
{
}
]
}
],
{
]
}
],
{
},
}
],
{
},
}
],
]
}
},
{
},
{
},
{
}
}
],
},
},
{
}
}
]
}
},
{
},
{
},
{
}
]
}
},
{
],
},
},
},
},
{
{
}
]
}
],
{
},
}
],
]
}
}
]
}
</identifier>
<MessageHeader>
</eventCoding>
</source>
</response>
</focus>
</focus>
</MessageHeader>
</resource>
</entry>
<MedicationRequest>
</valueCoding>
</extension>
</extension>
</valueCoding>
</extension>
</valueReference>
</extension>
</extension>
</valueCoding>
</extension>
</extension>
</identifier>
</coding>
</statusReason>
</coding>
</category>
</coding>
</medicationCodeableConcept>
</subject>
</requester>
</valueIdentifier>
</extension>
</groupIdentifier>
</coding>
</courseOfTherapyType>
</timing>
</doseQuantity>
</doseAndRate>
</dosageInstruction>
</valueCoding>
</extension>
</quantity>
</identifier>
</performer>
</dispenseRequest>
</substitution>
</MedicationRequest>
</resource>
</entry>
<Patient>
</identifier>
</name>
</address>
</identifier>
</generalPractitioner>
</Patient>
</resource>
</entry>
<PractitionerRole>
</identifier>
</identifier>
</identifier>
</practitioner>
</identifier>
</organization>
</coding>
</code>
</coding>
</specialty>
</identifier>
</location>
</identifier>
</healthcareService>
</telecom>
</PractitionerRole>
</resource>
</entry>
<CommunicationRequest>
</subject>
</payload>
</contentReference>
</payload>
</identifier>
</requester>
</identifier>
</recipient>
</CommunicationRequest>
</resource>
</entry>
<List>
</subject>
</entry>
</entry>
</List>
</resource>
</entry>
<PractitionerRole>
</identifier>
</identifier>
</practitioner>
</identifier>
</organization>
</coding>
</code>
</identifier>
</healthcareService>
</telecom>
</PractitionerRole>
</resource>
</entry>
</Bundle>
Bundle |
id : 3a40be3c-4566-4f45-9b45-c17ea0e7f51d |
identifier |
system : https://tools.ietf.org/html/rfc4122 |
value : 3a40be3c-4566-4f45-9b45-c17ea0e7f51d |
type : message |
entry |
fullUrl : urn:uuid:3599c0e9-9292-413e-9270-9a1ef1ead99c |
resource |
event |
system : https://fhir.nhs.uk/CodeSystem/message-event |
code : prescription-order-response |
display : Prescription Order Response |
response |
identifier : 5a8079ae-e430-41ff-89fa-14db08969a19 |
code : ok |
source |
endpoint : https://sandbox.api.service.nhs.uk/electronic-prescriptions/$process-message |
focus |
reference : urn:uuid:a7b86f8d-1d7c-fc28-e050-d20ae3a215f4 |
focus |
reference : urn:uuid:51793ac0-112f-46c7-a891-9af8cefb206e |
entry |
fullUrl : urn:uuid:a7b86f8d-1d7c-fc28-e050-d20ae3a215f4 |
resource |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionStatusHistory |
extension |
url : status |
value |
system : https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history |
code : R-0002 |
display : Prescription/item was not cancelled – With dispenser |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType |
value |
system : https://fhir.nhs.uk/CodeSystem/prescription-type |
code : 1001 |
display : Outpatient Community Prescriber - Medical Prescriber |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-ResponsiblePractitioner |
value |
reference : urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca645 |
extension |
extension |
url : quantityWords |
value : twenty eight |
extension |
url : schedule |
value |
system : https://fhir.nhs.uk/CodeSystem/medicationrequest-controlled-drug |
code : CD2 |
display : Schedule 2 |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-ControlledDrug |
identifier |
system : https://fhir.nhs.uk/Id/prescription-order-item-number |
value : A7B86F8D-1D7C-FC28-E050-D20AE3A215F0 |
status : cancelled |
statusReason |
coding |
system : https://fhir.nhs.uk/CodeSystem/medicationrequest-status-reason |
code : 0001 |
display : Prescribing Error |
intent : order |
category |
coding |
system : http://terminology.hl7.org/CodeSystem/medicationrequest-category |
code : outpatient |
display : Outpatient |
medication |
coding |
system : http://snomed.info/sct |
code : 36126511000001106 |
display : Morphine 10mg modified-release tablets |
subject |
reference : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
authoredOn : 2019-12-30T12:00:00+00:00 |
requester |
reference : urn:uuid:63aa76ee-4b0d-41d8-97d5-fe86a134736b |
groupIdentifier |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId |
value |
system : https://fhir.nhs.uk/Id/prescription |
value : A7B86F8D-1CF8-FC28-E050-D20AE3A215F0 |
system : https://fhir.nhs.uk/Id/prescription-order-number |
value : 3C2366-B81001-0A409U |
courseOfTherapyType |
coding |
system : http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy |
code : acute |
display : Short course (acute) therapy |
dosageInstruction |
text : 1 tablet, daily |
timing |
repeat |
period : 1 |
periodUnit : d |
doseAndRate |
dose |
value : 1 |
unit : tablet |
system : http://snomed.info/sct |
code : 428673006 |
dispenseRequest |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType |
value |
system : https://fhir.nhs.uk/CodeSystem/dispensing-site-preference |
code : 0004 |
quantity |
value : 28 |
unit : tablet |
system : http://snomed.info/sct |
code : 428673006 |
performer |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : FX748 |
substitution |
allowed : False |
entry |
fullUrl : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
resource |
identifier |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 9453740519 |
name |
use : official |
family : CORY |
given : ETTA |
prefix : MISS |
gender : female |
birthDate : 1999-01-04 |
address |
use : home |
postalCode : DE21 4QH |
generalPractitioner |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : B81001 |
entry |
fullUrl : urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca645 |
resource |
identifier |
system : https://fhir.nhs.uk/Id/sds-role-profile-id |
value : 100102238986 |
identifier |
system : https://fhir.hl7.org.uk/Id/nhsbsa-spurious-code |
value : G7345213 |
practitioner |
identifier |
system : https://fhir.hl7.org.uk/Id/gmc-number |
value : C1234567 |
display : DR RAZIA ALI |
organization |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA |
display : TAUNTON AND SOMERSET NHS FOUNDATION TRUST |
specialty |
coding |
system : https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode |
code : 100 |
display : GENERAL MEDICINE |
code |
coding |
system : https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName |
code : R8000 |
location |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA11 |
display : MUSGROVE PARK HOSPITAL |
healthcareService |
identifier |
use : official |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : A99968 |
display : SOMERSET BOWEL CANCER SCREENING CENTRE |
telecom |
system : phone |
value : 01234567890 |
use : work |
entry |
fullUrl : urn:uuid:51793ac0-112f-46c7-a891-9af8cefb206e |
resource |
status : unknown |
subject |
reference : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
payload |
content : Please make an appointment to see your GP. Review date due |
payload |
content |
reference : urn:uuid:d0f003a0-8763-43d5-a264-ce52a38901c9 |
display : List of Repeat Medications for re-ordering |
requester |
type : Organization |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA |
display : TAUNTON AND SOMERSET NHS FOUNDATION TRUST |
recipient |
type : Patient |
identifier |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 9453740519 |
entry |
fullUrl : urn:uuid:d0f003a0-8763-43d5-a264-ce52a38901c9 |
resource |
status : current |
mode : snapshot |
subject |
reference : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
entry |
item |
display : Bendroflumethiazide 2.5 mg Tablets (3/6) |
entry |
item |
display : Salbutamol 100micrograms/dose inhaler CFC free 200 dose (2/6) |
entry |
fullUrl : urn:uuid:63aa76ee-4b0d-41d8-97d5-fe86a134736b |
resource |
identifier |
system : https://fhir.nhs.uk/Id/sds-role-profile-id |
value : 223891001086 |
practitioner |
identifier |
system : https://fhir.nhs.uk/Id/sds-user-id |
value : 8703415201 |
display : Dr Liz Scott |
organization |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA |
display : TAUNTON AND SOMERSET NHS FOUNDATION TRUST |
code |
coding |
system : https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName |
code : R1720 |
display : Clerical Worker |
healthcareService |
identifier |
use : official |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : A99968 |
display : SOMERSET BOWEL CANCER SCREENING CENTRE |
telecom |
system : phone |
value : 01234567890 |
use : work |
Prescription Order Outpatient Subsequent Response
Response to an update message. In this example this is the subsequent repsonse to the cancellation of a outpatient prescription
Command 'pagelink' could not render: Page not found.
This response is sent after the prescription is returned to EPS by the dispenser.
{
},
{
},
},
{
},
{
}
]
}
},
{
{
{
}
}
]
},
{
}
},
{
}
},
{
{
},
{
}
}
],
}
],
{
}
],
{
}
]
},
{
{
}
]
}
],
{
}
]
},
},
},
{
}
}
],
},
{
}
]
},
{
},
{
}
}
]
}
],
{
}
}
],
},
}
},
}
}
},
{
],
],
],
]
}
},
{
{
},
{
}
],
},
},
},
},
{
{
}
]
}
],
{
]
}
],
{
},
}
],
{
},
}
],
]
}
},
{
},
{
},
{
}
}
],
},
},
{
}
}
]
}
},
{
},
{
},
{
}
]
}
},
{
],
},
},
},
},
{
{
}
]
}
],
{
},
}
],
]
}
}
]
}
</identifier>
<MessageHeader>
</eventCoding>
</source>
</focus>
</focus>
</MessageHeader>
</resource>
</entry>
<MedicationRequest>
</valueCoding>
</extension>
</extension>
</valueCoding>
</extension>
</valueReference>
</extension>
</extension>
</valueCoding>
</extension>
</extension>
</identifier>
</coding>
</statusReason>
</coding>
</category>
</coding>
</medicationCodeableConcept>
</subject>
</requester>
</valueIdentifier>
</extension>
</groupIdentifier>
</coding>
</courseOfTherapyType>
</timing>
</doseQuantity>
</doseAndRate>
</dosageInstruction>
</valueCoding>
</extension>
</quantity>
</identifier>
</performer>
</dispenseRequest>
</substitution>
</MedicationRequest>
</resource>
</entry>
<Patient>
</identifier>
</name>
</address>
</identifier>
</generalPractitioner>
</Patient>
</resource>
</entry>
<PractitionerRole>
</identifier>
</identifier>
</identifier>
</practitioner>
</identifier>
</organization>
</coding>
</code>
</coding>
</specialty>
</identifier>
</location>
</identifier>
</healthcareService>
</telecom>
</PractitionerRole>
</resource>
</entry>
<CommunicationRequest>
</subject>
</payload>
</contentReference>
</payload>
</identifier>
</requester>
</identifier>
</recipient>
</CommunicationRequest>
</resource>
</entry>
<List>
</subject>
</entry>
</entry>
</List>
</resource>
</entry>
<PractitionerRole>
</identifier>
</identifier>
</practitioner>
</identifier>
</organization>
</coding>
</code>
</identifier>
</healthcareService>
</telecom>
</PractitionerRole>
</resource>
</entry>
</Bundle>
Bundle |
id : 42b94e14-8240-40fd-b32a-359be0dd3c57 |
identifier |
system : https://tools.ietf.org/html/rfc4122 |
value : 42b94e14-8240-40fd-b32a-359be0dd3c57 |
type : message |
entry |
fullUrl : urn:uuid:3599c0e9-9292-413e-9270-9a1ef1ead99c |
resource |
event |
system : https://fhir.nhs.uk/CodeSystem/message-event |
code : prescription-order-response |
display : Prescription Order Response |
source |
endpoint : https://sandbox.api.service.nhs.uk/electronic-prescriptions/$process-message |
focus |
reference : urn:uuid:a7b86f8d-1d7c-fc28-e050-d20ae3a215f4 |
focus |
reference : urn:uuid:51793ac0-112f-46c7-a891-9af8cefb206e |
entry |
fullUrl : urn:uuid:a7b86f8d-1d7c-fc28-e050-d20ae3a215f4 |
resource |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionStatusHistory |
extension |
url : status |
value |
system : https://fhir.nhs.uk/CodeSystem/medicationrequest-status-history |
code : R-0001 |
display : Prescription/item was cancelled |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionType |
value |
system : https://fhir.nhs.uk/CodeSystem/prescription-type |
code : 1001 |
display : Outpatient Community Prescriber - Medical Prescriber |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-ResponsiblePractitioner |
value |
reference : urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca645 |
extension |
extension |
url : quantityWords |
value : twenty eight |
extension |
url : schedule |
value |
system : https://fhir.nhs.uk/CodeSystem/medicationrequest-controlled-drug |
code : CD2 |
display : Schedule 2 |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-ControlledDrug |
identifier |
system : https://fhir.nhs.uk/Id/prescription-order-item-number |
value : A7B86F8D-1D7C-FC28-E050-D20AE3A215F0 |
status : cancelled |
statusReason |
coding |
system : https://fhir.nhs.uk/CodeSystem/medicationrequest-status-reason |
code : 0001 |
display : Prescribing Error |
intent : order |
category |
coding |
system : http://terminology.hl7.org/CodeSystem/medicationrequest-category |
code : outpatient |
display : Outpatient |
medication |
coding |
system : http://snomed.info/sct |
code : 36126511000001106 |
display : Morphine 10mg modified-release tablets |
subject |
reference : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
authoredOn : 2019-12-30T12:00:00+00:00 |
requester |
reference : urn:uuid:63aa76ee-4b0d-41d8-97d5-fe86a134736b |
groupIdentifier |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PrescriptionId |
value |
system : https://fhir.nhs.uk/Id/prescription |
value : A7B86F8D-1CF8-FC28-E050-D20AE3A215F0 |
system : https://fhir.nhs.uk/Id/prescription-order-number |
value : 3C2366-B81001-0A409U |
courseOfTherapyType |
coding |
system : http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy |
code : acute |
display : Short course (acute) therapy |
dosageInstruction |
text : 1 tablet, daily |
timing |
repeat |
period : 1 |
periodUnit : d |
doseAndRate |
dose |
value : 1 |
unit : tablet |
system : http://snomed.info/sct |
code : 428673006 |
dispenseRequest |
extension |
url : https://fhir.nhs.uk/StructureDefinition/Extension-DM-PerformerSiteType |
value |
system : https://fhir.nhs.uk/CodeSystem/dispensing-site-preference |
code : 0004 |
quantity |
value : 28 |
unit : tablet |
system : http://snomed.info/sct |
code : 428673006 |
performer |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : FX748 |
substitution |
allowed : False |
entry |
fullUrl : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
resource |
identifier |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 9453740519 |
name |
use : official |
family : CORY |
given : ETTA |
prefix : MISS |
gender : female |
birthDate : 1999-01-04 |
address |
use : home |
postalCode : DE21 4QH |
generalPractitioner |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : B81001 |
entry |
fullUrl : urn:uuid:56166769-c1c4-4d07-afa8-132b5dfca645 |
resource |
identifier |
system : https://fhir.nhs.uk/Id/sds-role-profile-id |
value : 100102238986 |
identifier |
system : https://fhir.hl7.org.uk/Id/nhsbsa-spurious-code |
value : G7345213 |
practitioner |
identifier |
system : https://fhir.hl7.org.uk/Id/gmc-number |
value : C1234567 |
display : DR RAZIA ALI |
organization |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA |
display : TAUNTON AND SOMERSET NHS FOUNDATION TRUST |
specialty |
coding |
system : https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode |
code : 100 |
display : GENERAL MEDICINE |
code |
coding |
system : https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName |
code : R8000 |
location |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA11 |
display : MUSGROVE PARK HOSPITAL |
healthcareService |
identifier |
use : official |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : A99968 |
display : SOMERSET BOWEL CANCER SCREENING CENTRE |
telecom |
system : phone |
value : 01234567890 |
use : work |
entry |
fullUrl : urn:uuid:51793ac0-112f-46c7-a891-9af8cefb206e |
resource |
status : unknown |
subject |
reference : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
payload |
content : Please make an appointment to see your GP. Review date due |
payload |
content |
reference : urn:uuid:d0f003a0-8763-43d5-a264-ce52a38901c9 |
display : List of Repeat Medications for re-ordering |
requester |
type : Organization |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA |
display : TAUNTON AND SOMERSET NHS FOUNDATION TRUST |
recipient |
type : Patient |
identifier |
system : https://fhir.nhs.uk/Id/nhs-number |
value : 9453740519 |
entry |
fullUrl : urn:uuid:d0f003a0-8763-43d5-a264-ce52a38901c9 |
resource |
status : current |
mode : snapshot |
subject |
reference : urn:uuid:848d8470-bd51-494e-9347-8142ea75cb23 |
entry |
item |
display : Bendroflumethiazide 2.5 mg Tablets (3/6) |
entry |
item |
display : Salbutamol 100micrograms/dose inhaler CFC free 200 dose (2/6) |
entry |
fullUrl : urn:uuid:63aa76ee-4b0d-41d8-97d5-fe86a134736b |
resource |
identifier |
system : https://fhir.nhs.uk/Id/sds-role-profile-id |
value : 223891001086 |
practitioner |
identifier |
system : https://fhir.nhs.uk/Id/sds-user-id |
value : 8703415201 |
display : Dr Liz Scott |
organization |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : RBA |
display : TAUNTON AND SOMERSET NHS FOUNDATION TRUST |
code |
coding |
system : https://fhir.hl7.org.uk/CodeSystem/UKCore-SDSJobRoleName |
code : R1720 |
display : Clerical Worker |
healthcareService |
identifier |
use : official |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : A99968 |
display : SOMERSET BOWEL CANCER SCREENING CENTRE |
telecom |
system : phone |
value : 01234567890 |
use : work |