The document outlines the rights of mentally ill patients, including the right to communicate with outside parties, keep personal effects, enter into contracts, receive an education, file a habeas corpus, have privacy and confidentiality, provide informed consent, receive treatment, refuse treatment in the least restrictive setting, practice religious freedom, and marry or divorce. Key rights include privacy and confidentiality of medical information, informed consent for treatment, the right to adequate treatment, and the right to refuse treatment or be treated in the least restrictive environment.