In addition to structured medical data, EHRs contain free-text patient notes that are a rich source of information (Jensen et al., 2012).
due to privacy and data protection laws, medical records can only be shared and used for research if they are sanitized to not include information potentially identifying patients.