NHS North West Genomics
0.2.1 - ci-build United Kingdom flag

NHS North West Genomics, published by NHS North West Genomics. This guide is not an authorized publication; it is the continuous build for version 0.2.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/nw-gmsa/nw-gmsa.github.com/ and changes regularly. See the Directory of published versions

Exchange

Genomic Data Exchange Overview

The North West Genomics data exchange architecture enables secure and standardised communication between NHS Trust clinical systems and regional genomic laboratory services.

The architecture consists of three primary components:

  1. Regional Orchestration Engine (RIE)
    Routes and standardises messaging between organisations.

  2. Genomic Data Repository (GDR)
    A central read-only repository for genomic data and reports. Also known as a Data Platform

  3. API Gateway (APIG)
    Provides external data access to the GDR and also provides API Security.

Together these components form the Health Information Exchange (HIE) for the North West Genomic Medicine Service Alliance.

Key goals:

  • Reduce point-to-point integrations
  • Standardise HL7 and FHIR interactions
  • Enable cross-organisation genomic data sharing
  • Support modern event-driven workflows

Traditional Integration Model

Historically, each NHS Trust integrated directly with laboratory systems. This resulted in multiple bespoke integrations.

Problems:

  • High maintenance cost
  • Complex transformation logic
  • Challenging onboarding of new systems
  • Limited use clinical terminology

RIE Integration Model

The Regional Orchestration Engine introduces a hub-and-spoke model.

Each participant integrates once with the RIE.

Benefits:

  • Reduced integration complexity
  • Centralised routing and ordchestration
  • Standardised message formats and data standards

Architectural Principles

The exchange architecture is based on several core principles.

Hub-and-Spoke Integration

All participating organisations integrate with a Regional Orchestration Engine (RIE) rather than building direct integrations with each other.

This approach:

  • reduces integration complexity
  • centralises routing and transformation
  • simplifies onboarding of new systems

Standards-Based Interoperability

The exchange uses widely adopted healthcare interoperability standards including:

  • HL7 v2 messaging
  • HL7 FHIR APIs
  • SNOMED CT terminology
  • IHE interoperability profiles

Event-Driven Workflow

Modern workflows are supported through:

  • FHIR Tasks
  • event notifications
  • workflow status updates

This enables clinical systems to respond dynamically to laboratory workflow events.

Separation of Messaging and Data Access

Two complementary exchange patterns are used:

Pattern Purpose
Messaging Operational workflow communication
APIs Access to structured genomic data
graph TD

EPR[EPR / Order Placer]
TIE["Trust Integration Engine (TIE)"]

subgraph HIE["Health Information Exchange (HIE)"]
    RIE["Regional Orchestration Engine (RIE)"]
    GDR["Genomic Data Repository (GDR)"]
   APIG["API Gateway (APIG)"]
end

subgraph APIM[API Gateway to NHS England APIM]
    PDS["Personnel Demographic Service (PDS)"]
    ODS["Organisation Terminology Service (ODS)"]
    NRL["Nationa Record Locator Service (NRL)"]
end 

LIMS[LIMS / Order Filler]
DC["Data and Document Consumer"]


EPR --> |Document Messaging| TIE
TIE --> RIE
RIE --> |Document Messaging| LIMS
RIE --> |"RESTful API (GET/PUT/POST/DELETE)"| GDR
RIE --> |Event Messaging| EPR
EPR --> |"RESTful API (GET)"| APIG
DC --> |"RESTful API (GET)"| APIG
APIG --> |"RESTful API (GET)"| GDR
RIE --> |RESTful API| APIM

classDef purple fill:#E1D5E7;
class EPR,TIE,LIMS,DC purple

HL7 v2 and FHIR Exchange

Exhange has two high-level styles:

  • Messaging which sends data between applications/organisations. This breaks down into two sub-styles:
    • Event Messaging which sends asynchronous event notifications between applications
    • Document Messaging which sends structured clinical data between applications
  • Data Sharing which shares data between applications/organisations

The general trend is to use FHIR RESTful (GET) for data sharing.

HL7 v2 is the most common exchange format for healthcare data. It has two basic interaction styles:

  • V2 Event Message for reliable, asynchronous event notification between applications e.g. ADT and MDM_T01 events
  • V2 Document Message to reliably transfer a data structure (orders and reports) between applications, e.g.ORM_O01, OML_O21, ORU_R01 and MDM_T02

HL7 FHIR has several interaction styles which can replace HL7 v2.

  • FHIR Message (Document) which for orders and report messaging, is a direct replacement of HL7 v2.
  • FHIR RESTful (GET) which provides a read only API to the source data. This is one of the most common interaction style using FHIR.
  • FHIR Message (Event) and Subscription is a modernised version of HL7 v2 which focuses on event notifications only similar to HL7 v2 ADT and MDM_T01 events (but not orders and reports).
  • FHIR RESTful (PUT/POST) which provides a read and write API to the desintiation data. Note this moves the consumer business logic to the consumer and so can be considered an anti-pattern for enterprise level exchanges.
  • FHIR Document Clinical documents are the FHIR version of HL7 v3 Clinical Document Architecture (CDA).

