Resource 112016
Name:STATA code for identifying prevalent diabetes cases from self-reported medical history

The STATA code in this resource identifies cases of prevalent diabetes based on self-reported medical history, and was used to perform analyses reported in the following publication:

Eastwood SV, Mathur R, Atkinson M, Brophy S, Sudlow C, Flaig R, et al. (2016) Algorithms for the Capture and Adjudication of Prevalent and Incident Diabetes in UK Biobank. PLoS ONE 11(9): e0162388.

https://doi.org/10.1371/journal.pone.0162388

This resource is not suitable for displaying within a web-browser.
It can be downloaded or viewed using the link: DiabetesPrevAlgNov2016.do

If you have wget available (typically on linux systems), then you can also obtain a copy using the command

 wget  -nd  biobank.ndph.ox.ac.uk/ukb/ukb/examples/DiabetesPrevAlgNov2016.do