Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jun 10:2025:56-64.
eCollection 2025.

SmartState: An Automated Research Protocol Adherence System

Affiliations

SmartState: An Automated Research Protocol Adherence System

Samuel E Armstrong et al. AMIA Jt Summits Transl Sci Proc. .

Abstract

Developing and enforcing study protocols is crucial in medical research, especially as interactions with participants become more intricate. Traditional rules-based systems struggle to provide the automation and flexibility required for real-time, personalized data collection. We introduce SmartState, a state-based system designed to act as a personal agent for each participant, continuously managing and tracking their unique interactions. Unlike traditional reporting systems, SmartState enables real-time, automated data collection with minimal oversight. By integrating large language models to distill conversations into structured data, SmartState reduces errors and safeguards data integrity through built-in protocol and participant auditing. We demonstrate its utility in research trials involving time-dependent participant interactions, addressing the increasing need for reliable automation in complex clinical studies.

PubMed Disclaimer

Figures

Figure 1.
Figure 1.
Overview of SmartState components and their interactions.
Figure 2.
Figure 2.
An example finite state machine graph for booking an airline seat.
Figure 3.
Figure 3.
State machine graph handling user input. If the response is not satisfactory, add context and ask the question again.
Figure 4.
Figure 4.
(a) State machine displayed as a graph with audit logs of states entered and transitions. (b) Message logs for a specific participant.
Figure 5.
Figure 5.
Example workflow for a conversation with a participant verifying the use of a beta blocker.
Figure 6.
Figure 6.
(a) Simplified state-based interaction for start and end calorie messages. (b) Full protocol state graph.

References

    1. NCATS Strategic Plan for 2025-2030 [Internet] National Institutes of Health. 2024 [cited 2024 Sept 17] Available from: https://ncats.nih.gov/sites/default/files/2024-09/NCATS-Strategic-Plan-2... .
    1. De Micheli G, Brayton R, Sangiovanni-Vincentelli A. Optimal State assignment for Finite State Machines. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. 1985 Jul;4(3):269–85. doi:10.1109/tcad.1985.1270123.
    1. Foukarakis M, Leonidis A, Antona M, Stephanidis C. Combining finite state machine and decision-making tools for adaptable robot behavior. Lecture Notes in Computer Science. 2014:625–35. doi:10.1007/978-3-319-07446-7_60.
    1. Sai Vandana S, Abinandhan K, Ramesh S. Implementation of smart home using Finite State Machine Model. 2022 7th International Conference on Communication and Electronics Systems (ICCES) 2022 Jun 22:45–9. doi:10.1109/icces54183.2022.9835949.
    1. Bae S-H, Joo S-H, Pyo J-W, Yoon J-S, Lee K, Kuc T-Y. Finite State Machine based vehicle system for autonomous driving in Urban Environments. 2020 20th International Conference on Control, Automation and Systems (ICCAS) 2020 Oct 13;84:1181–6. doi:10.23919/iccas50221.2020.9268341.

LinkOut - more resources