By the time Hugh Dwyer was diagnosed he was given just 18 months to live