FHIR Chat · list contains any elements · cql

Stream: cql

Topic: list contains any elements


view this post on Zulip Matthew Dugal (Feb 08 2018 at 19:06):

Is is possible to test if a list contains any elements? Or is Count() > 0 preferred?

view this post on Zulip Matthew Dugal (Feb 08 2018 at 19:08):

Specifically, I am trying to see if the intersection of two lists contains any elements. For instance, are of the the encounter.diagnoses in a value set.

view this post on Zulip Matthew Dugal (Feb 08 2018 at 19:15):

I found Exists() and am guessing it is more appropriate?

view this post on Zulip Grahame Grieve (Feb 08 2018 at 19:42):

y


Last updated: Apr 12 2022 at 19:14 UTC