EHRs can greatly enhance disease surveillance by providing real-time data on patient diagnoses and treatments. This allows for the timely identification of outbreaks and the monitoring of disease trends. EHRs enable public health officials to rapidly access and analyze data, facilitating quick responses to potential health threats.