It’s not fresh in my mind but we discussed conditional discharge and CTOs in these topics:
I think our tentative solution was that the relevant question is whether the patient has ceased to be detained and has left hospital (the wording in s117 relied on in the Worcestershire judgment) and that this is the case for CTO and conditional discharge.