Stream: implementers
Topic: search chaining and _include
Brian Postlethwaite (Nov 22 2017 at 07:00):
Currently the search chaining and _include are not linked.
Does anyone think that this would be a good idea?
e.g. http://sqlonfhir-stu3.azurewebsites.net/fhir/PractitionerRole?endpoint.status=active&_include=PractitionerRole:endpoint
Should only return _include endpoints that are acitve
Christiaan Knaap (Dec 06 2017 at 08:58):
If you do that, you cannot 'unfilter' the _include anymore. It seems you're looking for a kind of subquery, e.g.
[base]/PractitionerRole?endpoint.status=active&_include=PractionerRole:endpoint?status=active
I can see the value of it, but not yet a correct syntax.
Grahame Grieve (Dec 06 2017 at 20:30):
yes this is not possible at the moment. Maybe could explore this in _filter - but no one seems interested in supporting that
Brian Postlethwaite (Dec 07 2017 at 08:49):
Thanks for the tips here, makes sense.
(our use case will be just doing the 2 queries and moving on - though I must have another look at _filter)
Last updated: Apr 12 2022 at 19:14 UTC