Social indicators for health based on function status and prognosis