as140
17 June 2025 11:21
1
Hello,
Sorry I wasn’t sure which section to put this in.
I’m looking at doing some development with the Technology server API to get Snomed data. Firstly the only URL I seem to be able to find is the production API https://ontology.nhs.uk/production1/ Is there a development/staging API I should be using instead?
Secondly I tried searching for a Snomed code with the following request:
https://ontology.nhs.uk/production1/fhir/CodeSystem/$lookup?system=http://snomed.info/sct&code=228557008&_format=json
I get a JSON response telling me that the code doesn’t exist however if I search using the Snomed browser SNOMED CT - Home it looks like the code exists.
I’m not sure why I’m getting different information from the API and the browser? Maybe I’m using the wrong URL for the API?
Thanks
Hi @as140 thanks for posting. Have you been to the Terminology Server - FHIR APIs - NHS England Digital page in the API and Integration Catalogue? There are some links to some alternative environments on this page. There is further information which may help for your specific use case on the terminology server page in the Service Catalogue The NHS England Terminology Server - NHS England Digital
as140
20 June 2025 13:19
3
Hello,
Thanks for your reply.
I’d found https://digital.nhs.uk/services/terminology-server/environments from the link you provided before creating my forum post but I didn’t notice that the information about using production1 for testing is on the other linked page https://digital.nhs.uk/services/terminology-servers#how-to-get-access
Thanks for your help with that question.
For my second question I tried to combine the production1 environment link with the “lookup a snomed code” example I found here Ontoserver 6.0: example FHIR Terminology requests (linked from https://digital.nhs.uk/services/terminology-server/training-guides/integrate-my-system-with-the-terminology-server/developer-launchpad#example-requests ).
Have I misunderstood which examples to use with the production1 link?
Thanks
Hello @as140
I have tried your $lookup query and it works for me.
Have you authenticated properly to the Terminology Server?
You will need to be authenticated using OAuth2.0. You can sign up very quickly using an email account see Account management - NHS England Digital .
Alternatively you can connect using what we call a system-to-system account which is the OAuth2.0 ClientID and Secret. To get a system-to-system account see: Request a system-to-system account - NHS England Digital .
Further information about integrating with the terminology server, but I suspect you have already read these pages:
I hope that helps.
as140
27 June 2025 15:33
5
Hello,
Thanks for your help. It’s useful to know I’ve got the $lookup query correct.
I’ll have another look through the documentation particularly the authentication information and see what I’ve done wrong.
Thanks