Hi,
Is it possible to get the list of clinic types a specific service has via the API, using application-restricted access?
I know we’ve got Retrieve Healthcare Service A033 (https://digital.nhs.uk/developer/api-catalogue/e-referral-service-fhir#get-/R4/HealthcareService/-id-) but that doesn’t appear to return the specialty or clinic types. We’ve also got Patient Service Search A010 (https://digital.nhs.uk/developer/api-catalogue/e-referral-service-fhir#post-/STU3/HealthcareService/$ers.searchHealthcareServicesForPatient) but that is for user-restricted only, and we need to call this via application-restricted.
Is there a way to get this information out via the API, specifically for application-restricted access?
Thanks.
Hi Jamie,
I am looking into this one for you, just having to ask around for possible routes.
Kind regards,
George
Hi Jamie,
Unfortunately, I haven’t found an easy way to get this exact information with the API using application restricted access.
We do have the monthly reports EBSX05 and EBSX03 that can help find this information but it is quite labour intensive and is only updated once a month so could contain stale data.
There is also another way via the 'Quick Search – Services’ query in the UI, but similarly is labour intensive if you want data for multiple services.
I hope one of these methods is able to help you solve your problem. 
George
Hi George,
Thanks for looking into this for me. Is there any chance this can be added in the future? Our use case is that we are submitting referrals via the API (user-restricted) but we want to make it clear to our users before they submit (via an application-restricted check) if the service they’ve selected doesn’t have the required specialty/clinic type. I don’t know if there’s a different way I should be requesting this, happy to do that if you point me in the right direction.
Thanks,
Jamie