Preprint · 2025 · Open access

Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks

Mengchun Gong, Ouyang Zihao, Ma Dandan, Endi Cai, Chao Liu, Wenzhao Shi, Bohan Zhang, Lian Ma, Yuna Wei, Huizhen Jiang, Xiang Ping Zhou

medRxiv · Published 28 July 2025 · DOI 10.1101/2025.07.27.25332177

Open PDFView at the publisherCite this paper

In brief

“Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks” is a 2025 preprint by Mengchun Gong and 10 co-authors, published in medRxiv. OpenAlex counts 2 citations as of 19 November 2026. It is open access: the full text is free to read at medRxiv.

Citations
2
Most cited in
2026 (2)
References
11
Authors
11

Abstract

Background The privacy protection of medical patients has remained a critical concern in healthcare information management during the digital era. Conventional approaches have predominantly relied on rule-based protocols and data encryption systems, which typically require substantial involvement of IT professionals for implementation. Recent advancements in Large Language Models (LLMs) have introduced novel approaches for electronic medical records (EMRs) privacy protection, simultaneously enabling clinical practitioners to utilize these tools for specific data tasks. Objectives This study aims to leverage LLMs through a no-code framework to achieve structured processing of patient privacy data in Chinese EMRs and formulate privacy policies, while evaluating the practical efficacy of LLMs. Methods This study employs a disease-specific data subset from Peking Union Medical College Hospital (PUMCH), comprising data from approximately 160,000 patients, using a prompt engineering approach to enable LLMs to perform sensitive information annotation in lengthy EMR narratives. Simultaneously, it automates the classification of privacy-level for identified sensitive data and develops targeted protection strategies based on risk tiers, thereby mitigating non-essential exposure of patient privacy during data sharing. The research utilizes the Qwen model, with its entire workflow being exclusively driven by medical natural language prompts and self-evolving knowledge bases, requiring no supplementary programming or code development. These strategies were validated using the hospital’s test text dataset, with primary evaluation metrics focusing on precision rates (including accuracy of information extraction and privacy-level classification) and recall rate assessments for critical sensitive data categories. Results Utilizing 4 million text entries from PUMCH, we conducted sampled data observation and performed privacy annotation via LLM prompts across seven categories: names, addresses, contact details, national ID numbers, hospital names, sexually transmitted disease (STD) information, and pregnancy-related patient data. Through iterative prompt refinement via error analysis, optimal performance was achieved on the test set, demonstrating an average precision of 97% and recall of 95% across these seven entity types. Furthermore, sensitivity tier classification was implemented for three high-risk categories: addresses, STD information, and pregnancy-related data, attaining average precision of 95% and recall of 90% in sensitivity-level determination. Discussion We propose a novel codeless privacy protection framework leveraging LLMs, enabling intelligent anonymization of medical data through natural language interaction. This solution employs a three-tiered hierarchical protection mechanism that dynamically adapts privacy strategies to clinical scenario requirements, ensuring data security while maximizing data utility.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Gong, M., Zihao, O., Dandan, M., Cai, E., Liu, C., Shi, W., Zhang, B., Ma, L., Wei, Y., Jiang, H., & Zhou, X. P. (2025). Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks. medRxiv. https://doi.org/10.1101/2025.07.27.25332177

MLA 9

Gong, Mengchun, et al. “Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks.” medRxiv, 2025. https://doi.org/10.1101/2025.07.27.25332177.

Chicago

Gong, Mengchun, Ouyang Zihao, Ma Dandan, Endi Cai, Chao Liu, Wenzhao Shi, Bohan Zhang, et al. 2025. “Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks.” medRxiv. https://doi.org/10.1101/2025.07.27.25332177.

Harvard

Gong, M. et al. (2025) ‘Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks’, medRxiv. doi:10.1101/2025.07.27.25332177.

IEEE

M. Gong et al., “Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks,” medRxiv, 2025, doi: 10.1101/2025.07.27.25332177.

BibTeX

@misc{gong2025privacy,
  title     = {{Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks}},
  author    = {Gong, Mengchun and Zihao, Ouyang and Dandan, Ma and Cai, Endi and Liu, Chao and Shi, Wenzhao and Zhang, Bohan and Ma, Lian and Wei, Yuna and Jiang, Huizhen and Zhou, Xiang Ping},
  howpublished = {medRxiv},
  year      = {2025},
  doi       = {10.1101/2025.07.27.25332177},
  url       = {https://doi.org/10.1101/2025.07.27.25332177}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Topic and keywords

Physical Sciences › Computer Science › Artificial Intelligence › Privacy-Preserving Technologies in Data

  • electronic health records
  • patient privacy protection
  • large language models
  • data anonymization
  • prompt engineering
  • Qwen
  • privacy policies
  • information extraction

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Gong, M., Zihao, O., Dandan, M., Cai, E., Liu, C., Shi, W., Zhang, B., Ma, L., Wei, Y., Jiang, H., & Zhou, X. P. (2025). Privacy Protection for Chinese Electronic Medical Records Using Large Language Models: Effectiveness Evaluation and Application of LLM Models in Medical Data Tasks. medRxiv. https://doi.org/10.1101/2025.07.27.25332177

How many times has this paper been cited?

2 times, according to OpenAlex on 19 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at medRxiv: sign in and open the PDF from this page.

Who wrote this paper?

Mengchun Gong, Ouyang Zihao, Ma Dandan, Endi Cai, Chao Liu, Wenzhao Shi, Bohan Zhang, Lian Ma, Yuna Wei, Huizhen Jiang, Xiang Ping Zhou.

What is the DOI of this paper?

10.1101/2025.07.27.25332177, permanently at https://doi.org/10.1101/2025.07.27.25332177. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 19 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.