Privacy-, linguistic-, and information-preserving synthesis of clinical documentation through generative agents
The widespread adoption of generative agents (GAs) is reshaping the healthcare landscape. Nonetheless, broad utilization is impeded by restricted access to high-quality, interoperable clinical documentation from electronic health records (EHRs) due to persistent legal, ethical, and technical barriers. Synthetic health data generation (SHDG), leveraging pre-trained large language models (LLMs) instantiated as GAs, could offer a practical solution by creating synthetic patient information that mimics genuine EHRs. The use of LLMs, however, is not without issues; significant concerns remain regarding privacy, potential bias propagation, the risk of generating inaccurate or misleading content, and the lack of transparency in how these models make decisions. We therefore propose a privacy-, linguistic-, and information-preserving SHDG protocol that employs multiple context-aware, role-specific GAs. Guided by targeted prompting and authentic EHRs-serving as structural and linguistic templates-role-specific GAs can, in principle, operate collaboratively through multi-turn interactions. We theorized that utilizing GAs in this fashion permits LLMs not only to produce synthetic EHRs that are accurate, consistent, and contextually appropriate, but also to expose the underlying decision-making process. To test this hypothesis, we developed a no-code GA-driven SHDG workflow as a proof of concept, which was implemented within a predefined, multi-layered data science infrastructure (DSI) stack-an integrated ensemble of software and hardware designed to support rapid prototyping and deployment. The DSI stack streamlines implementation for healthcare professionals, improving accessibility, usability, and cybersecurity. To deploy and validate GA-assisted workflows, we implemented a fully automated SHDG evaluation framework-co-developed with GenAI technology-which holistically compares the informational and linguistic features of synthetic, anonymized, and real EHRs at both the document and corpus levels. Our findings highlight that SHDG implemented through GAs offers a scalable, transparent, and reproducible methodology for unlocking the potential of clinical documentation to drive innovation, accelerate research, and advance the development of learning health systems. The source code, synthetic datasets, toolchains and prompts created for this study can be accessed at the GitHub repository: https://github.com/HR-DataLab-Healthcare/RESEARCH_SUPPORT/tree/main/PROJECTS/Generative_Agent_based_Data-Synthesis.
Authors
- Robert F. van der Willigen (ORCID: https://orcid.org/0009-0009-2904-2195)
- Sonja van Leeuwen (ORCID: https://orcid.org/0000-0003-2180-1969)
- Helen I. de Graaf-Waar
- Esther Janssen (ORCID: https://orcid.org/0000-0003-4631-696X)
- Mark Scheper (ORCID: https://orcid.org/0000-0003-2229-3660)
- Mark van Velzen (ORCID: https://orcid.org/0009-0002-3098-0970)
- Tim Hulsen (ORCID: https://orcid.org/0000-0002-0208-8443)
- N.L.U. van Meeteren (ORCID: https://orcid.org/0000-0002-3067-4167)
- Rayan El Maaroufi
- Sven J. Satimin
- Larissa M. Hartog
- Vincent J. de Beer
- Micha F. van der Willigen
- Martijn J. van der Willigen
- Gavin Renardus
Institutions
- HAN University of Applied Sciences (NL)
- NXP (Netherlands) (NL)
- Philips (Finland) (FI)
- Radboud University Nijmegen (NL)
- Islamic University of Rotterdam (NL)
- Erasmus MC (NL)
- Radboud University Medical Center (NL)
- Radboud Institute for Molecular Life Sciences (NL)
- VieCuri Medisch Centrum (NL)
- Philips (Netherlands) (NL)
- Health Holland (NL)
- Bouwcentrum (Netherlands) (NL)
- Rotterdam University of Applied Sciences (NL)
- Erasmus University Rotterdam (NL)
- Macquarie University (AU)
Publication Details
- Journal
- Frontiers in Artificial Intelligence
- Published
- 2025-09-16
- DOI
- https://doi.org/10.3389/frai.2025.1644084
- Citations
- 2
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 4.96