Stream: implementers
Topic: construct search query with OR
Raheel Sayeed (Apr 17 2018 at 17:34):
Trying get a list of Patient
s by either matching Patient.name
OR Patient.identifier
(MR)
While AND this works: /Patient?identifier=<identifier>&name=abbot
, What would be construct for the "OR" between the two?
Christiaan Knaap (Apr 18 2018 at 11:21):
That is not possible with the search interface. The filter language can do it, but that is currently only implemented on test.fhir.org.
Christiaan Knaap (Apr 18 2018 at 11:21):
Or you just issue two separate queries and add up the results in your client.
Raheel Sayeed (Apr 18 2018 at 15:48):
Okay, thats good to know. Thanks.
Last updated: Apr 12 2022 at 19:14 UTC