Using electronic health records to develop and validate a machine-learning tool to predict type 2 diabetes outcomes: a study protocol. Issue 7 (30th July 2021)