OHDSI / circe-be

CIRCE is a cohort definition and syntax compiler tool for OMOP CDMv5
Apache License 2.0
9 stars 13 forks source link

Add ConceptSet fields for any Concept[] criteria attributes #173

Open chrisknoll opened 2 years ago

chrisknoll commented 2 years ago

The current functionality where a criteria object uses a Concept[] prevents users from re-using code lists for those fields. The code list reuse is implemented via concept set expressions, so this issue is to add new fields in criteria objects to add a place to specify concept set expressions for any field that accepts Concept[].

Examples: {domain}TypeConcepts, Gender and ProviderSpecialty.

We would leave the existing Concept[] fields in the 1.x line of circe for backwards compatibility, but would deprecate/remove them in 2.x.