6 quick and easy FHIR queries filled with value

If you’re new to FHIR or your team is new to FHIR, show your expertise by using one of these simple queries.

1. Tell me how many resources match my query
/Patient/?_summary=count
http://hapi.fhir.org/baseR4/Patient/?_summary=count

2. Only give me resource elements where the summary flag is set to true
/Patient/10887184/?_summary=true
http://hapi.fhir.org/baseR4/Patient/10887184/?_summary=true

3. Give me every resource that concerns a particular patient
/Patient/10887184/$everything
http://hapi.fhir.org/baseR4/Patient/10887184/$everything

4. Give me every resource that concerns a particular Encounter
/Encounter/10887187/$everything
http://hapi.fhir.org/baseR4/Encounter/10887187/$everything

5. Give me the Capability Statement for the FHIR server
/metadata
http://hapi.fhir.org/baseR4/metadata

6. Tell me which FHIR versions are supported by the server
/$versions
Postman only (this query won’t work in a browser): https://server.fire.ly/$versions

Not all parameters and operations are supported by all FHIR servers, so I’ve used the HAPI test server to illustrate most of the above.

Did I miss any simple queries? Please post below with an example if you think I did.

Discussion

---

Sign up to “The Tuesday FHIR Sessions” and receive an email every Tuesday where I go deep on a single FHIR topic.