Mental capacity in patients involuntarily or voluntarily receiving psychiatric treatment for an acute mental disorder