SPA implementation of a health management system