Design overview
When a patient completes an online consultation it is necessary for information from that online consultation to be sent to the appropriate care provider, such as the patient’s registered GP practice or a community pharmacy. This ensures the information is available to the care provider to give appropriate care to the patient.
This specification outlines how to send data between an online consultation and a community pharmacy.
Online Consultation
Patient survey
This use case comprises the following steps:
- The patient completes the online consultation, in this case a patient survey (this can be initiated by the patient or requested by the patient’s GP).
- The Online Consultation (OC) system triages the online consultation based on the content of the consultation and either sends the message to the patient’s registered GP practice or to an alternative care provider - for example, a community pharmacy.
- The OC system sends the message (containing a PDF of the online consultation) to the care provider.
- The care provider receives the message and takes the appropriate action.
Admin items
This use case comprises the following steps:
- The patient completes the online consultation - in this case, a patient wishes to inform their GP that they have a certain type of family medical history.
- The Online Consultation (OC) system triages the online consultation based on the content of the consultation and sends the message to the patient’s registered GP practice.
- The OC system sends the message (containing a PDF of the online consultation) to the patient’s registered GP practice.
- The patient’s registered GP practice receives the message and takes the appropriate action.
Online Consultation Report sent to a GP Practice
The following diagram illustrates how a message can flow between the sending (originating) system and the receiving care provider via MESH to fulfil this use case:
The diagram above depicts a successful message flow where the receiving care provider (in this example, a GP) validates the message successfully and consumes. This involves the following steps:
-
MESH Address Lookup
- After the online consultation is complete, the OC system initiates a MESH Address Lookup request for the patient’s registered GP practice.
- The OC system receives a response containing the MESH mailbox ID for the patient’s registered GP practice.
-
Online Consultation Report message
- A trigger at the OC system results in a FHIR Message being constructed which includes a PDF describing the online consultation (as a minimum).
- The MESH API Send Message function is used to send the message to the mailbox acquired in step 1.
- The MESH server places the message in the GP practice’s MESH mailbox awaiting collection.
- The GP practice uses the MESH API Download Message function to retrieve the message from the MESH mailbox.
- The message is processed at the GP practice.
-
Infrastructure acknowledgement ITK Response
- When the Online Consultation Report message is passed from MESH for processing at the GP practice, the message is first validated to ensure that its structure is correct. An ITK3 Response message is generated which indicates the success of message processing at a technical level - this is known as an “infrastructure acknowledgement”.
- The GP practice uses the MESH API Send Message function to send the acknowledgement message to the MESH server where it awaits collection by the OC system.
- The OC system uses the MESH API Download Message function to collect the acknowledgement message. The ITK Response is then available to the OC system components for onward processing.
- The acknowledgement message is processed as appropriate by the OC system.
-
Business acknowledgement ITK Response
- When the Online Consultation Report message is passed from MESH for processing at the GP practice, after successful message validation, the subject of the message contents are landed in the workflow of the GP practice. An ITK3 Response message is generated which indicates the success of consuming the message - this is known as a “business acknowledgement”.
- The GP practice uses the MESH API Send Message function to send the acknowledgement message to the MESH server where it awaits collection by the OC system.
- The OC system uses the MESH API Download Message function to collect the acknowledgement message. The ITK Response is then available to the OC system components for onward processing.
- The acknowledgement message is processed as appropriate by the OC system.
Online Consultation Report sent to an alternative care provider
The following diagram illustrates how a message can flow between the sending (originating) system and the receiving care provider via MESH to fulfil this use case:
The diagram above depicts a successful message flow where the receiving care provider (in this example, a community pharmacy) validates the message successfully and consumes. This involves the following steps:
-
MESH Address Lookup
- After the online consultation is complete, the OC system initiates a MESH Address Lookup request for the receiving community pharmacy.
- The OC system receives a response containing the MESH mailbox ID for the requested community pharmacy.
- The OC system initiates a MESH Address Lookup request for the patient’s registered GP practice.
- The OC system receives a response containing the MESH mailbox ID for the patient’s registered GP practice.
-
Online Consultation Report message
- A trigger at the OC system results in a FHIR Message being constructed labelled “For Action”, which includes a PDF describing the online consultation (as a minimum).
- The MESH API Send Message function is used to send the message to the mailbox acquired in step 1.b.
- The MESH server places the message in the community pharmacy’s MESH mailbox awaiting collection.
- The community pharmacy uses the MESH API Download Message function to retrieve the message from the MESH mailbox.
- The message is processed at the community pharmacy.
-
Infrastructure acknowledgement ITK Response
- When the Online Consultation Report message is passed from MESH for processing at the community pharmacy, the message is first validated to ensure that its structure is correct. An ITK3 Response message is generated which indicates the success of message processing at a technical level - this is known as an “infrastructure acknowledgement”.
- The community pharmacy uses the MESH API Send Message function to send the acknowledgement message to the MESH server where it awaits collection by the OC system.
- The OC system uses the MESH API Download Message function to collect the acknowledgement message. The ITK Response is then available to the OC system components for onward processing.
- The acknowledgement message is processed as appropriate by the OC system.
-
Business acknowledgement ITK Response
- When the Online Consultation Report message is passed from MESH for processing at the community pharmacy, after successful message validation, the subject of the message contents are landed in the workflow of the GP practice. An ITK3 Response message is generated which indicates the success of consuming the message - this is known as a “business acknowledgement”.
- The community pharmacy uses the MESH API Send Message function to send the acknowledgement message to the MESH server where it awaits collection by the OC system.
- The OC system uses the MESH API Download Message function to collect the acknowledgement message. The ITK Response is then available to the OC system components for onward processing.
- The acknowledgement message is processed as appropriate by the OC system.
-
Copy Online Consultation Report message
- A trigger at the OC system results in a FHIR Message being constructed labelled “For Information” which includes a PDF describing the online consultation (as a minimum).
- The MESH API Send Message function is used to send the message to the mailbox acquired in step 1.d.
- The MESH server places the message in the GP practice’s MESH mailbox awaiting collection.
- The GP practice uses the MESH API Download Message function to retrieve the message from the MESH mailbox.
- The message is saved at the GP practice.
-
Infrastructure acknowledgement ITK Response
- When the Online Consultation Report message is passed from MESH for processing at the GP practice, the message is first validated to ensure that its structure is correct. An ITK3 Response message is generated which indicates the success of message processing at a technical level - this is known as an “infrastructure acknowledgement”.
- The GP practice uses the MESH API Send Message function to send the acknowledgement message to the MESH server where it awaits collection by the OC system.
- The OC system uses the MESH API Download Message function to collect the acknowledgement message. The ITK Response is then available to the OC system components for onward processing.
- The acknowledgement message is processed as appropriate by the OC system.
-
Business acknowledgement ITK Response
- When the Online Consultation Report message is passed from MESH for processing at the GP practice, after successful message validation, the subject of the message contents are landed in the workflow of the GP practice. An ITK3 Response message is generated which indicates the success of consuming the message - this is known as a “business acknowledgement”.
- The GP practice uses the MESH API Send Message function to send the acknowledgement message to the MESH server where it awaits collection by the OC system.
- The OC system uses the MESH API Download Message function to collect the acknowledgement message. The ITK Response is then available to the OC system components for onward processing.
- The acknowledgement message is processed as appropriate by the OC system.