(3) Information from the clinical record may be released in the following circumstances:(a) When a patient has communicated to a service provider a specific threat to cause serious bodily injury or death to an identified or a readily available person, if the service provider reasonably believes, or should reasonably believe according to the standards of his or her profession, that the patient has the apparent intent and ability to imminently or immediately carry out such threat. When such communication has been made, the administrator may authorize the release of sufficient information to provide adequate warning to the person threatened with harm by the patient.(b) When the administrator of the facility or secretary of the department deems release to a qualified researcher as defined in administrative rule, an aftercare treatment provider, or an employee or agent of the department is necessary for treatment of the patient, maintenance of adequate records, compilation of treatment data, aftercare planning, or evaluation of programs. For the purpose of determining whether a person meets the criteria for involuntary services or for preparing the proposed services plan pursuant to s. 394.4655 or s. 394.467 , the clinical record may be released to the state attorney, the public defender or the patient's private legal counsel, the court, and to the appropriate mental health professionals, including the service provider under s. 394.4655 or s. 394.467 , in accordance with state and federal law.