Gathering data for decisions: best practice use of primary care electronic records for research | Synapse