(1) This section applies to every person who, immediately before the commencement of this Act, was a committed patient and was on leave from a hospital under section 66 of the Mental Health Act 1969.
(2) Every patient to whom this section applies who, at the commencement of this Act, has been on leave for less than 3 months shall be deemed to be on leave granted under section 31.
(3) Every patient to whom this section applies who, at the commencement of this Act, has been on leave for 3 months or more shall, notwithstanding section 143(b), be deemed to be subject to a community treatment order.