smart-on-fhir / cumulus-library

https://docs.smarthealthit.org/cumulus/library/
Apache License 2.0
2 stars 0 forks source link

When counting powersets with a secondary ID field, values less than subject limit are counted #254

Open dogversioning opened 1 week ago

dogversioning commented 1 week ago

This primarily affects conditions. If we are counting encounters, and limiting by subjects >=10, we are getting encounter values that are either <10, or 0, in the resultant output.

it's unlcear why this is happening (more than one patient per encounter? issue with the count query?) but we should address this either by changing the query logic or restricting it to suppress secondary ID counts <10.