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 Aug 4;73(5):102493.
doi: 10.1016/j.outlook.2025.102493. Online ahead of print.

Leveraging artificial intelligence to detect stigmatizing language in electronic health records to advance health equity

Affiliations

Leveraging artificial intelligence to detect stigmatizing language in electronic health records to advance health equity

Teenu Xavier et al. Nurs Outlook. .

Abstract

Background: The use of stigmatizing language within electronic health records (EHRs) is a significant concern, as it can impact patient-provider relationships, exacerbate healthcare disparities, influence clinical decision-making, and effective communication, which in turn affects patient outcomes.

Purpose: To identify stigmatizing language in EHRs and its associations with patient outcomes.

Methods: A retrospective analysis was conducted on 75,654 clinical notes from 500 patients with hospital-acquired conditions at an academic medical center. Machine learning techniques were utilized to detect stigmatizing language within the EHRs.

Discussion: The model demonstrated high accuracy in identifying stigmatizing language (F1 score: 0.95), and stigmatizing language had a significant association with the length of stay. The study also revealed that older patients and those with government insurance are more likely to have stigmatizing language in their notes.

Conclusion: Using AI to model language is useful for identifying care patterns and patients at risk due to stigmatizing language.

Keywords: Electronic health records; Health inequities; Hospital-acquired conditions (HACs); Informatics; Medical documentation; Natural language processing; Stigmatizing language.

PubMed Disclaimer

Conflict of interest statement

Declaration of Competing Interest The authors declare no conflicts of interest.

Similar articles

LinkOut - more resources