Social prescribing
All sorts of things can be prescribed in this way.  Most common is to help them join a local social group.  In London in 2022 general practitioners started prescribing fruit and vegetables to test if that helped people.