s52 coroners and justice act
1 A person kills or is party to killing another is not to be convicted of murder if D was suffering from an abnormality of mental functioning
(a) arose from a recognised medical conditions
(b) substantially impaired Ds ability to do one or more things in subsection 1A:
a- understand the nature of Ds conduct b- form rational judgement c- exercise self control
(c) provides an explanation of acts/omissions subsection 1B: explains if it causes or is a significant contributory factor in Ds conduct