Neighborhood environments and intrinsic capacity interact to affect the health-related quality of life of older people in New Zealand.