FHIR Chat · How does FHIRPath work with other criteria? · subscriptions

Stream: subscriptions

Topic: How does FHIRPath work with other criteria?


view this post on Zulip Jenni Syed (Sep 11 2020 at 20:13):

Argonaut examples have both criteria and FHIRPath, and they're duplication of each other. Issue? Though there is a null issue with previous if it isn't there - in FHIRPath needs to use present.notExists or ...

Gino: Intent was that if both are present, FHIRPath restates query criteria (ie: it's intended to be a restatement/equivalent IFF both are present)
What we actually say: http://build.fhir.org/subscriptiontopic.html#resource-value-tests "If a topic requires more granularity than operations provide, a topic can provide either FHIRPath or query (Search) definitions to test against state changes."

Grahame: should we state they are equivalent? Wants both (FHIRPath for things that query can't do)
Problematic for servers that don't do FHIRPath to have things in both areas.

What can't you do with the criteria that you can't do with FHIRPath: query optimization issue. Some things are easier in query that are harder to do in FHIRPath

view this post on Zulip Grahame Grieve (Sep 13 2020 at 11:56):

quick if you can do them in query (or at least, easier to optimise) but FHIRPath is much more expressive


Last updated: Apr 12 2022 at 19:14 UTC