A patient’s right to access their own medical records from their GP is a long-established principle supported and strengthened by data protection law, most recently the General Data Protection Regulation (GDPR).
Link: Blog: Why the right of access to patient data needn’t be a headache for GPs
Source: ICO .org.uk