Pfizer is experimenting with electronic medical records and mobile technology to detect safety issues sooner.