Medical errors are the 3rd leading cause of death. One in four patients are harmed while receiving healthcare. Medication errors cost a lot and kill a lot. They are a costly but preventable problem. MedGuard, a system developed using 1.3 billion medical big data and artificial intelligence, helps to prevent medication errors. MedGuard delivers proactive protection and recommendations and has been tested in a live clinical trial at three teaching hospitals.