I may phrase this incorrectly but I would like to know is it possible to request 2different queries in 1 request?
I’m trying to request a bundle of encounter based on a location e.g (id: Hall01) but at the same time using the same request, request for an encounter based on the location.partof (id: Hall01). Currently I am able to get an outcome if requested separately as 1. [Base]/Encounter?location=Hall01 2. [Base]/Encounter?location:Location.partof=Hall01
But I would like to know if there’s a more efficient way to request a bundle to contain either queries. Some sort of search parameter where I can request both Encounter.location or Encounter.location:Location.partof if either are present in the Encounter.
Something like this: [Base]/Encounter?location=Hall01,location:Location.partof=Hall01
If I do this tho, FHIR will assume the 2nd part after ‘,’ of the query is gibberish and omit it from the search query
Typically comma is OR and ampersand is AND; See Search - FHIR v4.3.0 for more about this.
Some something like this would work
[Base]/Encounter?location=Hall01,Hall02,Hall03
Perhaps you could try the following however; I don’t know if it works; Also I don’t think it is answering the question you are intending to be answered by the query.