FHIR Chat · Count summary grouped results by code · implementers

Stream: implementers

Topic: Count summary grouped results by code


view this post on Zulip Michael van der Zel (Apr 30 2020 at 10:40):

I am trying to figure out how to do a simple query like "_summary=count" but then grouped by e.g. code.
I saw some discussion on $stats, $lastn and using a Measure, but not all servers support this. What would you suggest?

view this post on Zulip Lloyd McKenzie (Apr 30 2020 at 14:14):

In general, the query interface doesn't support "group by" functionality.

view this post on Zulip Lloyd McKenzie (Apr 30 2020 at 14:14):

Some operations may

view this post on Zulip Michael van der Zel (May 01 2020 at 07:45):

Ok. I'll go for the Measure then. The other option was a bundle with count queries for each group.


Last updated: Apr 12 2022 at 19:14 UTC