# Patient Service Search Returns Unknown ODS Codes

**URL:** <https://developer.community.nhs.uk/t/patient-service-search-returns-unknown-ods-codes/3063>\
**Category:** e-Referral Service (e-RS)\
**Created:** [5 November 2024 11:41 UTC](https://developer.community.nhs.uk/t/patient-service-search-returns-unknown-ods-codes/3063 "2024-11-05T11:41:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew.feerick](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@matthew.feerick](https://developer.community.nhs.uk/u/matthew.feerick)\
**Post date:** [5 November 2024 11:41 UTC](https://developer.community.nhs.uk/t/patient-service-search-returns-unknown-ods-codes/3063/1 "2024-11-05T11:41:24Z")

</div>

Our integration with e-RS in the INT environment is returning ODS codes for some services which are not found when looking up via [uat.directory.spineservices.nhs.uk](http://uat.directory.spineservices.nhs.uk/)

e.g for RJQ47

[https://uat.directory.spineservices.nhs.uk/STU3/Organization/RJQ47](https://uat.directory.spineservices.nhs.uk/STU3/Organization/RJQ47)

What is the url for the ODS INT Environment endpoint?

---

<div class="post-metadata">

**Author:** ![adam.oldfield](https://dub1.discourse-cdn.com/nhsdigitaldeveloper/user_avatar/developer.community.nhs.uk/adam.oldfield/32/327_2.png) [@adam.oldfield](https://developer.community.nhs.uk/u/adam.oldfield)\
**Post date:** [6 November 2024 08:01 UTC](https://developer.community.nhs.uk/t/patient-service-search-returns-unknown-ods-codes/3063/2 "2024-11-06T08:01:54Z")

</div>

Hi @matthew.feerick,

The ODS team would be best to comment, and I can see you have also posted a [question in the ODS category](https://developer.community.nhs.uk/t/ods-int-environment-endpoint/3042).

My suspicion is that the UAT environment supported by the [Organisation Data Service - FHIR API](https://digital.nhs.uk/developer/api-catalogue/organisation-data-service-fhir) is not the same as the Integration (INT) environment to which the e-RS integrates.

[The new Organisation Data Terminology - FHIR API](https://digital.nhs.uk/developer/api-catalogue/organisation-data-terminology) does appear to connect to the Integration (INT) environment (see [Environments and testing](https://digital.nhs.uk/developer/api-catalogue/organisation-data-terminology#overview--environments-and-testing)).

According to [Choosing an ODS API](https://digital.nhs.uk/services/organisation-data-service/organisation-data-service-apis/choosing-an-organisation-data-service-api#choosing-an-ods-api) the [The new Organisation Data Terminology - FHIR API](https://digital.nhs.uk/developer/api-catalogue/organisation-data-terminology) is intended to replace [Organisation Data Service - FHIR API](https://digital.nhs.uk/developer/api-catalogue/organisation-data-service-fhir).

Again though I would wait for the ODS team to confirm.

Regards,

Adam.
