# Generation of Synthetic Electronic Medical Record Text

arXiv: https://arxiv.org/abs/1812.02793 · HTML: https://mlsanity.com/paper/1812.02793/

## Key facts

- Cited by 14 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 6 Dec 2018.

## Built on by (most cited first, 14 of 14)

- [Harnessing large-language models to generate private synthetic text](https://mlsanity.com/paper/2306.01684/) (2023)
- [Natural Language Processing in Electronic Health Records in Relation to Healthcare Decision-making: A Systematic Review](https://mlsanity.com/paper/2306.12834/) (2023)
- [PromptEHR: Conditional Electronic Healthcare Records Generation with Prompt Learning](https://mlsanity.com/paper/2211.01761/) (2022)
- [Evaluating Differentially Private Synthetic Data Generation in High-Stakes Domains](https://mlsanity.com/paper/2410.08327/) (2024)
- [Artificial Intelligence for In Silico Clinical Trials: A Review](https://mlsanity.com/paper/2209.09023/) (2022)
- [Does Collaborative Human-LM Dialogue Generation Help Information Extraction from Human Dialogues?](https://mlsanity.com/paper/2307.07047/) (2023)
- [Medical Dialogue: A Survey of Categories, Methods, Evaluation and Challenges](https://mlsanity.com/paper/2405.10630/) (2024)
- [Autocompletion of Chief Complaints in the Electronic Health Records using Large Language Models](https://mlsanity.com/paper/2401.06088/) (2024)
- [Protect and Extend -- Using GANs for Synthetic Data Generation of Time-Series Medical Records](https://mlsanity.com/paper/2402.14042/) (2024)
- [SynLexLM: Scaling Legal LLMs with Synthetic Data and Curriculum Learning](https://mlsanity.com/paper/2504.18762/) (2025)
- [Natural Language Generation in Healthcare: A Review of Methods and Applications](https://mlsanity.com/paper/2505.04073/) (2025)
- [Rapid Review of Generative AI in Smart Medical Applications](https://mlsanity.com/paper/2406.06627/) (2024)
- [ComplicaCode: Enhancing Disease Complication Detection in Electronic Health Records through ICD Path Generation](https://mlsanity.com/paper/2312.10259/) (2023)
- [Privacy-Preserving Statistical Data Generation: Application to Sepsis Detection](https://mlsanity.com/paper/2404.16638/) (2024)

## Abstract (arXiv)

Machine learning (ML) and Natural Language Processing (NLP) have achieved remarkable success in many fields and have brought new opportunities and high expectation in the analyses of medical data. The most common type of medical data is the massive free-text electronic medical records (EMR). It is widely regarded that mining such massive data can bring up important information for improving medical practices as well as for possible new discoveries on complex diseases. However, the free EMR texts are lacking consistent standards, rich of private information, and limited in availability. Also, as they are accumulated from everyday practices, it is often hard to have a balanced number of samples for the types of diseases under study. These problems hinder the development of ML and NLP methods for EMR data analysis. To tackle these problems, we developed a model to generate synthetic text of EMRs called Medical Text Generative Adversarial Network or mtGAN. It is based on the GAN framework and is trained by the REINFORCE algorithm. It takes disease features as inputs and generates synthetic texts as EMRs for the corresponding diseases. We evaluate the model from micro-level, macro-level and application-level on a Chinese EMR text dataset. The results show that the method has a good capacity to fit real data and can generate realistic and diverse EMR samples. This provides a novel way to avoid potential leakage of patient privacy while still supply sufficient well-controlled cohort data for developing downstream ML and NLP methods. It can also be used as a data augmentation method to assist studies based on real EMR data.
