Please refer to Integration to MESH for an introduction to the use of MESH for GP Connect Messaging use cases.
The MESH client can be used to send the message, but the MESH API Address Lookup is still required if sending to a community pharmacy.
The Message routing to registered practice can be used if only ever sending to the patient’s registered GP practice.
MESH API Address Lookup
|GPCM-SD-OC-159||all messages sent through this use case to non-GP practice care providers MUST use the MESH API Address Lookup function to lookup the MESH mailbox ID of the receiving care provider.
Details of how to use Address Lookup can be found on the MESH API page
Workflow groups and Workflow ID
|GPCM-SD-OC-160||each instance of a Online Consultation Report message MUST include the following MESH Workflow ID in the MESH message metadata:
|GPCM-SD-OC-161||each instance of an acknowledgement message generated as a result of receipt of a Online Consultation Report message MUST include the following Workflow ID in the MESH message metadata:
MESH API configuration
When using the MESH API the Send Message API call will be used by a sending organisation API client to send a message to the MESH server. MESH metadata items are defined in HTTP header fields as described below:
MESH client configuration
When using the MESH client to send a message to the MESH server, the
.CTL file will contain the following metadata about the message:
.CTL file is given below for a Consultation Report message regarding a consultation which took place for a fictional patient: Mr Richard Smith, NHS Number 1234567890, Date of birth 9th January 1955.
<DTSControl> <Version>1.0</Version> <AddressType>DTS</AddressType> <MessageType>Data</MessageType> <From_DTS>GP0001</From_DTS> <To_DTS>GPPROVIDER_1234567890_09011955_Smith</To_DTS> <Subject>Online consultation report for patient Mr Richard Smith , NHS Number 1234567890, GP0001</Subject> <LocalId>GP0001</LocalId> <DTSId></DTSId> <PartnerId></PartnerId> <Compress>Y</Compress> <Encrypted>N</Encrypted> <WorkflowId>GPFED_CONSULT_REPORT</WorkflowId> <ProcessId></ProcessId> <DataChecksum></DataChecksum> <IsCompressed>Y</IsCompressed> </DTSControl>