The main goal of the Computer Assisted Search for Epidemics (CASE) project is to develop a reliable system that generates warnings when the number of reported cases of a particular infectious disease reaches a level that indicates an unusual or unexpected rate. The system is currently in use at the Public Health Agency of Sweden. It performs daily surveillance using data obtained from the database to which all notifiable diseases are reported in Sweden.

Design Features

The CASE application can be administrated from a simple GUI. It is designed to collect disease data from a Microsoft SQL 2005 server and to then store it in a MySQL database. When an aberration has been detected by the system, an e-mail is automatically sent to the addresses in a predefined list (one per disease). Different statistical algorithms can be applied to the data to detect possible outbreaks. Algorithms that are included in the current version of CASE are SatScan Poisson model [1], SatScan Space-time permutation model [2], the algorithm developed by Farrington et al [3], OutbreakP [4], and a simple threshold function. Other algorithms can easily be added, although that will require some programming. Scripts for creating the structure of the databases can be downloaded below.

The developers at the Public Health Agency of Sweden are interested in comments and also in improvements made to the code. Please let us know by sending an e-mail to:


[1] Kulldorff M. A spatial scan statistic. Communications in Statistics: Theory and Methods 26(6):1481-96, 1997
[2] Kulldorff M, Heffernan R, Hartman J, Assunção RM, Mostashari F. A space-time permutation scan statistic for disease outbreak detection. PLoS Medicine 2:216-224, 2005
[3] Farrington CP, Andrews NJ, Beale AD, Catchpole MA. A statistical algorithm for the early detection of outbreaks of infectious disease - Journal of the Royal Statistical Society, Series A 159:547-563, 1996
[4] Frisén M, Andersson E, Schiöler L. Robust outbreak surveillance of epidemics in Sweden. Statistics in Medicine 28:476-493, 2009

source code download link


This software is a platform independent java application distributed under the terms of the GNU General Public License version 3. A copy of the license is included along with the CASE source code.


The current version of the CASE source code is 2.0.3. The zip-file containing the source was uploaded January 11 2016.

The configurator

Click on the picture to have a closer look at the GUI



Kling A-M, Hebing K, Grünewald M, Hulth A. Two Years of Computer Supported Outbreak Detection in Sweden: the User´s Perspective. Health & Medical Informatics, 2012;3:1

Cakici B, Hebing K, Grünewald M, Saretok P, Hulth A. CASE: a framework for computer supported outbreak detection. BMC Medical Informatics and Decision Making 10(14), 2010

Hulth A, Andrews N, Ethelberg S, Dreesman J, Faensen D, van Pelt W, Schnitzler J. Practical usage of computer-supported outbreak detection in five European countries. Eurosurveillance 15(36), 2010


CASE user manual - Algorithms and parameter settings

CASE quick installation manual