Stream: IPS
Topic: Chained Param Search - FHIR Document
Sheridan Cook (Feb 16 2022 at 20:26):
Are there any FHIR servers available for testing IPS that currently support searches against Bundle using the following parameter chain: bundle.composition.patient.identifier?
We're trying to test the boundaries of searching within Bundle contents & performing additional operations when the server is only loaded with the Bundle (and not the individual resources) @Rob Hausam @Nancy Lush @Peter Jordan
Nancy Lush (Feb 16 2022 at 22:22):
Thanks for posting this, Sheridan. This is our question as well. We tried the bundle search on Rob's server, but it did not support bundle search. (Patient Search works fine.) If we do find another endpoint that works we will update on this thread.
Vassil Peytchev (Feb 16 2022 at 22:42):
A probably more feasible approach is to expect that an IPS document is pointed to by a DocumentReference. That would make common searches easier to perform.
Rob Hausam (Feb 16 2022 at 23:10):
That's something to consider. But also an additional requirement to (maybe) impose.
Elliot Silver (Feb 16 2022 at 23:15):
Rob Hausam said:
That's something to consider. But also an additional requirement to (maybe) impose.
Creating a DocumentReference is an additional requirement or supporting Bundle chained searches? Seems to me work is required either way. (Unless you plan on decomposing the received document and integrating the individual resources into your system, which is, also, additional work.)
Rob Hausam (Feb 17 2022 at 04:45):
Agree. It's a matter of deciding which way(s) to do it.
René Spronk (Feb 17 2022 at 07:40):
Generic search features should be testable on the public HAPI and Firely Server test servers, http://server.fire.ly/R4/Bundle?composition.patient.identifier=574687583 certainly works.
John Moehrke (Feb 17 2022 at 12:16):
Seems this should not be in IPS, but rather in IPA or other specifications. I prefer if IPS focuses on the document content
Vassil Peytchev (Feb 17 2022 at 14:06):
Creating a DocumentReference is an additional requirement or supporting Bundle chained searches?
No, using DocumentReference would avoid the need to support Bundle chained searches.
Elliot Silver (Feb 17 2022 at 15:18):
Vassil Peytchev said:
No, using DocumentReference would avoid the need to support Bundle chained searches.
Agree. Alternatively, implementing Bundle chained searches would avoid the need to support DocumentReference (if your architecture doesn't otherwise need DocumentReference). My point is that there is effort here one way or the other.
Vassil Peytchev (Feb 17 2022 at 15:27):
My point is that there is effort here one way or the other.
This sounds as if the effort is interchangeable. I have a hard time envisioning an architecture that has to deal with documents of any kind, and not needing to support DocumentReference.
Sheridan Cook (Feb 17 2022 at 15:35):
Hey folks, we hear you on the DocumentReference front. As Elliot pointed out, both will require some amount of effort for implementers (and that effort will be contextual based on your existing architecture) so we are evaluating the pros/cons of all options right now. By testing the boundaries of chained search on Bundle for a FHIR Document loaded in isolation, we are hoping to better understand the limitations of this approach on a variety of user behaviors. @René Spronk @Nancy Lush - the Firely server will work for the initial chained parameter search but we may hit a barrier doing later tests with it since it doesn't support $summary operation which we were hoping to test in later stages.
Peter Jordan (Feb 17 2022 at 23:46):
It might be insightful to see full, working examples of requesting a specific IPS instance - without prior knowledge of ANY resource id - using either a Bundle chained search or a DocumentReference search: noting that even a LOINC-coded document type is insufficient and a Patient Identifier is required. I'd be happy to implement either approach, even though Patient$summary looks to be the best fit.
René Spronk (Feb 18 2022 at 07:54):
One could kindly ask the teams behind the public HAPI and Fire Servers to support the $summary operation - they may, or may not, wish to extend the public servers with such an operation.
Rob Hausam (Feb 18 2022 at 13:10):
@René Spronk Doing that is (or at least should be) part of the ultimate plan. Jens Villadsen has created a $summary operation definition that he is using with HAPI (I'm intending to implement it on my HAPI server, too). That is now included in the CI build of the IPS IG (here) - although it's somewhat buried and not too obvious to navigate to right now, which we should fix.
Last updated: Apr 12 2022 at 19:14 UTC