How do you get a total record count in FHIR?

Say you want to know the number of Procedures with a status of ‘on-hold’.

Here are two ways.

In SQL this would look like:

select count(*) from Procedure where status=on-hold

In FHIR your query would be:




Example query 1:

Example query 2:

Simple, yet so many FHIR developers don’t know how to do this.



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