(1)???Community mental health center means a facility providing services for the prevention or diagnosis of mental illness, or care and treatment of mentally ill patients, or rehabilitation of such persons, which services are provided principally for persons residing in a particular community in or near which the facility is situated.