The distance to community medical care and the likelihood of hospitalization: is closer always better?