Event Message – HL7 v2 Event Message and FHIR Message (Event) and Subscription

Advantages

  • High level of support in secondary care
  • Scales well in large enterprise environments and has proven to be reliable for health administration events.
  • Business logic is in the consumer
  • Can be extended to support publish/subscribe messaging via FHIR Subscription

Disadvantages

  • Not supported in primary care
  • Use of FHIR is currently low, as HL7 v2 events use is high.

Examples

  • NHS England ADT Messsaging Specification.
graph LR;

subgraph Producer;
    s[Data Source]
    s --> v2E

    v2E["HL7 v2 Event Message"]
    s --> fEvent["FHIR Message (Event) and Subscription"]
end 

subgraph Consumer
    B[Business Logic]
    d[Data Consumer]
    B --> d
end 

v2E --> B
fEvent --> B


classDef pink fill:#F8CECC
classDef green fill:#D5E8D4;


class restC,v2E,fEvent,Agg green

Document Message - HL7 v2 Document Message and FHIR Message (Document)

Advantages

  • High level of support in secondary and primary care
  • Business logic is in the consumer

Disadvantages

  • Only supports data sharing via point-to-point messaging
  • Does not scale well in large enterprise environments
  • Clinical data standards tend to be weak

Examples

  • NHS England Transfer of Care
  • NHS England National Event Management System
  • HL7 v2 ORU_R01
  • NHS England Pathology
  • NHS England Electronic Prescription Service
  • NHS England Booking and Referral System (referrals)
graph LR;

subgraph Producer;
    s[Data Source]
    v2D["HL7 v2 Document Message"]
    s --> v2D
    s --> fMessage["FHIR Message (Document)"]
 
end 

subgraph Consumer
    B[Business Logic]
    d[Data Consumer]
    B --> d
end 

v2D --> B
fMessage --> B


classDef yellow fill:#FFF2CC;

class v2D,fMessage yellow

Document/Event Message - FHIR RESTful (PUT/POST) and Transaction

Advantages

  • Modern API restful API to populate a database/EHR
  • Suitable for internal data engineering

Disadvantages

  • Data Consumer Business logic plus data rules are placed with the Data Source; this can be challenging to manage.
  • The number of RESTful API interacctions can be quite high
  • Does not scale in large enterprise environments

graph LR;

subgraph Producer;
    s[Data Source]
     s --> rest["FHIR RESTful (PUT/POST) and Transaction"]
    rB[Business Logic]

    rest --> rB
 
end 

subgraph Consumer

    d[Data Consumer]
end 

rB --> d

classDef pink fill:#F8CECC

class rest,rB pink

Data and Document Sharing - FHIR RESTful (GET)

Advantages

  • Modern API restful API to access EHR data
  • Scales well in large enterprise environments
  • Is the default exchange format for FHIR
  • Can be reused for data engineering purposes (e.g. analytics and AI)

Disadvantages

  • Does not support event notifications (see above).

Examples

  • NHS England COVID-19 API's
  • Yorkshire and Humberside Care Record
  • North West Genomics FHIR Repository
  • NHS England National Record Locator Service (NRL) and National Imaging Registry (NIR)
  • NHS England Booking and Referral System (appointments)
  • HL7 + IHE Europe EU Health Data API

graph LR;

subgraph Consumer

    d[Data Consumer]
    d --> restC["FHIR RESTful (GET)"]

end 
subgraph Source;
    s[Data Source]
end 

restC --> s

classDef green fill:#D5E8D4;

class restC,v2E,fEvent,Agg green

Document Sharing Format - Clinical Documents (FHIR Document)

Advantages

  • Supports data sharing in environments where direct exchange of clinical data is not possible.
  • Support international document sharing and is probably the UK home nations' preferred format.
  • Replaces PDF formats.
  • Can be used by consumers as structured or unstructured data.
  • Can be implemented as an Aggregation Layer on top of FHIR RESTful (GET).

Disadvantages

  • Can be an anti-pattern when used on the wrong enviroment.
  • Analytics and AI is more complex than FHIR RESTful (GET).

Examples

graph LR;

subgraph Consumer

    d[Data Consumer]
    d --> restC["FHIR RESTful (GET)"]

end
subgraph Source;
s[Data Source]
Agg["FHIR Document<br/>(Aggregation Layer)"]
Agg --> s
end

restC --> Agg

classDef green fill:#D5E8D4;

class restC,v2E,fEvent,Agg green