Supplementary file 1 contains the medical and product codes using from the Clinical Practice Research Datalink in defining the population to be included in this study. Supplementary file 2 contains some further results and information about the cohort that were not included in the main publication but may be useful to aid understanding of the results found.