FHIR Chat · Filtering and sorting on Bundles · hapi

Stream: hapi

Topic: Filtering and sorting on Bundles


view this post on Zulip Kristof Taveirne (Sep 28 2020 at 15:26):

Hi,

I'm using the HAPI libs in an Integration Service linking multiple services together.
I'm currently dealing with a FHIR endpoint that basically ignores any other filters that I pass it except for ?patient=

Our backend however expects these filters to be applied, so we need to deal with it in our integration layer.

I'm using the HAPI client to forward the request, but then I need to be able to apply the filter that the integration service received to the result returned by that lazy endpoint.

Is there a way to do this using the HAPI fhir libs?

I'm talking about supporting requests like
/Encounter?patient=12345&type:text=Option1,Option2&_sort=type,-date&_count=1

Basically the service i'm sending this request to ignores everything after the patient id.

Thank you
Kristof.


Last updated: Apr 12 2022 at 19:14 UTC