opensafely / tpp-sql-notebook

2 stars 0 forks source link

Defining covariates with a different date range for each patient #47

Open alexwalkerepi opened 4 years ago

alexwalkerepi commented 4 years ago

It's possible for some studies that the time period we'll be looking for will be variable for each patient. For example, we might look for NSAID exposure in the two months before a patient was hospitalised (and also in the same two months for the linked control patients).