The title of this episode, "Going Bodmin," is a common expression from Cornwall where the show is filmed. The term means "going mad" and refers to an asylum that was previously in Bodmin, Cornwall.
The way that Dr. Ellingham deduces Lousia's medical problem could be seen as a nod to Joseph Bell, 19th century Scottish Surgeon, and Lecturer. Bell was the main inspiration for the fictional detective Sherlock Holmes.