"'Service' (300511) does not exist" returned when testing on A008 e-RS API

Hi,

We are trying to integration our ePR system (RIO) with e-RS API. We try to create the keys for our application in INT environment, and capable to call A008 endpoint.
However, below error was returned when running as a SERVICE_PROVIDER_ADMIN.
“diagnostics”: “‘Service ID’ is missing.”

We tried with service code: 300511, which is for LGI Orthopaedics Service , but Service does not exist returned as below.

        "diagnostics": "'Service' (300511) does not exist"

Would you please give us a little help on this?

FYI, we are using 11C46F5F-CDEF-4865-94B2-0EE0EDCC26DA as GUID

Hi,

If you don’t get any answers in here you can try emailing NHS e-Referral Service - nhserspartners@nhs.net.

Thanks…

Hi @Jerry_Ng,

As documented under “Service Providing Organisations → Pre-requisites → Application-restricted access” on Retrieve referral worklist (A008, FHIR STU3), when fetching a worklist using application-restricted access there are some restrictions:

Supported Worklists:

  • Referrals for Review
  • Appointment Slot Issues

The Service filter is mandatory when using this security pattern.

This endpoint must only be used to retrieve the worklist for a given service up to two times per day. If this does not meet your requirements, please contact us to discuss your use case.

Therefore the Service ID filter is always mandatory.

You will need to provide the ID of a valid service in the environment. So when making a call in the INT environment you need to ensure the service exists in that environment.

There is guidance on how to setup services in in 2.4 Configure e-RS.

Regards,

Adam.

Hi Adam,

Thanks for your help on this.

Apart from setup services, is there any way for us to get a list of available service ID ?

Hi @Jerry_Ng,

Apart from setup services, is there any way for us to get a list of available service ID ?

I’m afraid there isn’t an API to retrieve the Services at an Organisation.

You are welcome to raise a user need if you feel it’s something your product and users would find useful: Ideas Form.

@zubeir.tai FYI

Regards,

Adam.

Thanks for your help!

Here is the problem we encountered:

  1. We tried to create some referral cases for triage in e-RS dep. env.
  2. We tried to retrieve those cases (for triage) through e-RS API, but Service ID doee not exist.

If there is not API to retrieve full list of service id at an organization, is that possible to check in e-RS front end?

Hi @Jerry_Ng -

Yes, you can get the service ID from the e-RS web application (UI).

If you log-in as a Service Definer at your selected organisation, you can get the Service ID.

Please see the guidance here.

Have you created test services in your test organisation, or are you using the services which already exist?

Thanks,
Z.

Hi,

I can check the service ID by myself now.
Thanks a lot!!

1 Like