An EHR stores a wide range of medical information, including patient demographics, medical history, diagnoses, medications, allergies, laboratory test results, and immunization records, among others.