Pharmacovigilance systems operate through a combination of spontaneous reporting, electronic health record (EHR) mining, and clinical trials data. Healthcare professionals and patients can report adverse events to regulatory authorities or pharmaceutical companies. These reports are then analyzed to detect potential safety signals. Advanced data mining techniques and algorithms can also be used to identify patterns indicative of ADRs.