FHIR Chat · Group By Patient Attribute · implementers

Stream: implementers

Topic: Group By Patient Attribute


view this post on Zulip Taylor SaBell (Oct 20 2020 at 23:35):

Hi all,

I’ve been looking for a way via the FHIR REST API to find duplicate Patient resources by social security number. Something where I could group the patients by social security number and then filter down to only show groups that have 2 or more results.

This is a simple database query, but the underlying database isn’t available to me. I’ve looked extensively through the specification and other online resources, but haven’t found anything promising to do this via the FHIR REST API.

Do I have any options? Or am I trying to fit a square FHIR peg into a round SQL hole? Any feedback is greatly appreciated.

Thank you,
Taylor

view this post on Zulip Vassil Peytchev (Oct 21 2020 at 01:43):

Have you looked at _filter?

view this post on Zulip Taylor SaBell (Oct 21 2020 at 04:50):

Yes. It has a lot of good stuff, but so far I haven't found a way to use it to group resources by an attribute value.


Last updated: Apr 12 2022 at 19:14 UTC