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
. 2022 Sep 22;10(10):1837.
doi: 10.3390/healthcare10101837.

Validation of a Natural Language Processing Algorithm for the Extraction of the Sleep Parameters from the Polysomnography Reports

Affiliations

Validation of a Natural Language Processing Algorithm for the Extraction of the Sleep Parameters from the Polysomnography Reports

Mahbubur Rahman et al. Healthcare (Basel). .

Abstract

Background: There is a need to better understand the association between sleep and chronic diseases. In this study we developed a natural language processing (NLP) algorithm to mine polysomnography (PSG) free-text notes from electronic medical records (EMR) and evaluated the performance. Methods: Using the Veterans Health Administration EMR, we identified 46,093 PSG studies using CPT code 95,810 from 1 October 2000−30 September 2019. We randomly selected 200 notes to compare the accuracy of the NLP algorithm in mining sleep parameters including total sleep time (TST), sleep efficiency (SE) and sleep onset latency (SOL), wake after sleep onset (WASO), and apnea-hypopnea index (AHI) compared to visual inspection by raters masked to the NLP output. Results: The NLP performance on the training phase was >0.90 for precision, recall, and F-1 score for TST, SOL, SE, WASO, and AHI. The NLP performance on the test phase was >0.90 for precision, recall, and F-1 score for TST, SOL, SE, WASO, and AHI. Conclusions: This study showed that NLP is an accurate technique to extract sleep parameters from PSG reports in the EMR. Thus, NLP can serve as an effective tool in large health care systems to evaluate and improve patient care.

Keywords: natural language processing; polysomnography; sleep parameters.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
An NLP flow diagram to extract sleep parameters from the PSG reports.
Figure 2
Figure 2
The strobe diagram for collecting patients’ polysomnography reports with CPT codes of ‘95810’, and ‘95811’ who visited veteran health administration (VHA) from 1 October 1999 to 30 September 2020.

Similar articles

Cited by

References

    1. Gerstenslager B., Slowik J.M. Sleep Study. StatPearls Publishing; Treasure Island, FL, USA: 2021. - PubMed
    1. Mayo Clinic Polysomnography (Sleep Study) 2022. [(accessed on 10 January 2022)]. Available online: https://www.mayoclinic.org/tests-procedures/polysomnography/about/pac-20....
    1. Shrivastava D., Jung S., Saadat M., Sirohi R., Crewson K. How to interpret the results of a sleep study. J. Community Hosp. Intern. Med. Perspect. 2014;4:24983. doi: 10.3402/jchimp.v4.24983. - DOI - PMC - PubMed
    1. Bajeh A.O., Abikoye O.A., Mojeed H.A., Saliku S.A., Oladipo I.D., Abdulraheem M., Awotunde J.B., Sangaiah A.K., Adewole K.S. Intelligent IoT Systems in Personalized Health Care. Elsevier; Amsterdam, The Netherlands: 2021. Application of computational intelligence models in IoMT big data for heart disease diagnosis in personalized health care; pp. 177–206.
    1. Luo L., Li L., Hu J., Wang X., Hou B., Zhang T., Zhao L. A hybrid solution for extracting structured medical information from unstructured data in medical records via a double-reading/entry system. BMC Med. Inform. Decis. 2016;16:114. doi: 10.1186/s12911-016-0357-5. - DOI - PMC - PubMed

LinkOut - more resources