Search loading...

API Hub

Explore and Make use of Nationally Defined Messaging APIs

 

Development Overview

Overview of the Development section

1. NRL API Overview

The NRL API supports the following operations as detailed in the Solution Interactions section of this implementation guide:

Actor Read Search Create Update Delete
Consumer Tick Tick Cross Cross Cross
Provider Tick Tick Tick Tick Tick

2. Pre-Requisites for NRL API

2.1 NRL Server API Conformance

  • SHALL support HL7 FHIR STU3 version 3.0.1.

  • SHALL Implement REST behavior according to the FHIR specification

  • SHALL support XML or JSON formats for all API interactions.

2.2 NRL Client API Conformance

  • SHALL support HL7 FHIR STU3 version 3.0.1.

  • SHALL support either XML or JSON formats for all API interactions.

  • SHOULD support the NRL Service RESTful interactions and search parameters.

2.3 Spine Services

The NRL API is accessed through the NHS Spine. As such, providers and consumers of the NRL API are required to integrate with the following Spine services as a pre-requisite to making API calls to the NRL API:

National Service Description
Personal Demographics Service (PDS) National database of NHS patients containing details such as name, address, date of birth and NHS Number (known as demographic information).

Detailed Spine services pre-requisites:

To use this API, provider/ consumer systems:

  • SHALL have gone through accreditation and received an endpoint certificate and associated ASID (Accredited System ID) for the client system.
  • SHALL have either:
    • Authenticated the user using national smartcard authentication, and obtained a the UUID from the user’s smartcard (and associated RBAC role from CIS), or
    • Authenticated the user using an assured local mechanism, and obtained a local user ID and role
    • And pass this user information in a JSON web token - see Access Tokens (JWT) for details.
  • SHALL have previously traced the patient’s NHS Number using PDS or an equivalent service.

2.4 NHS Number

Only verified NHS Number SHALL be used with FHIR API profiles. This can be achieved using a full PDS Spine compliant system (HL7v3), a Spine Mini Services Provider (HL7v3) or a Demographics Batch Service (DBS) batch-traced record (CSV) to verify the NHS number.

The option of using a DBS service is for Provider systems only. Consumers performing a search operation must use either a full PDS Spine compliant system or a Spine Mini Services Provider.

3. Explore the NRL

You can explore and test the NRL GET, POST and DELETE commands and responses using Swagger in our Reference Implementation.

Tags: rest fhir api

All content is available under the Open Government Licence v3.0, except where otherwise stated