(iii) the individual's clinical presentation no longer requires inpatient commitment, the chief medical officer shall provide written notice to the court of record and prosecuting attorney as provided in subdivision (2) of this section that the individual is suitable for discharge. The chief medical officer may discharge the patient 30 days after the notice unless the court of record stays the discharge of the individual. In the event the court stays the discharge of the individual, the court shall conduct a hearing within 45 days of the stay, and the individual shall be thereafter discharged unless the court finds by clear and convincing evidence that the individual is a significant and present danger to self or others, and that continued placement at the mental health facility or state hospital is required.
If the chief medical officer determines that the individual requires commitment and treatment at the mental health facility or state hospital at any time for a period longer than 90 days, then the individual shall remain at the mental health facility or state hospital until the chief medical officer of the mental health facility or state hospital determines that the individual's clinical presentation no longer requires further commitment and treatment. The chief medical officer shall provide notice to the court, the prosecuting attorney, the individual, and the individual's guardian or attorney, or both, if applicable, that the individual requires commitment and treatment for a period in excess of 90 days and, in the notice, the chief medical officer shall describe how the individual continues to meet commitment criteria and the need for ongoing commitment and treatment. The court, prosecuting attorney, the individual, or the individual's guardian or attorney, or both, if applicable, may request any information from the chief medical officer that the court or prosecuting attorney considers appropriate to justify the need for the individual's ongoing commitment and treatment. The court may hold any hearing that it considers appropriate.