FHIR Chat · query syntax for value "missing or true" · implementers

Stream: implementers

Topic: query syntax for value "missing or true"


view this post on Zulip Simone Heckmann (Aug 11 2016 at 14:20):

What's the proper syntax for a query that's supposed to return all Patients that are either active=true or are missing the "active" attribute?

view this post on Zulip Simone Heckmann (Aug 11 2016 at 14:23):

and that's when I realize that this is the same as Patient?active:not=true

view this post on Zulip Simone Heckmann (Aug 11 2016 at 14:24):

But for curiousity's sake: is there a way to search for an attribute that is either missing or has value x?

view this post on Zulip Brian Postlethwaite (Aug 11 2016 at 21:58):

I was thinking about this one a few weeks ago with respect to active flags.
My thought was that would be good for the default earch to only consider "active" style records, and not have to put the parameters on for that. And force the inclusion of the parameter to include inactive content.

view this post on Zulip Brian Postlethwaite (Aug 11 2016 at 21:59):

For me it makes things more difficult in the administrative sections that you need to deal with what you've pointed out.

view this post on Zulip Grahame Grieve (Aug 11 2016 at 23:22):

default values in search are very troublesome, for all the apparent attractions of defaulting active to true

view this post on Zulip Grahame Grieve (Aug 11 2016 at 23:24):

Patient?active:not=false

view this post on Zulip Grahame Grieve (Aug 11 2016 at 23:24):

I think


Last updated: Apr 12 2022 at 19:14 UTC