The social basis of community care