O'Shaughnessy spent part of his career working in India, where he became interested in the medical uses for cannabis. One of his major works (On the Preparations of the Indian Hemp, or Gunjah) was published in 1843, and his trials showed the potential benefits of cannabis for conditions including cholera, rheumatic disease, and its palliative effect for rabies.