It deals with issues such as fitness to plead, but it also deals with how people who are detained, whether because the courts have given them hospital orders or because they have gone to prison and have been subject to a transfer order into a psychiatric hospital, are managed and treated.