Stream: implementers
Topic: Search for multiple profiles
Jakob Lindblad (Oct 15 2018 at 12:03):
Hi,
Is it "ok" to be able to search with multiple profiles in one search?
For example: https://myserver/Device?_profile=oneProfile,anotherProfile
Cant find anything in the fhir specification adressing this.
Thanks
Grahame Grieve (Oct 15 2018 at 12:09):
it's ok
Jakob Lindblad (Oct 15 2018 at 13:13):
Thank you
David Simons (Mar 15 2021 at 18:27):
Interesting, so
_profile=oneProfile,anotherProfile => oneProfile OR anotherProfile
_profile=oneProfile&_profile=anotherProfile => oneProfile AND anotherProfile)
Could not find it other than here:
https://www.hl7.org/fhir/search.html#escaping
"GET [base]/Observation?code=a,b is a request for any Observation that has a code of either a or b, whereas:"
and here
https://www.hl7.org/fhir/search.html#has
"Or" searches are allowed"
Thanks!
Daniel Venton (Mar 16 2021 at 20:23):
I believe a "TokenAndListParam" or the string variety allows:
_profile=a,b&_profile=c,d
Profile is (a or b) AND (c or d)
That would be HAPI data types....
Last updated: Apr 12 2022 at 19:14 UTC