# Finding test patients with comprehensive data (Observations / Encounters / Procedures)

**URL:** <https://openhealthhub.org/t/finding-test-patients-with-comprehensive-data-observations-encounters-procedures/2096>\
**Category:** FHIR\
**Created:** [23 June 2019 11:43 UTC](https://openhealthhub.org/t/finding-test-patients-with-comprehensive-data-observations-encounters-procedures/2096 "2019-06-23T11:43:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Bourne](https://openhealthhub.org/user_avatar/openhealthhub.org/matt_bourne/32/660_2.png) [@Matt\_Bourne](https://openhealthhub.org/u/Matt_Bourne)\
**Post date:** [23 June 2019 11:43 UTC](https://openhealthhub.org/t/finding-test-patients-with-comprehensive-data-observations-encounters-procedures/2096/1 "2019-06-23T11:43:16Z")

</div>

I’m trying to pull down data from [https://data.developer.nhs.uk/ccri-fhir/STU3/](https://data.developer.nhs.uk/ccri-fhir/STU3/)

Are there any known patient IDs that contain data for all (or most resources).

Looking for a patient with lots of appointments, observations etc.

Related to this is how to get all observations / appointments for a patient

For example this call that @mayfield.g.kev shared [https://data.developer.nhs.uk/ccri-fhir/STU3/Patient?\_id=1172&\_revinclude=Condition%3Apatient&\_revinclude=AllergyIntolerance%3Apatient&\_revinclude=MedicationStatement%3Apatient&\_revinclude=Flag%3Apatient&\_count=100](https://data.developer.nhs.uk/ccri-fhir/STU3/Patient?_id=1172&_revinclude=Condition%3Apatient&_revinclude=AllergyIntolerance%3Apatient&_revinclude=MedicationStatement%3Apatient&_revinclude=Flag%3Apatient&_count=100)

Works

But

[https://data.developer.nhs.uk/ccri-fhir/STU3/Patient?\_id=1172&\_revinclude=Observation%3Apatient&\_revinclude=Encounter%3Apatient&\_count=100](https://data.developer.nhs.uk/ccri-fhir/STU3/Patient?_id=1172&_revinclude=Observation%3Apatient&_revinclude=Encounter%3Apatient&_count=100)

return nothing other than the patient core data. Not sure if this is due to no matching data or wrong request.

---

<div class="post-metadata">

**Author:** ![mayfield.g.kev](https://openhealthhub.org/user_avatar/openhealthhub.org/mayfield.g.kev/32/648_2.png) [@mayfield.g.kev](https://openhealthhub.org/u/mayfield.g.kev)\
**Post date:** [24 June 2019 11:37 UTC](https://openhealthhub.org/t/finding-test-patients-with-comprehensive-data-observations-encounters-procedures/2096/2 "2019-06-24T11:37:16Z")

</div>

Still not a lot of data but some of the previous hackathons added data aligned with GP Connect. These patients should exist on opentest spine, GP Connect and the CareConnect Reference Implementation.

[http://orange.testlab.nhs.uk/opentest.html](http://orange.testlab.nhs.uk/opentest.html)

---

<div class="post-metadata">

**Author:** ![mayfield.g.kev](https://openhealthhub.org/user_avatar/openhealthhub.org/mayfield.g.kev/32/648_2.png) [@mayfield.g.kev](https://openhealthhub.org/u/mayfield.g.kev)\
**Post date:** [24 June 2019 13:05 UTC](https://openhealthhub.org/t/finding-test-patients-with-comprehensive-data-observations-encounters-procedures/2096/3 "2019-06-24T13:05:26Z")

</div>

This may be of interest (but it’s US and LOINC focused not SNOMED)

> **[synthetichealth/synthea](https://github.com/synthetichealth/synthea)**
>
> Synthetic Patient Population Simulator. Contribute to synthetichealth/synthea development by creating an account on GitHub.

It does create a lot of data and the CCRI did accept data from synthea when I last tested it (a few months/year ago)

---

<div class="post-metadata">

**Author:** ![Matt\_Bourne](https://openhealthhub.org/user_avatar/openhealthhub.org/matt_bourne/32/660_2.png) [@Matt\_Bourne](https://openhealthhub.org/u/Matt_Bourne)\
**Post date:** [24 June 2019 14:48 UTC](https://openhealthhub.org/t/finding-test-patients-with-comprehensive-data-observations-encounters-procedures/2096/4 "2019-06-24T14:48:47Z")

</div>

Thanks @mayfield.g.kev. Looks interesting. Are there any basic web frontends already set up for adding patient data to [https://data.developer.nhs.uk/ccri-fhir/STU3/](https://data.developer.nhs.uk/ccri-fhir/STU3/) ?

[http://clinfhir.com/](http://clinfhir.com/) Looks good you can add [https://data.developer.nhs.uk/ccri-fhir/STU3/](https://data.developer.nhs.uk/ccri-fhir/STU3/) as an ad-hoc endpoint to test queries which is great. It also has a way to add patient data vie the patient viewer althou seems to require $everything is supported.

Is it worth adding to known servers [Server Query](http://clinfhir.com/query.html) ?

---

<div class="post-metadata">

**Author:** ![mayfield.g.kev](https://openhealthhub.org/user_avatar/openhealthhub.org/mayfield.g.kev/32/648_2.png) [@mayfield.g.kev](https://openhealthhub.org/u/mayfield.g.kev)\
**Post date:** [21 December 2019 07:34 UTC](https://openhealthhub.org/t/finding-test-patients-with-comprehensive-data-observations-encounters-procedures/2096/5 "2019-12-21T07:34:45Z")

</div>

I’ve got similar requirements for HL7v2 - need examples.

I did put some examples in [GitHub - nhsconnect/careconnect-examples: Example code for the CareConnect API](https://github.com/nhsconnect/careconnect-examples)  
It’s not that tidy but some of the modules contain xml and json FHIR examples, e.g. [careconnect-examples/ccri-interopen-examples/src/main/resources at master · nhsconnect/careconnect-examples · GitHub](https://github.com/nhsconnect/careconnect-examples/tree/master/ccri-interopen-examples/src/main/resources)
