# This is an OpenAPI Specification (https://swagger.io/specification/)
# for the e-Referral Service API
# owned by NHS Digital (https://digital.nhs.uk/)
openapi: 3.0.0
x-nhsd-api-platform:
meta:
service_name: e-referrals-service-api
short_service_name: ers
service_base_path: referrals
product_display_name: e-Referrals-Service
product_description: 'The NHS e-RS vision is to enable local innovation and adoption of paperless referrals. To support this vision NHS Digital have created a set of APIs which provide a well-defined, simple to use data interface to the NHS e-Referral Service (e-RS). See https://digital.nhs.uk/developer/api-catalogue/e-referral-service-fhir'
pipeline_name_prefix: E-Referrals-Service
info:
version: 0.0.1
title: e-Referrals Service
description: |
## Overview
Use this API to create paperless referrals from primary to secondary care with the [e-Referral Service (e-RS)](https://digital.nhs.uk/services/e-referral-service).
For an overview of how you can plan and prepare for your integration with e-RS, see our [API onboarding guide](https://digital.nhs.uk/services/e-referral-service/api).
**As a primary care referrer, you can:**
- create a new e-referral
- search for relevant patient services to create a shortlist
- access existing e-referrals
- create a triage request for the Referral Assessment Service (RAS)
- upload and manage a patient letter or attachments, linking them to a referral
- retrieve appointment slots and book appointments
- defer a booking to a provider if an appointment slot is unavailable
- create a new advice and guidance request
**As a secondary care provider, you can:**
- access referrals as a worklist
- retrieve non-clinical information (meta-data) about the referral
- retrieve attachments which are linked to a referral or triage (RAS) request
- retrieve clinical information which has been provided by a referrer
- accept or reject a referral request
- retrieve Advice & Guidance (A&G) conversations and send responses
- convert Advice & Guidance (A&G) conversations into a referral
- cancel a referral
**You cannot use this API to:**
- get patient details - instead, use the [[HYPERLINK_PDS]]
**You can access the following data:**
- referral attachments
- referral letters
- appointment slots
- worklists for referral requests
- worklists for triage (RAS) requests
- worklists for Advice and Guidance (A&G) requests
- conversation histories for Advice and Guidance (A&G) requests
To discover the most common use cases, see our Building Healthcare Software guides.
unattended access | [[HYPERLINK_SIGNED_JWT]] |