Legal aspects regarding the use and integration of electronic medical records for epidemiological purposes with focus on the Italian situation.