This code of practice provides guidance to mental health professionals and other practitioners on how they should carry out their duties under the Mental Health Act. As well as providing guidance for professionals, the revised code of practice also guides patients, their families and carers on their rights.