(1) Every defendant who is charged with a felony and who is adjudicated incompetent to proceed may be involuntarily committed for treatment upon a finding by the court of clear and convincing evidence that: (a) The defendant has a mental illness and because of the mental illness:
1. The defendant is manifestly incapable of surviving alone or with the help of willing and responsible family or friends, including available alternative services, and, without treatment, the defendant is likely to suffer from neglect or refuse to care for herself or himself and such neglect or refusal poses a real and present threat of substantial harm to the defendant’s well-being; or
2. There is a substantial likelihood that in the near future the defendant will inflict serious bodily harm on herself or himself or another person, as evidenced by recent behavior causing, attempting, or threatening such harm;
(b) All available, less restrictive treatment alternatives, including treatment in community residential facilities or community inpatient or outpatient settings, which would offer an opportunity for improvement of the defendant’s condition have been judged to be inappropriate; and
(c) There is a substantial probability that the mental illness causing the defendant’s incompetence will respond to treatment and the defendant will regain competency to proceed in the reasonably foreseeable future.
(2) A defendant who has been charged with a felony and who has been adjudicated incompetent to proceed due to mental illness, and who meets the criteria for involuntary commitment to the department under the provisions of this chapter, may be committed to the department, and the department shall retain and treat the defendant. No later than 6 months after the date of admission and at the end of any period of extended commitment, or at any time the administrator or designee shall have determined that the defendant has regained competency to proceed or no longer meets the criteria for continued commitment, the administrator or designee shall file a report with the court pursuant to the applicable Florida Rules of Criminal Procedure.