Statistics for Improving Data Quality in Primary Care: Modelling, Measurement, and the Design of Interventions