SPARRA is an algorithm that predicts patient risk of emergency hospital admission. It uses factors like age, gender, admissions history, diagnoses and more. It began in 2006 focusing on those 65+ and expanded to all ages in 2008. ISD generates quarterly risk scores for over 700,000 patients that health boards use. Current development focuses on expanding data sources like primary care to identify more at-risk patients. The Long Term Conditions Collaborative uses SPARRA to help identify high-risk patients and test initiatives to improve anticipatory care planning and complex case management.