A medical implant including a drug sensor and a global positioning system (GPS) module connected to a wireless network. The GPS module sends a location of the patient and optionally information of when patient uses an illegal drug when the sensor detects the drug within the patient's bloodstream.