This repository contains the script of the analysis (excl. preprocessing) described in the paper 'A comparison of two data sources to follow up on cardiovascular disease events in The Maastricht Study: manual review of Maastricht University Medical Centre+’s electronic health records versus use of registry data from the Dutch Hospital Data foundation'. This paper is in preparation for publication.