Testimony will be taken from the facility staff, the doctor, the family of the patient, and other interested parties. The Public Defender's Office will be appointed to represent the patient and will also attend the hearing. The judge will decide whether to release the person or hold him or her for further treatment. If the person is not competent to consent to treatment, a guardian advocate may be appointed. A guardian advocate is someone who discusses the treatment and medication with the doctor and consents to treatment on the patient's behalf.