(2)On completion of the period of assessment referred to in sub-section (1), the medical officer or mental health professional in charge of the mental health establishment shall submit a report to the Magistrate and the person shall be dealt with in accordance with the provisions of this Act.