HIEs can provide access to all patient data so that reimbursable services get properly coded. The role of EHRs in HIEs. Electronic Health Record systems (EHRs) are the foundation of any HIE. Without the collection and storage of patient data, providers cannot share patient data such as lab results, diagnoses, and care plans, through the HIE..