Cookies on this website

We use cookies to ensure that we give you the best experience on our website. If you click 'Continue' we'll assume that you are happy to receive all cookies and you won't see this message again. Click 'Find out more' for information on how to change your cookie settings.

In this blog Senior Statistician and Epidemiologist Dr Margaret Smith, co-lead on our new accredited short course Medical Statistics for Big Data, describes a recent study on maternal anaemia and congenital heart disease, done using the CPRD GOLD database of electronic health records. Students on our new course will acquire skills enabling them to analyse similar studies using electronic health record databases, and much more besides.

About the author: 

Dr Margaret Smith is a Senior Statistician and Epidemiologist and has been with the Nuffield Department of Primary Care Health Sciences since October 2014. She is part of the CPRD (Clinical Practice Research Datalink) team and is joint course lead on the Centre for Evidence-Based Medicine (CEBM)'s new accredited short course Medical Statistics for Big Data.

Why are electronic health record databases so useful for epidemiological research? 

Vast quantities of routinely collected health-related data are stored electronically as part of patient care. Some of these data are available in the form of anonymised databases for health care research.  

One such database is the Clinical Practice Research Datalink GOLD database which contains anonymised patient records, including patient demographics, health related measurements, smoking and alcohol histories, diagnoses and test results from 21 million patients registered at 986 GP practices in the United Kingdom.  

The scale and the richness of the data mean that electronic health record databases can be used to do studies that would otherwise be hard to power or that need lengthy periods of follow-up. Electronic health record databases can also be used for development of clinical prediction rules (see our Clinical Prediction Rules short course covering this specific topic).

Maternal anaemia and congenital heart disease in offspring 

We investigated whether maternal anaemia (low haemoglobin) in early pregnancy was associated with congenital heart disease in the offspring. Congenital heart disease affects about one percent of live births and despite modern surgery techniques, it is still a major cause of infant mortality and morbidity. 

We used data from CPRD GOLD, linked to data on diagnoses made in hospital (Hospital Episode Statistics) and data on cause of death. We used the CPRD Pregnancy Register to find pregnancy records and the CPRD mother-baby link to find the baby from each pregnancy. 

The study population consisted of mother-baby pairs where the mother had a haemoglobin measurement made in the first 100 days of pregnancy. We did a matched case-control study which means that for each mother-baby pair where the baby had congenital heart disease we looked for another five mother-baby pairs with pregnancy start date within six months, where the baby didn’t have congenital heart disease. 

In the 2776 mother-baby pairs where the baby had congenital heart disease, 123 (4.4%) of mothers had low haemoglobin. In the 13,880 matched mother-baby pairs where the baby didn’t have congenital heart disease only 390 (2.8%) of the mothers had low haemoglobin. 

We used conditional logistic regression adjusted for other potential confounders to get odds ratios for congenital heart disease in babies of mothers with low haemoglobin (< 110 g/L) compared to higher haemoglobin. We used the missing indicator method, or multiple imputation to deal with missing data.  

After adjusting for potential confounders, the odds of giving birth to a CHD‐diagnosed child were 47% higher among mothers with low haemoglobin (adjusted OR 1.47, 95% CI 1.18 to 1.83, p < 0.001). However, this preliminary evidence should be interpreted cautiously as we had considerable amounts of missing data for some of the confounding variables and others potential confounders weren’t available at all in GOLD. You can view the study here. 

What does the short course on Medical Statistics for Big Data cover? 

On this new course, students will learn some more advanced statistical methods that that are relevant to electronic health record studies. These will include Poisson regression for counts and rates, conditional methods for matched and self-controlled study designs and approaches to the analysis of interrupted time series. Students will be introduced to causal inference and propensity scores. The course will cover multiple imputation for missing data, including when to apply it and analysing imputed data. The course will emphasise practical application of these methods. 

Medical statistics academic tutoring Evidence-Based Health Care students

How does this course differ from the Big Data Epidemiology course? 

The Big Data Epidemiology course teaches students about how to design a study and how to manage data for a study that uses electronic health record data. However, the course does not include any in depth teaching or practicals on methods of statistical analysis. 

How can I apply? 

You can find out more information and how to apply on the Medical Statistics for Big Data course page. 

Who teaches on the course? 

Dr Margaret Smith is Deputy Director of the MSc in EBHC Medical Statistics and has been using electronic health record data for medical research since 2015. Dr Emily McFadden, a senior epidemiologist, and Richard Stevens, a Professor of Medical Statistics, have over 20 years experience providing expert advice to the MHRA (the United Kingdom equivalent of the FDA) on electronic health record data.  Francesca Little is Professor Emeritus at University of Cape Town and now leads MSc-level teaching modules in Oxford's Evidence Based Health Care programme.

References:

Nair M, Drakesmith CW, Smith M, Bankhead CR, Sparrow DB. Maternal Anaemia and Congenital Heart Disease in Offspring: A Case-Control Study Using Linked Electronic Health Records in the United Kingdom. BJOG. 2025 Jul;132(8):1139-1146. doi: 10.1111/1471-0528.18150. Epub 2025 Apr 23. PMID: 40264354; PMCID: PMC12137751. 

 

 

Similar stories

Inge Schabort: My journey through the Master’s in Evidence-Based Health Care

MSc in Evidence-Based Health Care alumna Inge Schabort reflects on balancing full-time clinical practice, teaching and research while studying at Oxford, and explains how the programme helped shape her international career in evidence-based medicine and medical education.

Data needs dialogue: How talking with patients changed how I work as a quantitative researcher

Evelyn Pyper, DPhil Student in Evidence-Based Health Care, shares her learnings and reflections on how patient interviews prompted her to rethink her relationship to data.

In conversation with Adil Lakha: An Academic Clinical Fellow’s journey through the PGCert in Health Research

Adil Lakha, an Academic Clinical Fellow at Oxford, shares his experience of the PGCert in Health Research and how it has strengthened his approach to evidence-based clinical practice.

CEBM Medical Students: Taking a systematic review from concept to publication

Holden Eaton (left), Kate Eastwick-Jones (centre) and Archie Watt (right) recently graduated from the undergraduate medical education programme at the University of Oxford. During their studies, they participated in a two-week Special Study Theme (SST) with the Centre for Evidence-Based Medicine (CEBM). In this blog, they share about their experiences of the SST and publishing their work.

Mixed methods in health care research: A Q&A with EBHC Master's student and postdoctoral researcher Karen Richmond

Karen Richmond is a postdoctoral researcher and student on the MSc in Evidence-Based Health Care. As part of her studies, she completed the Mixed Methods in Health Research module. In this Q&A style blog, she reflects on how the course has expanded her methodological toolkit, enabling her to bridge qualitative and quantitative approaches in her interdisciplinary research at the intersection of law, science and technology.

How MSc in EBHC alumnus Dr Lance Sese’s dissertation research could significantly aid decision-making in tailoring care before, during, and after paediatric neurosurgery.

MSc in EBHC alumnus Lance Sese shares his experiences on the programme including the intellectual camaraderie fostered by mentors and peers, the flexible structure allowing him to continue in his full-time medical work, his dissertation research around paediatric neurosurgery and readmissions of children post-surgery, and his success in publishing this research in the BMJ Open.