FHIR Chat · HAPI Question · hapi

Stream: hapi

Topic: HAPI Question


view this post on Zulip Grahame Grieve (Nov 04 2016 at 11:59):

@James Agnew : hapi question at http://stackoverflow.com/questions/40404398/how-to-search-in-contained-resources

view this post on Zulip James Agnew (Nov 04 2016 at 11:59):

tx

view this post on Zulip Hannes Ulrich (Nov 04 2016 at 12:09):

Thanks for the answer!

view this post on Zulip James Agnew (Nov 04 2016 at 12:11):

anytime :)

view this post on Zulip Hannes Ulrich (Nov 04 2016 at 12:13):

I just check the search docs again, MedicationOrder has the Medication search param, I totally missesd that. So is there any good way to handle contained resources?

view this post on Zulip James Agnew (Nov 04 2016 at 12:16):

I guess it depends what you mean by "handle".

If you need to search for resources that have contained resources containing given parameters, HAPI JPA isn't able to do that. You could implement your own database layer using HAPI server (but not JPA). You could also find a way to give them a reliable ID so that you don't need to contain them.

view this post on Zulip Hannes Ulrich (Nov 04 2016 at 12:18):

Yeah, I thought about that! thanks for the hint

view this post on Zulip Kapil (Apr 23 2019 at 09:10):

Hello,
I am exploring FHIR and came across some scenarios where looking for help to confirm my understanding;
can we expose 'Bundle' as Resource ? e.g. https://fhir-server/Bundle as endpoint. Is this recommended or we shall define Custom operation that takes the bundle payload ?
If so then how we interpret meaning of CRUD operation for Bundle Resource since its just collection of actual resource so there is no resource id or modeling in data represent the resource structure as is.

Also since Bundle is collection of resource so does HAPI server implementation provide out of box feature that allows to split the external request and route individual resource request to respective resource end point internally ?

Any information in this area will be helpful.

Thanks !


Last updated: Apr 12 2022 at 19:14 UTC