Funding for this research was provided by:
Medical Research Council (MR/N013751/1)
Received: 6 February 2019
Accepted: 14 June 2019
First Online: 17 July 2019
Change Date: 10 August 2019
Change Type: Correction
Change Details: The original article  contained an error in the abstract. The mentioned cohort size now correctly states ‘N = 3,855,660’.
Ethics approval and consent to participate
: The study was approved by the independent scientific advisory committee for Clinical Practice Research Datalink research (protocol no. 17_125RMn2.). The interpretation and conclusions contained in this study are those of the authors alone.
: Not applicable
: DA reports research grants from Abbvie, Almirall, Celgene, Eli Lilly, Novartis, UCB and the Leo Foundation. The other authors declare that they have no competing interests.