Text this: Medicine and charity before the welfare state