The selection of ANY vs. ALL in "having any/all of the following criteria" for groups that have only one criterion should result in equal generated cohorts.
Actual behavior
However, with Oracle as DBMS and our CDM data, the definition depicted above results in 940 (any) vs. 3 (all) persons being included.
The only difference in the generated SQL statement is the following:
Adding the DISTINCT statement would be an option.
Pls feel free to comment if this issue is better suited in the WebAPI repo.
Expected behavior
The selection of ANY vs. ALL in "having any/all of the following criteria" for groups that have only one criterion should result in equal generated cohorts.
Actual behavior
However, with Oracle as DBMS and our CDM data, the definition depicted above results in 940 (any) vs. 3 (all) persons being included.
Steps to reproduce behavior
We use Oracle 19c, OMOP CDM v5.4 and this cohort definition cohort definition: example_cohort.json.
Further information
The only difference in the generated SQL statement is the following: Adding the DISTINCT statement would be an option. Pls feel free to comment if this issue is better suited in the WebAPI repo.
Thanks for your help ;)