services in an ethical, legal and moral manner within a safe and therapeutic environment, consistent with applicable regulatory... treatment program, referral and admission services, evaluation and inpatient services, outpatient and continuing care services...