Game-changing algorithm helps to better identify people experiencing homelessness
The innovative algorithm developed at ICES helps researchers better understand the health impacts of homelessness in Canada.
Homelessness is one of Canada’s most pressing social issues and has major impacts on the health and well-being of both individuals and communities. Yet, for decades, researchers struggled to capture its scope accurately. The absence of linked, population-level data—compounded by legal, privacy, and administrative barriers—made it nearly impossible to study homelessness at scale.
Dr. Stephen Hwang, an ICES Scientist and Director at MAP Centre for Urban Health Solutions, spent years navigating these challenges, relying on resource-heavy primary data collection linked at ICES to uncover the connections between housing instability and health outcomes. But a breakthrough in 2018 changed everything.
That year, the Canadian Institute for Health Information (CIHI) took a pivotal step forward by mandating that all Canadian hospitals record homelessness in data abstracts using the ‘Z590’ code from the International Classification of Disease-10th Revision (ICD-10). This code, part of the ‘Z’ series, allows coding of social health determinants of health, such as housing status and unemployment, alongside clinical diagnoses.
Leading up to this change, a team of researchers at ICES Central and Western had assessed indicators of homelessness in ICES databases and found they had limited capture. Following the mandate, there was a notable increase in the identification of patients experiencing homelessness across Canada, and an updated validation study by MAP Adjunct Scientist Lucie Richard and Dr. Hwang confirmed the mandate’s impact: the new coding practice more than doubled the databases’ ability to identify people experiencing homelessness.
A New Era in Homelessness Research
This method allows researchers to use administrative health data to reliably identify unhoused individuals, providing a cost-effective and scalable alternative to primary data collection. “We need actionable insights to address the impact of homelessness on health,” says Dr. Hwang. “This methodology accelerates our research and complements hands-on work in the community, giving us a fuller picture in less time.”
The new approach also reduces research burden. “We’ve heard from people with lived experience that participating in research studies can be challenging in the midst of so many competing priorities,” Richard explains. “This method allows us to focus primary research on topics where this method is not appropriate, while still producing essential insights.”
With this new tool, ICES and their partners have unlocked new opportunities to study the intersection of housing and health at a population level—faster, cheaper, and with less disruption to this disadvantaged population.
Research that Saves Lives
Early ICES work using this algorithm provided some of the earliest evidence about disproportionate risks in COVID-19 infection and complications among unhoused people in Canada. The findings contributed to Ontario’s decision to prioritize this group for early vaccination in February 2021.
And this was only the beginning. The method has since enabled numerous studies, shedding light on critical disparities:
- COVID-19: Two additional COVID-19 vaccination and infection studies continued to measure and highlight disparities in COVID-19 related outcomes between people experiencing homelessness and housed individuals.
- Cold Weather Injuries: An investigation of cold weather-related injuries and emergency department visits plausibly to avoid cold weather exposure by unhoused individuals found significant disparities in injuries and a significant increase in recent ED usage to avoid cold weather exposure. The findings of this work are being used to continue advocacy efforts to improve the City of Toronto’s winter service planning, as well as a recent success in adjusting the temperature threshold for opening warming centres in Toronto.
- Diabetes Care Gaps: A burgeoning body of diabetes-related research indicates there are substantial differences in outpatient processes of diabetes care, disease-related complications as well as mortality among unhoused people as compared to housed people with diabetes.
- Hospitalization Trends: Differences in hospitalization trends in the early stages of the pandemic were observed among unhoused individuals compared to stably housed and low-income housed comparators, highlighting the heavier reliance of this group on acute healthcare services even in times of crisis.
- Dementia: A report on dementia revealed a higher prevalence of this condition among people experiencing homelessness compared to housed and low-income housed people.
Additional studies are underway (for example, around hepatitis C, brain injuries, amputation, and end-of-life palliative care), broadening our understanding of the complex health needs of unhoused individuals. Inspired by the validation methodology, researchers have also developed a new case definition for people who inject drugs, another highly marginalized population.
Beyond the Numbers: Shaping Policy and Practice
The influence of this methodology extends beyond the research. In healthcare settings like St. Michael’s Hospital in Toronto, teams are reviewing coding practices to further improve homelessness documentation. Meanwhile, MAP researchers are continuing advocacy efforts with CIHI to further improve coding practices, in particular around strategies to minimize false positives by distinguishing between individuals with past and present homelessness. Various public health units, hospital networks, and community organizations are also at different stages in adopting this method to conduct their own low-barrier research, surveillance and evaluation efforts.
This work exemplifies how thoughtful innovation in data can spark real-world change. From driving pandemic policy to reshaping service delivery for cold weather planning, the ability to capture homelessness in healthcare data is transforming research and improving lives.