Evidence map›Paper›PMID 42460030›Full record

ArticleSleep advances : a journal of the Sleep Research Society2026

Large language model derived regular expressions for sleep phenotyping from electronic health record: a feasibility study.

Nathanael Hwang, M Brandon Westover, Diego R Mazzotti, Robert J Thomas, Lynn Marie Trotti, Dennis Hwang, Matt Gratton, Jiaxiao Shi, Rui Yan, Emmanuel Mignot and 6 more

Abstract read
In one paragraph

Article in Sleep advances : a journal of the Sleep Research Society, 2026. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

16 authors.

Nathanael HwangDepartment of Sleep Medicine, Kaiser Permanente Southern California, Fontana, CA, United States.ORCID https://orcid.org/0009-0001-9631-886X
M Brandon WestoverDepartment of Neurology, Beth Israel Deaconess Medical Center, Harvard Medical School, Boston, MA, United States.ORCID https://orcid.org/0000-0003-4803-312X
Diego R MazzottiDepartment of Internal Medicine, Kansas University Medical Center, Kansas City, KS, United States.
Robert J ThomasDepartment of Neurology, Beth Israel Deaconess Medical Center, Harvard Medical School, Boston, MA, United States.ORCID https://orcid.org/0000-0002-5575-3953
Lynn Marie TrottiDepartment of Neurology and Emory Sleep Center, Emory University School of Medicine, Atlanta, GA, United States.ORCID https://orcid.org/0000-0003-2329-6847
Dennis HwangDepartment of Sleep Medicine, Kaiser Permanente Southern California, Fontana, CA, United States.
Matt GrattonDepartment of Internal Medicine, Kansas University Medical Center, Kansas City, KS, United States.ORCID https://orcid.org/0000-0002-3163-6242
Jiaxiao ShiDepartment of Research and Evaluation, Kaiser Permanente Southern California, Pasadena, CA, United States.ORCID https://orcid.org/0000-0001-8397-3729
Rui YanDepartment of Research and Evaluation, Kaiser Permanente Southern California, Pasadena, CA, United States.
Emmanuel MignotDepartment of Psychiatry and Behavioral Sciences, Stanford University, Palo Alto, CA, United States.ORCID https://orcid.org/0000-0002-6928-5310
Gari D CliffordDepartment of Biomedical Informatics, Emory School of Medicine, Atlanta, GA, United States.
Umakanth A KatwaDivision of Pulmonary Medicine, Harvard Medical School, Boston Children's Hospital, Boston, MA, United States.
Kendra A BeckerDepartment of Sleep Medicine, Kaiser Permanente Southern California, Fontana, CA, United States.
Matthew T KlimperDepartment of Sleep Medicine, Kaiser Permanente Southern California, Fontana, CA, United States.
Jessica K JaraDepartment of Sleep Medicine, Kaiser Permanente Southern California, Fontana, CA, United States.
Haoqi SunDepartment of Neurology, Beth Israel Deaconess Medical Center, Harvard Medical School, Boston, MA, United States.ORCID https://orcid.org/0000-0002-5041-8312

Funding

Data-Driven Sleep Biomarkers of Brain Health, Heart Health, and MortalityR01HL161253 · NHLBI · BETH ISRAEL DEACONESS MEDICAL CENTER · PI CLIFFORD, GARI DAVID, MIGNOT, EMMANUEL J · 2022 to 2025
$8.3M
NHLBI NIH HHS R01 HL161253
6 · The paper itself

Abstract

Study Objectives: Large language models may efficiently develop Regular Expression (regex)-based natural language processing for electronic health record phenotyping. We present PromptNLP to assess feasibility by evaluating performance and generalizability to clinical notes across multiple institutions. Methods: Sleep-related clinical notes from Kaiser Permanente Southern California, Beth Israel Deaconess Medical Center, and Emory University were used to extract apnea-hypopnea index and Epworth Sleepiness Scale. PromptNLP involves two steps: (1) build an apnea-hypopnea index/Epworth Sleepiness Scale phrase library ("Targeted" via manual, "General" via large language models); (2) input the library into an large language model with prompts to generate regex. For model development (Phase 1), we compared PromptNLP regexes with manual regex. For external validation (Phase 2), we adapted the Phase 1 Targeted regex to Beth Israel Deaconess Medical Center and Emory notes. For application (Phase 3), we applied adapted the regex to 207 404 Kaiser Permanente Southern California notes with validation against 8602 structured apnea-hypopnea index. Results: Phase 1: All Targeted PromptNLP regexes outperformed manual regex for recall (apnea-hypopnea index: 95%-96% vs 80.8%; Epworth Sleepiness Scale: 98%-100% vs 88%; Conclusions: PromptNLP demonstrated feasibility as an efficient, accurate, and generalizable method, outperforming manual approaches and enabling iterative cross-system improvement. Systematic comparisons to direct large language model approaches are needed.

Indexed as

artificial intelligencedata miningnatural language processingobstructive sleep apnea

Identifiers

PMID42460030
PMCPMC13372092

What OpenQuestion holds

Textmetadata
LicenceCC BY-NC-ND
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.