Analysis of the diagnosis and treatment of mentally disordered offenders

subject is clinical criminology and psychology.
i need an analysis of the diagnosis of mentally disordered offenders how they are diagnosed? when they are diagnosed, either before or after trial? the affects it has on the trial? problems with the different types of diagnosis.
the analysis of the treatment should include how they are treated in community and prison (compare the two) which treatments are available and which are deemed as effective in relation to specific mental disorders. then critical anaylsis of the problems relating to treatment both inside and outside of prison.
thankyou