Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-03385-w, published online 6 January 2025.

In the version of the article initially published, in Fig. 2c, the labels “In favor of IV iron” and “In favor of oral iron” were switched and have now been amended so that “In favor of oral iron” is on the left and “In favor of IV iron” is on the right in the HTML and PDF versions of the article.