So it’s been a while since I’ve actually made just a ridiculous number of graphs, fortunately this drought is at an end. Thanks to Open Prescribing we have access to an easily searchable repository of GP prescription data. I’ve used it before to show trends in statin prescription, how for example Atorvastatin is taking Simvastatin’s lunch money.
While this is all very well and good, I was wondering what we could combine with this information to draw some more interesting conclusions. An answer came from the MHRA (Medicines and Healthcare products Regulatory Agency), in the form of drug safety updates. Over at www.gov.uk/drug-safety-update is a curated list of alerts issued by the MHRA that go out to healthcare workers whenever new information about a medicine is discovered.
I wrote a scraper that searched for the names of drugs appearing in this list, then plotted the dates these alerts appear over the Open Prescribing data. What you get is something like this:
It should be noted at this point that these instances don’t mean that medications were suddenly found to be killing large swathes of people. In most cases when adverse information is found out, requirements become stricter or patients are more closely monitored. Just because a drug is found to be slightly more dangerous doesn’t mean it isn’t still the best choice in a particular scenario.
If anyone wants to mess around with the code or verify my findings all the code can be found at glfharris/MHRA-Updates. Quick disclaimer, most of the hits weren’t as interesting as the ones I’ve shown. Drugs with common names/uses can be mentioned in alerts not about themselves, and not all alerts are that significant or wide ranging. Here for example was the plot for Cetirizine.