Legal guardian
For example, in Massachusetts, a court can appoint a Rogers Guardian, who can only make decisions about their ward's psychiatric (mental health) medicines.  The ward still has the right to make any other decisions that are not about medications.