PDS API Sandbox returns inconsistent values where there is no predefined response

The PDS API Sandbox environment returns an empty Bundle in response to Patient searches where there is no predefined response. This leads to misleading behaviour. For example:
Patient?family=Sm* returns 2 matches
Patient?family=Smi* returns 0 matches
Patient?family=Smith returns 1 match

It would be useful to warn user when providing default search responses.

Logged on GitHub along with a quick fix.

I’ve raised an internal ticket to look at this. We’ll aim to keep the github issue updated

1 Like

NHS API Management team let me know that this fault has been added to the backlog as ticket SPINEDEM-1023 but it’s not expected to be resolved in the immediate future.