FHIR Chat · Search with empty values · implementers

Stream: implementers

Topic: Search with empty values


view this post on Zulip 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?

view this post on Zulip 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..

view this post on Zulip Alexander Zautke (Feb 06 2019 at 11:29):

See 3.1.1.3 Handling Errors

view this post on Zulip Alexander Zautke (Feb 06 2019 at 11:31):

"Note: Empty parameters are not an error - they are just ignored by the server."

view this post on Zulip Nikolay (Feb 06 2019 at 11:45):

Thx @René Spronk and @Alexander Zautke =)

view this post on Zulip Michael Donnelly (Feb 06 2019 at 14:27):

That's how Epic handles it.


Last updated: Apr 12 2022 at 19:14 UTC