Electronic health records (EHRs) are digital versions of a patient's medical history that are maintained across different healthcare settings. EHRs provide a comprehensive and centralized record of a patient's health information, including medical diagnoses, treatments, medications, test results, and other clinical data.