OHDSI / ClinicalCharacteristics

[under development] table shell approach to OMOP characterization
Apache License 2.0
0 stars 0 forks source link

Add ability to filter characterizations by source concept #14

Closed katy-sadowski closed 5 months ago

katy-sadowski commented 5 months ago

For all event characterizations, I have added a parameter sourceConcepts that lets the user specify a list of source concept IDs to further filter the query against the event table. Similar to ATLAS's source concept attribute.

I followed the pattern used by conceptType to add this param, so there's not too much to explain here. Though let me know if you'd like to walk through the change together!

I have tested it on a condition presence characterization and no error was thrown; results looked reasonable too. I plan to further validate by running the same characterization in ATLAS and in ClinChar and comparing the results.