opensafely / antibody-and-antiviral-deployment

While vaccines remain the best strategy to prevent COVID-19, mAbs could potentially benefit certain vulnerable populations before or after exposure to SARS-CoV-2, such as the unvaccinated or recently vaccinated high-risk patients.
MIT License
1 stars 4 forks source link

feat: only include ppl not hosp at date of +ve test #54

Closed LindaNab closed 2 years ago

LindaNab commented 2 years ago

This PR adds:

Notes:

gitpod-io[bot] commented 2 years ago

LindaNab commented 2 years ago

Second commit adds variable any_covid_hospital_admission_date, used to check if there was a covid hospitalisation in the 30 days prior to a +ve test (covid as a primary diagnosis or not primary). This is used alongside SGSS test data to check "As per NHSD’s test rule set logic, patients with a prior +ve test within the last 30 days were excluded".