Stream: implementers
Topic: support for _filter
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.
Lloyd McKenzie (Apr 21 2019 at 01:59):
test.fhir.org supports it and I believe it's coming to HAPI soon - @James Agnew ?
Grahame Grieve (Apr 21 2019 at 09:55):
it got added to Hapi recently (thanks to @Anthony Sute )
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
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
Mohammad Jafari (Apr 22 2019 at 00:19):
Thanks @Grahame Grieve. Do you think there will be a new release before the Connnectathon?
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.
Grahame Grieve (Apr 22 2019 at 10:19):
sometime this week
Grahame Grieve (Apr 22 2019 at 10:19):
(for my server, that is)
Last updated: Apr 12 2022 at 19:14 UTC