# Organisation Data Terminology - FHIR API - Question

**URL:** <https://developer.community.nhs.uk/t/organisation-data-terminology-fhir-api-question/10628>\
**Category:** Organisation Data Service (ODS)\
**Tags:** fhir\
**Created:** [10 February 2026 19:16 UTC](https://developer.community.nhs.uk/t/organisation-data-terminology-fhir-api-question/10628 "2026-02-10T19:16:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahim\_Qureshi](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@Rahim\_Qureshi](https://developer.community.nhs.uk/u/Rahim_Qureshi)\
**Post date:** [10 February 2026 19:16 UTC](https://developer.community.nhs.uk/t/organisation-data-terminology-fhir-api-question/10628/1 "2026-02-10T19:16:29Z")

</div>

Is anyone using the above API and does it let you get practitioner details for a given GP Practice ODS code? Thanks

---

<div class="post-metadata">

**Author:** ![laura.reeves](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@laura.reeves](https://developer.community.nhs.uk/u/laura.reeves)\
**Post date:** [11 February 2026 09:00 UTC](https://developer.community.nhs.uk/t/organisation-data-terminology-fhir-api-question/10628/2 "2026-02-11T09:00:38Z")

</div>

Hi Rahim

Yes it does! Below is a sandbox query that shows how to return the GP practitioners associated with G81086.

General guidance for this API, including a postman collection can be viewed here: [Organisation Data Terminology - FHIR API - NHS England Digital](https://digital.nhs.uk/developer/api-catalogue/organisation-data-terminology)

POST: [https://sandbox.api.service.nhs.uk/organisation-data-terminology-api/fhir/ValueSet/$expand](https://sandbox.api.service.nhs.uk/organisation-data-terminology-api/fhir/ValueSet/$expand)

BODY:

{  
“resourceType”: “Parameters”,  
“parameter”: [  
{  
“name”: “valueSet”,  
“resource”: {  
“resourceType”: “ValueSet”,  
“compose”: {  
“inactive”: true,  
“include”: [

```auto
                    {
                        "system": "https://digital.nhs.uk/services/organisation-data-service/CodeSystem/practitioner-relationship-instance",
                        "filter": [
                            {
                                "property": "orgCode",
                                "op": "=",
                                "value": "G81086"
                            }
                            
                        ]
                    }
                ]
            }
        }
    },
    {
        "name": "activeOnly",
        "valueBoolean": false
    },
    {
        "name": "property",
        "valueString": "AAID8"
    }
]

```

}

---

<div class="post-metadata">

**Author:** ![Rahim\_Qureshi](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@Rahim\_Qureshi](https://developer.community.nhs.uk/u/Rahim_Qureshi)\
**Post date:** [11 February 2026 12:43 UTC](https://developer.community.nhs.uk/t/organisation-data-terminology-fhir-api-question/10628/3 "2026-02-11T12:43:36Z")

</div>

I can’t see the list of GP Practitioners associated with this GP Practice example you have given and the response you provide

---

<div class="post-metadata">

**Author:** ![laura.reeves](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@laura.reeves](https://developer.community.nhs.uk/u/laura.reeves)\
**Post date:** [11 February 2026 17:15 UTC](https://developer.community.nhs.uk/t/organisation-data-terminology-fhir-api-question/10628/4 "2026-02-11T17:15:28Z")

</div>

_(resolved outside this forum but sharing here so others can see), alternative call:_

use this body to get a full list of all GPs at a practice (with any type of PGP role) and then pick out the PGP1 entry from the full result set:

{

```
"resourceType": "Parameters",

"parameter": \[

    {

        "name": "valueSet",

        "resource": {

            "resourceType": "ValueSet",

            "compose": {

                "inactive": **false** ,

                "include": \[

                    {

                        "system": "[https://digital.nhs.uk/services/organisation-data-service/CodeSystem/practitioner"](https://digital.nhs.uk/services/organisation-data-service/CodeSystem/practitioner%22 "https://digital.nhs.uk/services/organisation-data-service/codesystem/practitioner%22"),

                        "filter": \[

                            {

                                "property": "type",

                                "op": "=",

                                "value": "PGP"

                            },

                            {

                                "property": "ME1",

                                "op": "=",

                                "value": "L83084"

                            }

                           

                        \]

                    }

                \]

            }

        }

    },

    {

        "name": "activeOnly",

        "valueBoolean": **true**

    },

    {

        "name": "property",

        "valueString": "\*"

    }

\]

```

}

---

<div class="post-metadata">

**Author:** ![Rahim\_Qureshi](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@Rahim\_Qureshi](https://developer.community.nhs.uk/u/Rahim_Qureshi)\
**Post date:** [11 February 2026 18:03 UTC](https://developer.community.nhs.uk/t/organisation-data-terminology-fhir-api-question/10628/5 "2026-02-11T18:03:35Z")

</div>

Thank you Laura, this works great. It’s so useful to have this type of mechanism to reach out to you and the team at NHS England and be able to get quick answers to solutions we are working on. It’s much appreciated
