as in "miranda", which involves a similar fifth amendment constitutional question of being deprived of life, liberty, or property without due process of law, "affording the opportunity" for appeal might be enforced not only by the existence of a such statutory rights but by ensuring that the patients are informed of those rights and are given the reasonable opportunity to invoke them.