NHS North West Genomics
2.2.0 - ci-build
NHS North West Genomics - Local Development build (v2.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Follow API Contracts from EURIDICE EU Health Data API and Data Contracts from EHDS in particular:
This specification adds England-specific data modeling from NHS England Canonical Data Model (NHS Futures - Canonical Data Model (CDM)). This specification also conforms to HL7 UK Core.
Process flows and background information are the same as EU Health Data API and so are not repeated here.
The table below summarises the actors referenced throughout this page.
| Actor | Definition |
|---|---|
| Patient Identity Source | Feeds patient identity data into the Patient Identity Registry (PIX Patient Identity Feed ITI-8, or the mobile equivalent PIXm ITI-93). The NHS England HL7 v2 standard for this feed is the NHS England HL7 v2 ADT Message Specification. |
| Patient Demographics Consumer | Queries the Patient Identity Registry for patient demographics (PDQm Mobile Patient Demographics Query ITI-78). This is roughly equivalent to the NHS Personal Demographics Service - FHIR API. |
| Patient Demographics Supplier / Patient Identity Registry | The master patient index, receiving identity feeds from the Patient Identity Source and answering demographics queries from Patient Demographics Consumers. In NHS England this is the Spine; in NHS Trusts it is typically the Patient Administration System (PAS). |
| Order Filler (LIMS) | The laboratory information system that places the original order and produces the IHE LAB-3 / HL7 v2 ORU_R01 laboratory report. |
| Document Publisher | The Regional Orchestration Engine, transforming the IHE LAB-3 / HL7 v2 ORU_R01 laboratory report and pushing it to a Document Consumer or Document Access Provider, using ITI-105 Simplified Publish or HL7 v2 MDM_T02. |
| Document Access Provider | A grouping of the Document Registry and Document Repository, indexing document metadata and serving document content to Document Consumers. Other names include Electronic Document Management Systems (EDMS) and IHE XDS. |
| Document Registry | Indexes document metadata and answers queries (Find Document References ITI-67 in FHIR, or the older Registry Stored Query ITI-18 in XDS). NHS England National Record Locator is a Document Registry. |
| Document Repository | Stores and serves the actual document content (Retrieve Document ITI-68 in FHIR, or Retrieve Document Set ITI-43 in XDS). |
| Document Consumer | Queries the Document Registry to find documents and retrieves them from the Document Repository. |
| Resource Publisher | The Regional Orchestration Engine, parsing the IHE LAB-3 / HL7 v2 ORU_R01 laboratory report and populating individual FHIR resources in the Resource Access Provider. |
| Resource Access Provider | The Genomic Data Platform, storing FHIR resources populated by the Resource Publisher and serving them to Resource/Data Consumers. Other examples include Shared Care Records and NHS England Patient Data Manager. |
| Resource/Data Consumer | Requests and retrieves individual FHIR resources, such as conditions, medications, and observations, from the Resource Access Provider. |
Note: the Document Publisher and Resource Publisher are logical roles played by the same Regional Orchestration Engine — the former publishes whole documents, the latter populates individual FHIR resources.
See also API Security
HL7 SMART Backend Services - Defines authorization in FHIR. We use the SMART Backend Services profile for system-system authorization, and FHIR scopes. Authorisation [IUA] - Defines authorization and access control actors and mechanisms. We use the actors and transactions model.
Patient Identity Matching [PDQm] - Defines how a client can perform patient lookup given demographics against a server.
graph LR
source[Patient Identity Source]
consumer[Patient Demographics Consumer]
mpi[Patient Demographics Supplier<br/>Patient Identity Registry]
source --> |"PIXm Mobile Patient Identity Feed [ITI-93]<br/>PIX Patient Identity Feed [ITI-8]"| mpi
consumer --> |"PDQm Mobile Patient Demographics Query [ITI-78]"| mpi
graph LR
publisher[Document Publisher]
subgraph provider[Document Access Provider]
registry[Document Registry]
repository[Document Repository]
end
consumer[Document Consumer]
publisher --> |"Publish Document<br/><br/>Simplified Publish [ITI-105 HL7 FHIR]<br/>Original document notification and content [HL7 v2 MDM_T02]"| provider
consumer --> |"Find Documents<br/><br/>Find Document References [ITI-67 HL7 FHIR]<br/>Registry Stored Query [ITI-18 XDS]"| registry
consumer --> |"Retrieves Documents<br/><br/>Retrieve Document [ITI-68]<br/>Retrieve Document Set [ITI-43 XDS]"| repository
registry --> consumer
repository --> consumer
Document Exchange [MHD] - Defines exchange of Documents, which we use to exchange FHIR document content.
The IHE XDS/MHD document-sharing pattern used in health information exchange has three actor roles:
In short: a publisher submits documents into the registry/repository, and a consumer discovers them via the registry then fetches the content from the repository — with each interaction supporting both a modern FHIR transaction and its older HL7v2/XDS equivalent.
Used by these Use Cases:
DiagnosticReport + PDF)The diagram below shows how an IHE LAB-3 / HL7 v2 ORU_R01 laboratory report is transformed by the Document Publisher and pushed on to a Document Consumer or Document Access Provider, using one of two supported publish transactions:
sequenceDiagram
participant LIMS as Order Filler<br/>LIMS
participant Publisher as Document Publisher<br/>(Regional Orchestration Engine)
participant Consumer as Document Access Provider<br/>Document Consumer
note over LIMS,Publisher: IHE LAB-3 Laboratory Report
LIMS ->> Publisher: Sends Laboratory Report<br/>HL7 v2 ORU_R01
Publisher ->> Publisher: Transform message
opt IHE ITI-105 Simplified Publish
Note over Consumer,Publisher:ITI-105 Simplified Publish
Publisher->>Consumer: POST /DocumentReference
Consumer-->>Publisher: Response OperationOutcome
end
opt HL7 v2 MDM_T02
Note over Consumer,Publisher:Original document <br/>notification and content
Publisher->>Consumer: HL7 v2 MDM_T02 Message
Consumer-->>Publisher: Response HL7 v2 ACK
end
The document content, for either transaction, can be:
Using an HL7 Europe Laboratory Report FHIR Document to share laboratory reports is a modernisation of IHE Sharing Laboratory Reports (XD-LAB), replacing HL7 Clinical Document Architecture (CDA) with an HL7 FHIR Document.
classDiagram
class DocumentReference
namespace Unstructured {
class BinaryPDF
}
namespace Structured {
class Composition
class DiagnosticReport
class Patient
class ServiceRequest
class Specimen
class BinaryPDF2["BinaryPDF"]
class Observation
}
DocumentReference --> BinaryPDF
DocumentReference --> Composition
Composition o-- Patient
Composition o-- DiagnosticReport
Composition o-- ServiceRequest
Composition o-- Specimen
Composition o-- BinaryPDF2
Composition o-- Observation
DiagnosticReport o-- Observation
Used by these Use Cases:
graph LR
provider[Resource Access Provider<br/><br/>Genomic Data Platform]
consumer[Resource/Data Consumer]
consumer --> |Request Resources| provider
provider --> |Respond| consumer
Resource Access [IPA/QEDm] - using HL7 International Patient Access (IPA), aligned with IHE Query for Existing Data for Mobile (QEDm) — for querying individual FHIR resources such as conditions, medications, and observations
Used by these Use Cases:
The diagram below shows how an IHE LAB-3 / HL7 v2 ORU_R01 laboratory report is used to populate resources in the Resource Access Provider. The internal processing uses a combination of FHIR RESTful interactions and FHIR Transactions. This method of sharing results is aimed at populating a FHIR repository for resource/data consumers. The order placer (hospital) will typically prefer the more traditional method of receiving structured laboratory reports: a direct, point-to-point HL7 v2 ORU_R01 feed into their own LIMS/EPR, rather than retrieving results via this resource-population flow. The "Process message" step represents the point at which the received message is parsed to persist or share individual resources.
sequenceDiagram
participant LIMS as Order Filler<br/>LIMS
participant Publisher as Resource Publisher<br/>(Regional Orchestration Engine)
participant Provider as Resource Access Provider
note over LIMS,Publisher: IHE LAB-3 Laboratory Report
LIMS ->> Publisher: Sends Laboratory Report<br/>HL7 v2 ORU_R01
opt HL7 v2 ORU_R01
note over Publisher,Provider: Original message passed through unchanged
Publisher ->> Provider: Sends Laboratory Report<br/>HL7 v2 ORU_R01
Provider ->> Provider: Process message
end
opt HL7 FHIR RESTful
note over Publisher,Provider: Publisher parses the message and populates resources
loop For each resource and/or FHIR Transaction
Publisher ->> Provider: Check for existing resource
Publisher ->> Provider: Create or update resource
end
end
When the document format is an HL7 Europe Laboratory Report FHIR Document, the Resource and Document sharing methods described above can be combined. As noted previously, the FHIR Document contains the same clinical content as the IHE LAB-3 / HL7 v2 ORU_R01 message, so it can be processed in the same way to persist or share individual resources.
sequenceDiagram
participant Publisher as Document Publisher
participant Provider as Document Access Provider
participant RProvider as Resource Access Provider
Note over Publisher,Provider:ITI-105 Simplified Publish
Publisher->>Provider: POST /DocumentReference
Provider-->>Publisher: Response OperationOutcome
Provider ->> RProvider: HL7 Europe Laboratory Report<br/>FHIR Document
RProvider ->> RProvider: Process document