Routinely-collected health care data has the potential to improve the lives and well-being of patients across the world, through better understanding of disease, and research on existing and new treatments. Presented today at the ESC Congress and simultaneously published in The BMJ, The Lancet Digital Health and European Heart Journal, an international team propose a framework to improve the integrity and quality of studies using health care data, and boost confidence in using the results for clinical decision support.