Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-03125-0, published online 12 July 2024.

In the version of this article initially published, the statement of competing interests for Sameer A. Sheth did not mention consultancy for Abbott, as is now amended in the HTML and PDF versions of the article.