Stream: implementers
Topic: Chained Searches across servers
Nichol Hill (Jan 29 2021 at 02:11):
Hi,
Can anyone help me understand when a resource holds a reference to another resource where the referenced resource is on a different FHIR server, how chained searches are handled? It would be ideal if they can work the same way as if all the resources sit on the same server, however I am not sure of all the practicalities of this (i.e. how the downstream servers are queries, how security is carried etc).
Cheers,
Nichol
Lloyd McKenzie (Jan 29 2021 at 05:05):
FHIR is silent on this. If you can figure out how to make it work in your environment, you're free to do so. I'm not aware of any implementations that actually do though.
René Spronk (Jan 29 2021 at 08:41):
Definitely a question that's being raised increasingly, given the increasing number of (federated) implementations. Worthy of a brainstorm session at one of the HL7 meetings.
For relatively simple searches I could imagine that the primary server fetches a copy of the 'remote resource(s)', [temporarily] stores them locally, and executes the query locally. This doesn't scale, but it'll get the job done.
For complex searches, one may have to somehow break the search into pieces and have them executed on multiple servers. That sounds like a challenge ..
Michele Mottini (Jan 29 2021 at 14:43):
Very few server implement chained search to begin with
René Spronk (Jan 29 2021 at 16:37):
The CDRs that are part of the 'Fireball alliance' all support this - but I agree that your average Facade may not.
Grahame Grieve (Feb 02 2021 at 21:58):
I don't think that that this should be visible in the interface; it's a private implementation detail
Last updated: Apr 12 2022 at 19:14 UTC