Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exists() returnes wrong result for null and null list #86

Open
ReneSpronk opened this issue Nov 23, 2023 · 0 comments
Open

exists() returnes wrong result for null and null list #86

ReneSpronk opened this issue Nov 23, 2023 · 0 comments

Comments

@ReneSpronk
Copy link

Spec states:

define "ExistsIsTrue": exists { 1, 3, 5, 7 }
define "ExistsIsFalse": exists { }
define "ExistsIsAlsoFalse": exists { null }
define "ExistsIsAlsoAlsoFalse": exists null

CQL Runner returns 'undefined' (should be: false) for:

library BareMinimum version '0.0.1'
using FHIR version '4.0.1'
define N: [Basic]
define X: exists N // 'undefined'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant