The trust said: “The aim of the EPR is to record fully the care delivered to the service users while providing guidance and summary information to trust staff to enable them to deliver safe, effective, and efficient care to the service users.”

Leeds and York NHS Foundation Trust provides specialised mental health and learning disability services to people in Leeds and the Yorkshire and the Humber region. It employs more than 2,500 staff and saw upwards of 25,000 service users in the 2015/16 year. The trust’s annual turnover is about £167m.