Header Image

GOALS System

A tool for creating and refining well-defined goals compatible with digital health intervention applications

GOALS system

The GOALS system is a web application that leverages LLM technologies to systematically create and refine well-defined personalized behavior goals, given an outcome goal as input. The system is designed to help facilitate case managers in the efficient co-creation of well-defined treatment plan goals with their clients who have been diagnosed with SMI.

Key Features

Key contributions

Research Context

Motivation

We analyzed the quality of all the treatment plan goals within several FACT teams at a mental health hospital to determine their suitability for direct use in digital health interventions. The analysis revealed that only 20–25\% of treatment plan goals were well-defined. The majority of the goals lacked measurability, making them impossible to track, monitor, or complete in a structured digital format, limiting their use as personalized content in digital health applications. A key reason for the low number of well-defined goals is that co-creating measurable goals with clients is a time-consuming process, and case managers face heavy workloads that limit their time. This finding highlighted the need for tools or workflows to assist case managers in efficiently creating and refining well-defined treatment plan goals.

Theoretical Underpinning

The GOALS system is grounded in established theories of behavior change that explain how motivation and contextual factors drive sustained behavior change. The Self-Determination Theory (SDT) forms the motivational foundation, emphasizing that individuals are more likely to change behavior when three basic needs are met: when they feel autonomous, competent, and supported by their environment. The Fogg Behavior Model builds on this by highlighting that motivation and ability must coincide with external triggers, such as a digital intervention app, to initiate action. The Socio-Ecological Model (SEM) extends these principles by emphasizing the broader social and environmental contexts that shape an individual’s opportunities for change, while the Trans-Theoretical Model (TTM) shows that individuals at different stages of change have different needs and readiness levels.

Technical Description

System Overview

The GOALS system is designed to generate and manage personalized, measurable goals for individuals engaged in digital health interventions. Its architecture consists of several key components:

GOALS System Overview

Core Technologies and Frameworks

The GOALS system leverages both online and offline LLMs for goal generation. In the thesis prototypes, commercially hosted ChatGPT was used, while offline experiments utilized oLLaMA with RAG implemented in Python. The backend API is responsible for preprocessing, validation, postprocessing, and prompt engineering, ensuring that generated goals are consistent with behavioral theory and measurable standards. Current implementations are built in Mendix, although earlier studies used Node.js for the API and plain HTML for the frontend. The frontend system allows both individuals and healthcare professionals to input, review, and manage goals, including vague goal descriptions and contextual data. The Goal Refinement System is rule-based and configurable via the frontend, determining when goals should be updated or adjusted to reflect changes in user context or progress. Finally, data storage is handled using either flexible files or RAG systems for offline experiments, providing contextual information to the LLM to improve goal personalization and adaptation.

Example scenario

The following video displays the latest version of the GOALS system in action

How to use it

If you want to test out or even edit/modify the GOALS system the following code/projects are open source and ready to used:

Related Publications