An inquiry into the deaths of people under the care of mental health services is expected to run until July 2026.