Search loading...

API Hub

Explore and Make use of Nationally Defined Messaging APIs

 

Solution Interactions

Getting involved with NRLS

Interactions

In the overall solution for NRLS broadly speaking there are three main systems that need to integrate in order for systems to share data.

System Role in NRLS solution
Consumer A system that wishes to retrieve Pointers related to a given patient (NHS number) and optionally follow one or more of those Pointers to retrieve the record that they each point to.
Provider A system that wishes to expose its Records for sharing.
NRLS A system that exposes Pointers for retrieval and maintenance.

Provider interaction

A Provider is responsible for maintaining a set of Pointers. Concretely this involves creating and deleting Pointers.

Pointer creation

When an event occurs within a Provider organisation that requires the creation of a Pointer in the NRLS the Provider assembles an instance of a Pointer that references a record that the Provider wishes to expose to NRLS Consumers.

Once assembled the Provider sends the Pointer to the create function that is exposed on the NRLS maintenance interface.

After successfully persisting the Pointer the NRLS will return the address of the new Pointer to the Provider client.

Pointer removal

When an event occurs within a Provider organisation that requires the removal of an existing Pointer from the NRLS the Provider uses the remove function that is exposed in the NRLS maintenance interface passing it the address of the Pointer that is to be removed.

If there were any problems that meant the Pointer could not be removed the NRLS will inform the client otherwise the client should assume that the Pointer has been successfully removed.

Consumer interaction

A Consumer can only read Pointers from the NRLS. The NRLS allows a Consumer to perform parameterised searches of the Pointers held within the NRLS:

  • A Consumer can ask the NRLS to return all Pointers that relate to a given patient by supplying the NHS number of that patient.
  • A Consumer can also combine the Patient search parameter with the ODS code of the organisation that owns a Pointer to further narrow the search space.
  • The NRLS exposes a search using the identifier of a Pointer. In this instance the Consumer is asking for a specific Pointer instance to be returned.


Tags: overview

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