Skip to content

Commit

Permalink
Merge pull request #5 from opensafely/handle-T1OOs
Browse files Browse the repository at this point in the history
deal with T1OOs
  • Loading branch information
wjchulme authored Nov 9, 2023
2 parents ddb68d8 + 7cd740f commit d13ee9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analysis/extract_covid_vaccination_name_frequency.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ WHERE
VaccinationReference
WHERE VaccinationContent = 'SARS-2 Coronavirus'
)
AND Patient_ID NOT IN (
SELECT Patient_ID FROM PatientsWithTypeOneDissent
)
GROUP BY VaccinationName_ID, VaccinationName
ORDER BY Frequency DESC;
2 changes: 2 additions & 0 deletions analysis/extract_vaccination_names.sql
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
-- We don't query either patient-level or event-level data, so we need not
-- exclude T1OOs using the PatientsWithTypeOneDissent table.
SELECT DISTINCT VaccinationName FROM VaccinationReference

0 comments on commit d13ee9e

Please sign in to comment.