Stream: implementers
Topic: Search with empty values
Nikolay (Feb 06 2019 at 10:31):
Hi all! If user make search request with empty values, like this -
https://app/fhir/Patient?family=&given=&identifier=
What response will be correct? Just ignoring params without values, or return empty search result?
René Spronk (Feb 06 2019 at 10:47):
We have an explicit :missing qualifier for empty values, so I'd just ignore empty parameters as if they weren't present. There's no guidance on this AFAIK..
Alexander Zautke (Feb 06 2019 at 11:29):
Alexander Zautke (Feb 06 2019 at 11:31):
"Note: Empty parameters are not an error - they are just ignored by the server."
Nikolay (Feb 06 2019 at 11:45):
Thx @René Spronk and @Alexander Zautke =)
Michael Donnelly (Feb 06 2019 at 14:27):
That's how Epic handles it.
Last updated: Apr 12 2022 at 19:14 UTC