Homelessness at diagnosis is associated with death among people with HIV in a population-based study of a U.S. City.