Investigating the impact of the spatial distribution of deprivation on health outcomes