Stream: implementers
Topic: chained parameter
Chidamber Kumar (Apr 09 2020 at 18:19):
Hi
I am trying to combine _include and chained parameters.
Something like this http://test.fhir.org/r4/Patient?_id=57&_include=Patient:general-practitioner.given=Frans.
Some how I am not getting desired result. I am looking for a patient with id=57 and a referenced practitioner whose given name is Frans.
The error I am getting is : "Resource Type \"general-practitioner\" not recognised"
Thoughts ?
Michele Mottini (Apr 09 2020 at 18:29):
You cannot use chained search parameter for _includes, only direct ones
Chidamber Kumar (Apr 09 2020 at 18:34):
So, is there any other way to get a patient along with a practitioner of interest ? rather than all of them.
Lloyd McKenzie (Apr 09 2020 at 21:00):
You can use Batch to initiate multiple independent queries in a single call - though you'll get back a Bundle of Bundles - on for each query
Last updated: Apr 12 2022 at 19:14 UTC