Correction to: Nature Medicine https://doi.org/10.1038/s41591-021-01355-0, published online 5 May 2021.

In the version of this article initially published, two author names (Alfred Lee and Saad Omer) were missing the middle initial. The correct names are ‘Alfred I. Lee’ and ‘Saad B. Omer’ (respectively). The errors have been corrected in the HTML and PDF versions of the article.