A trainee chef rushed to hospital in respiratory arrest caused by an infection died a drug related death a coroner has found.