generated from opensafely-core/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test for measures where the interval population is dependent on…
… the specific interval Tests the case where an interval denominator is dependent on the specific interval, and the union of all denominators would not capture the full population. If we want to extract variables that don't vary with the interval (e.g. sex, ethnicity), we can get the variable definition for them, but we'd need a population to extract it for. We could define a population that covers the entire interval period, from first start date to first end date, which would work in many cases, but would not work if the interval population is dependent on the specific interval in some way. This test would catch that erroneous assumption.
- Loading branch information
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters