FHIR Chat · support for _filter · implementers

Stream: implementers

Topic: support for _filter


view this post on Zulip Mohammad Jafari (Apr 20 2019 at 23:50):

Is there any public FHIR server supporting _filter search queries? Is it going to be supported in HAPI in the upcoming releases?
I'm working on using this to implement a redaction service based on security labels (as discussed here) and I'm looking for a server against which I can test this service.

view this post on Zulip Lloyd McKenzie (Apr 21 2019 at 01:59):

test.fhir.org supports it and I believe it's coming to HAPI soon - @James Agnew ?

view this post on Zulip Grahame Grieve (Apr 21 2019 at 09:55):

it got added to Hapi recently (thanks to @Anthony Sute )

view this post on Zulip Mohammad Jafari (Apr 21 2019 at 15:41):

Thanks @Lloyd McKenzie, @Grahame Grieve . Maybe I'm getting the syntax wrong but all of the following return HTTP 500:
http://test.fhir.org/r4/Condition?_filter=_security%20eq%20N
http://test.fhir.org/r4/Condition?_filter=Condition:_security%20eq%20N
http://test.fhir.org/r4?_filter=Condition:_security%20eq%20N

And the UHN deployed version of HAPI seems to ignore _filter parameters, e.g. the following returns all of the conditions:
http://hapi.fhir.org/baseR4/Condition?_filter=_security%20eq%20R

view this post on Zulip Grahame Grieve (Apr 21 2019 at 21:30):

I forgot to allow "_" at the start of the parameter name when parsing the filter. Will be fixed next release

view this post on Zulip Mohammad Jafari (Apr 22 2019 at 00:19):

Thanks @Grahame Grieve. Do you think there will be a new release before the Connnectathon?

view this post on Zulip Anthony Sute (Apr 22 2019 at 00:43):

The _filter pull request has been submitted and is being merged into the next release of HAPI. The changes I implemented were significant. @James Agnew would know current merge status.

view this post on Zulip Grahame Grieve (Apr 22 2019 at 10:19):

sometime this week

view this post on Zulip Grahame Grieve (Apr 22 2019 at 10:19):

(for my server, that is)


Last updated: Apr 12 2022 at 19:14 UTC