How much can we trust electronic health record data?