Is there an API to get GP practitioner details and / or to get Pharmacist details

Hi
If I wanted to get GP details and Pharmacist details (codes and names) is there an API where I can get this data?
Many thanks
Bill

Hi Bill

Thanks for your query.

The Organisation Data Service (ODS) provides access to a reduced dataset of health and social care organisations in England and Wales, such as trusts or GP practices, using our Organisation Data Service (ODS) FHIR API.

The API and integration catalogue lists the APIs and integrations which are currently available, or in development, from NHS England and associated organisations.

Kind regards,
Ernest

1 Like

Personal Demographics Service - FHIR API - NHS Digital

Assuming you meant at patient level?

My answer when I’m working for a NHS Trust is:

go to ODS CSV downloads - NHS Digital
dowload the CSV files and then import them into a system.

Alternatively most of this data in NHS Englands SDS LDAP database. Standard LDAP queries will work with this but the trick is to get hold of a Spine Certificate for the LDAP connection (You used to get this when you onboarded to Spine SMSP api, don’t know how you do this now)

It might be worth contacting NHS England Standards and Interoperability.

I believe this is an API which hinders interoperability over a number of products.

I’m presuming your use case is similar to ones listed on this standard
https://profiles.ihe.net/ITI/mCSD/volume-1.html#14642-use-cases

and the API you are looking for is listed on this page IHE.ITI.MCSD\2:3.90 Find Matching Care Services [ITI-90] - FHIR v4.0.1

Thanks for the comments :+1:

The basic use case is to create a basic picking list of GPs and a separate one for pharmacists.

Not sure how useful this is but we put it together for a UK Core Hackathon. I think we only loaded GP’s from ODS but followed the IHE spec.

http://lb-fhir-mcsd-1736981144.eu-west-2.elb.amazonaws.com/swagger-ui/index.html#/

The server (AWS FHIRWorks) behind the scenes supports more queries but we’ve only exposed ones from IHE

Is this what you require Spine Directory Service - LDAP API - NHS Digital

1 Like

Hi Bill Lush,

It sounds like the ‘Directory of Healthcare Services (Service Search) API’ might be what you are looking for.

This allows you to search by …

  • GP practice name
  • Town
  • Postcode
  • Longitude and latitude
  • ODSCode

… and more.

1 Like

Hi Bill, very late to the party here but my team is currently building the Healthcare Worker API for use cases like this.
Currently in alpha and starting private beta in December. We currently have your specific use case on our roadmap for post-MVP so are likely to be releasing that feature in early 2025.
Not sure whether you ended up using the solutions suggested above, but if not our API might be suitable.
If you’re interested in consuming our API once it goes live, please get in touch with myself or Catherine Ejiogu (catherine.ejiogu1@nhs.net).
Thanks
Tom

Hi Bill, what will drive the pick list for GPs or Pharmacists? Is this via region or trust based?

Hi Catherine, I was looking to get a national list of GPs and Pharmacists.
As I remember it GP codes can be retrieved from NHS Organisation Data Service (ODS), but there is no national identifier list for pharmacists in the NHS.