(1) Prior to the expiration of the evaluation period provided for in section 29-3701, the court shall conduct an evidentiary hearing regarding the condition of the person, at which time a representative of the facility where he or she was evaluated may testify as to the results of the evaluation and the contents of the treatment plan. Based upon the results of the evaluation, evidence adduced at trial, evidence of other omissions, threats, or overt acts indicative of dangerousness, and any other relevant evidence, the court shall determine whether the person is dangerous to himself, herself, or others by reason of mental illness or defect, will be so dangerous in the foreseeable future, or will be so dangerous absent continuing participation in appropriate treatment.
(2) If the court does not find that there is clear and convincing evidence of such dangerousness, as demonstrated by omissions, threats, or overt acts, the court shall unconditionally release the person from further court-ordered treatment. If the court finds clear and convincing evidence of such dangerousness, as demonstrated by omissions, threats, or overt acts, the court shall order that such person participate in an appropriate treatment program specifying conditions of liberty and monitoring consistent with the treatment needs of the person and the safety of the public. The treatment program may involve any public or private facility or program which offers treatment for mental illness and may include an inpatient, residential, day, or outpatient setting. The court shall place the person in the least restrictive available treatment program that is consistent with the treatment needs of the person and the safety of the public. Personnel at the facility providing the treatment program shall obey the court-ordered conditions, and any person who fails to do so shall upon conviction be subject to the full contempt powers of the court.