Seeking for a solution to fetch the filtrate data for different contractor types

We are TIF Framework partner of NHS we are seeking for a solution to fetch the filtrate data for different contractor types a) Community Pharmacy, b) Appliance Contractor, C) Dispensing Doctor.

Right now, we are using this API https://fhir.nhs.uk/Id/ods-organization-code in order to fetch data however, it provides us mix data for each contractor types instead of segregated data like for pharmacy it should fetch only pharmacy data.

Please suggest.

You can limit the response using the ods-org-role parameter to just the role id’s you are interested in.

The role id’s for Pharmacy (182) and appliance contractor (94) can be included in the same parameter, separated by a comma.

We have a list of all the role Ids in the ODSAPI-OrganisationRole-1 CodeSystem:

Example:

curl -X GET https://uat.directory.spineservices.nhs.uk/STU3/CodeSystem/ODSAPI-OrganizationRole-1 \

-H “accept: application/fhir+json”

Please see our Open API Specification for more details:

Organisation Data Service - FHIR API - NHS England Digital

ODS do not publish data for Dispensing Doctors.

Thanks

Thanks Reeves for your prompt response. We are all good with the Pharmacy and Appliance contractor, however, we have further question that we wish to show the filter for nominated pharmacy for the target audience, can you please suggest on it? Please assist.

Looking for your valuable assistance.