A 29-year-old from Penrith with a ‘complex medical history’ died due to the toxic effects of excessive medication on his heart, an inquest has heard.