FHIR Chat · Apply Search Parameters to _include/_revinclude · implementers

Stream: implementers

Topic: Apply Search Parameters to _include/_revinclude


view this post on Zulip Ross Kistinger (Sep 11 2017 at 17:51):

Can you apply search parameters to _include or _revinclude parts in a client query? For example, I want to search for Patients and include Conditions that have a code of 12345. I would expect the url to look like /Patient?_revinclude=Condition:patient.code=12345. Thanks!

view this post on Zulip Lloyd McKenzie (Sep 11 2017 at 18:10):

There's no ability to filter included resources. You can use _having to filter the primary resource based on characteristics of the related resources, but to filter releated resources you need to look at _filter or GraphQL

view this post on Zulip Lloyd McKenzie (Sep 11 2017 at 18:10):

(The latter is super new and not widely supported)

view this post on Zulip Lloyd McKenzie (Sep 11 2017 at 18:10):

The former is old and also not widely supported :(

view this post on Zulip Grahame Grieve (Sep 11 2017 at 19:24):

what is _having?

view this post on Zulip Chris Grenz (Sep 11 2017 at 19:25):

I think it's Canadian for _has

view this post on Zulip Grahame Grieve (Sep 11 2017 at 19:25):

oh that will be it. Lloyd's brain is fried from the unusually long Canadian summer

view this post on Zulip Lloyd McKenzie (Sep 11 2017 at 20:41):

:P


Last updated: Apr 12 2022 at 19:14 UTC