We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
case_index_date
1 parent 4e7818f commit 31e50b4Copy full SHA for 31e50b4
docs/case-control-studies.md
@@ -154,7 +154,7 @@ dataset.define_population(
154
Don't forget to add additional population constraints to the dataset if you require them!
155
156
Since the `case_index_date` column in `matched_patients` is now accessible,
157
-we can use it to define columns of *non-matching data* in our dataset.
+we can use it as the index date for controls (since they by definition don't have an index date).
158
For example, we might want to see if our matched controls have had a codelist event on or after their case index date.
159
```python
160
from ehrql import codelist_from_csv
0 commit comments