{'fraction_non_alphanumeric': 0.03387404580152672, 'fraction_numerical': 0.03244274809160305, 'mean_word_length': 4.85754189944134, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Improvements to PTSD quality metrics with natural language processing.

RATIONALE AIMS AND OBJECTIVES
As quality measurement becomes increasingly reliant on the availability of structured electronic medical record (EMR) data, clinicians are asked to perform documentation using tools that facilitate data capture. These tools may not be available, feasible, or acceptable in all clinical scenarios. Alternative methods of assessment, including natural language processing (NLP) of clinical notes, may improve the completeness of quality measurement in real-world practice. Our objective was to measure the quality of care for a set of evidence-based practices using structured EMR data alone, and then supplement those measures with additional data derived from NLP.


METHOD
As a case example, we studied the quality of care for posttraumatic stress disorder (PTSD) in the United States Department of Veterans Affairs (VA) over a 20-year period. We measured two aspects of PTSD care, including delivery of evidence-based psychotherapy (EBP) and associated use of measurement-based care (MBC), using structured EMR data. We then recalculated these measures using additional data derived from NLP of clinical note text.


RESULTS
There were 2 098 389 VA patients with a diagnosis of PTSD between 2000 and 2019, 72% (n = 1 515 345) of whom had not previously received EBP for PTSD and were treated after a 2015 mandate to document EBP using templates that generate structured EMR data. Using structured EMR data, we determined that 3.2% (n = 48 004) of those patients met our EBP for PTSD quality standard between 2015 and 2019, and 48.1% (n = 23 088) received associated MBC. With the addition of NLP-derived data, estimates increased to 4.1% (n = 62 789) and 58.0% (n = 36 435), respectively.


CONCLUSION
Healthcare quality data can be significantly improved by supplementing structured EMR data with NLP-derived data. By using NLP, health systems may be able to fill the gaps in documentation when structured tools are not yet available or there are barriers to using them in clinical practice.