Tag history of electronic health records