Gravar-mail: A Middleware Approach to Integrate Referent Tracking in EHR Systems.