The Episodes-of-Illness Processing System