Thorpe was referred to a consultant obstetrician and gynaecologist who noted poorly controlled seizure disorder, and recorded that Thorpe had frequent seizures with random triggers.
Despite previous poor compliance with attendance at neurology appointments, a referral was made to a neurologist.
In November 2018 Thorpe was seen by neurologist Graeme Hammond-Tooke, who reported the epilepsy diagnosis was uncertain but treated her on the basis of that diagnosis.
He advised Thorpe that she either needed to try another antiepileptic medication, or she needed to be admitted to hospital for EEG monitoring.
Thorpe was reluctant to undergo further video EEG or change her medication.
On December 4 2018, Thorpe was found face down on her bed with the lower half of her body on the bed and her torso leaning over the bedside cabinet.
Attempts to revive her were unsuccessful.
Coroner Robinson sought medical advice from Associate Prof Hammond-Tooke as to the potential significance of excess caffeine consumption in this case.
Associate Prof Hammond-Tooke reported that studies suggested caffeine increased seizure susceptibility while in some cases, chronic use of caffeine may protect against seizures.
Caffeine also lowered the effictiveness of several drugs.
Until clinical studies suggested otherwise, caffeine intake should be considered as a factor in achieving and maintaining seizure control in epilepsy, he said.
He also concluded that large amounts of caffeine probably could cause seizures, but it was unclear if modest amounts were a significant concern.
In the case of Thorpe, Associate Prof Hammond-Tooke noted it is possible that excessive caffeine contributed to poor seizure control.
Making Thorpe's case public would help make the public, and people suffering epilepsy in particular, aware of the potential consequences of excessive caffeine use, Robinson
found.
He recommended his finding be made available to the Royal New Zealand College of General Practitioners and Epilepsy New Zealand for dissemination among their members.
He also recommended advice be given to patients of the potential effects of caffeine, as that could mitigate the risk of deaths in similar circumstances