Please read the below blog from MHRA and may help you to understand the requirements of EHR from clinical trials perspective.
https://mhrainspectorate.blog.gov.uk...ealth-records/