← All stories

Finding drug side effects hidden in psychiatric clinical notes

1 Jan 2017 · 2 min read · by the KnowLab team
The short version

ADEPt, a rule-based pipeline built with clinicians and pharmacists, found 19 side effects of antipsychotics and antidepressants in free-text records, with an average F-measure of 0.83.

The question

Adverse drug events, the unintended harms of treatment, hit patients’ quality of life and burden health services. Hospital records document them, but mostly as free-text notes that software cannot read easily. In a note, a side effect may be something that happened long ago, something that might happen, or something being discussed in general, and each of those means something different.

What we did

We built ADEPt, a rule-based pipeline, and tested it on records of 264,000 patients from four UK psychiatric hospitals. It tells apart whether a mention is historical or current, whether it is asserted, hypothetical, retrospective or general discussion, and cases where the status is only implied by the surrounding text. We wrote the rules by hand, with clinicians and pharmacists, after studying how side effects appear in different kinds of notes.

What we found

Across 19 side effects of antipsychotic and antidepressant drugs, the average F-measure (a combined accuracy score, where 1 is perfect) and accuracy were both 0.83. ADEPt also improved on ConText, a widely used method for reading the context around a mention.

Why it matters

Side effects of psychiatric drugs are poorly captured in coded data. Reading the notes gives researchers a way to study them at scale.