Organisation Data Terminology - API for RE8 relationships?

Hi,

Is there any API where I can supply a PCN ODS code and find out all the practices that are a partner to that PCN (the RE8 relationships)?

For example, I know you can go the other way around e.g. https://sandbox.api.service.nhs.uk/organisation-data-terminology-api/fhir/CodeSystem/$lookup?system=https://fhir.nhs.uk/Id/ods-organization-code&code=A81001&property=RE8

But I am looking to supply a PCN ods code and get all the practices.

Thanks,

HI Laura

This query to the Organisation Data Terminology R4 API should work for you:

https://sandbox.api.service.nhs.uk/organisation-data-terminology-api/fhir/OrganizationAffiliation?participating-organization=U89141&role=RE8&_include=OrganizationAffiliation:primary-organization&active=true

That should give you all active RE8 relationships (‘is partner to’) for PCN U89141, with source org (GP Practice) details included in the response.

Many thanks

Laura

Brilliant, thank you!