 The order can be if necessary for an indefinite period of time.If the offender has been issued with an indefinite sentence they can only be released with permission of the Home Secretary or following a hearing of the Mental Health Review Tribunal.In 2018, the Law Commission launched a project led by David Ormerod QC that intends to produce a single "sentencing code" to codify and simplify a complex and confusing set of statutory provisions.