NHS North West Genomics
2.0.0 - ci-build
GB
NHS North West Genomics - Local Development build (v2.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
This is based on Asynchronous Messaging using the RESTful API
sequenceDiagram
participant consumer as Message Consumer
participant esb as Regional Integration Engine
consumer ->> esb: Check Inbox (GET /Bundle?message.receiver:identifier={odsCode})
esb -->> consumer: Messages
alt For each individual Message
consumer ->> esb: Acknowledge Message (POST /Bundle)
end
| Parameter | Type | Search | Note |
|---|---|---|---|
| _lastUpdated | date | GET [base]/Bundle?_lastUpdated=[date] | Date the resource was last updated |
| message.receiver:identifier | token | GET [base]/Bundle?message.receiver:identifier=[system|][ODScode] | ODS Code of calling organisation |
| message.event | token | GET [base]/Bundle?message.event=[system|][eventcode] | Event Code of the message |
message.receiver:identifier is a mandatory parameter and must match the OAuth2 clientID associated with the ODS code.
Searching for Messages for NE&Y Genomics after 1st May 2026..
GET [base]/Bundle?message.receiver:identifier=699N0&_lastUpdated=gt2026-05-01
Accept: application/fhir+json
Authorization: Bearer {accessToken}
GET [base]/Bundle?message.reciever:identifier=R0A&_lastUpdated=>2025-03-01T02:00:02+01:00
Accept: application/fhir+json
Authorization: Bearer {accessToken}
Bundle 'SearchSet' - Genomics Order
Acknowledging a Message removes it from the Inbox.
The Bundle is taken from the Check Inbox search, only the MessageHeader resource is required where the source and destination elements are swapped over, and posts it back to the server. E.g.
Original MessageHeader
{
"resourceType" : "MessageHeader",
...
"destination" : [
{
"endpoint" : "http://www.acme.org/endpoint/HIVE",
"receiver" : {
"identifier" : {
"system" : "https://fhir.nhs.uk/Id/ods-organization-code",
"value" : "R0A"
},
"display" : "MANCHESTER UNIVERSITY NHS FOUNDATION TRUST"
}
}
],
"sender" : {
"identifier" : {
"system" : "https://fhir.nhs.uk/Id/ods-organization-code",
"value" : "699X0"
},
"display" : "NORTH WEST GLH"
},
...
}
Reversed MessageHeader
{
"resourceType" : "MessageHeader",
...
"destination" : [
{
"endpoint" : "http://www.acme.org/endpoint/RIE",
"receiver" : {
"identifier" : {
"system" : "https://fhir.nhs.uk/Id/ods-organization-code",
"value" : "699X0"
},
"display" : "NORTH WEST GLH"
}
}
],
"sender" : {
"identifier" : {
"system" : "https://fhir.nhs.uk/Id/ods-organization-code",
"value" : "R0A"
},
"display" : "MANCHESTER UNIVERSITY NHS FOUNDATION TRUST"
},
...
}
Acknowledge a single message.
POST [base]/Bundle
Content-Type: application/fhir+json
Authorization: Bearer {accessToken}