Skip to main content

PDS FHIR API test data

Download PDS FHIR API test data packs.

Overview

Use these test data packs to test the PDS FHIR API in our integration test environment.

Note these packs represent a small fraction of the test data available in our integration test environment.

Do not use these test packs for testing PDS updates - they are shared by everyone. To test PDS updates, see Testing updates.


General tests

Use this read-only test data pack to test retrievals by NHS number and searches that return unique matches.

It is the same data used for testing the PDS SMSP API.


Testing multiple matches

Use this read-only test data pack to test a variety of scenarios. In particular, use the records in the 'Multiple Matches and Dirty Data' tab to test searches that return multiple matches and various 'dirty data' scenarios.


Testing too many matches

Use this read-only test data pack to test a search that returns too many matches.


Testing other scenarios

If the above test data packs do not meet your testing needs, you can:

  • contact us and let us know - if your need is a common one, we might add test data to our packs to support it
  • set up your own test data

Testing updates

To test PDS updates, you need to set up your own test data.


Production smoke testing

When you first deploy your application in a production environment, you might want to 'smoke test' it to make sure you have configured things correctly.

You must not use real patient data for this.

Rather, use this test patient:

NHS number 9990548609
Given name DONOTUSE
Family name XXTESTPATIENT-TGNP
Date of birth 06/01/1932
Postcode LS1 6AE
Gender Male
Registered GP Y90001

 

Last edited: 22 November 2023 3:54 pm