Unfortunately, your browser is too old to work on this website. Please upgrade your browser
Skip to main content
  • Run by NHS Greater Glasgow and Clyde, in partnership with University of Glasgow and the University of Lyon.
  • Aimed to improve medicines adherence assessment and support for outpatients in Greater Glasgow and Clyde.
  • Used the programming language R to analyse prescription data to provide clinicians with adherence estimates and visualisation of medication histories at the point of care.
  • Ran from September 2019 to December 2020.

Adherence to medicines is an important indicator of the quality of medication management, and impacts health care outcomes and cost effectiveness. Patients with long-term conditions, such as epilepsy, are often poorly adherent, which results in increased use of health care and higher risk of death.

Currently, specialist clinicians within the outpatient setting rely on self-reported adherence, which is unreliable and prone to bias. This project from NHS Greater Glasgow and Clyde aimed to provide access to an estimate of adherence at the point of care using information on medicines dispensed to patients in the community.

The programming language R was used, and natural language processing to identify regular expressions in prescription dose instructions, and an R-package (AdhereR) was used to calculate adherence and to visualise the medication history.  

These advanced analytics were incorporated into the Medicines Adherence Visualisation Information System (MAVIS). This innovative app allows clinicians to flexibly visualise individual medication histories, measure adherence patterns and access verified health psychology educational resources to effectively guide adherence support. Evaluation of clinicians’ experience of using MAVIS to address patient adherence issues in outpatient clinics is currently ongoing. 

The project team gained valuable experience in using R and successfully adapted to the challenges of COVID-19 to deliver sustainable changes in analytical capabilities for health care delivery. They plan to continue to build on their new-found skills by implementing R in future quality improvement initiatives and making it the ‘business as usual’ software for data analysts.

Contact information

For more information about this project, please contact Seán MacBride-Stewart, Lead for Medicines Management Resources, NHS Greater Glasgow and Clyde.

You might also like...

Kjell-bubble-diagramArtboard 101 copy

Get social

Follow us on Twitter
Kjell-bubble-diagramArtboard 101

Work with us

We look for talented and passionate individuals as everyone at the Health Foundation has an important role to play.

View current vacancies
Artboard 101 copy 2

The Q community

Q is an initiative connecting people with improvement expertise across the UK.

Find out more