Housing environment and external migration as factors influencing population health · Study