Learning how to write FHIR search queries can be daunting.
At DevDays last week I ran a tutorial session on FHIR search that included running 19 individual queries against a test FHIR server. These queries ran from simple to complicated.
The starting point was to populate the server with solid test data so that the queries returned understandable and consistent results.
For that, I built a postman collection containing a full patient history for 50 individual patients — all based in Synthea data. You’ll find a download link to that collection and a list of all the queries I ran on this page:
FHIR DevDays Search Tutorial
Query 19 at the bottom of the page is particularly interesting.
This “50 FHIR Patients” collection is a perfect starting point when populating a test server and can be run into any server.
I recommend you set up a local FHIR server on your own machine and start testing queries there. Here’s a short post that outlines how to do that:
Installing a local FHIR server on your lap top
---