Literature DB >> 32079480

Automated Identification and Extraction of Exercise Treadmill Test Results.

Chengyi Zheng1, Benjamin C Sun2, Yi-Lin Wu1, Ming-Sum Lee3, Ernest Shen1, Rita F Redberg4, Maros Ferencik5, Shaw Natsui6, Aniket A Kawatkar1, Visanee V Musigdilok1, Adam L Sharp1.   

Abstract

Background Noninvasive cardiac tests, including exercise treadmill tests (ETTs), are commonly utilized in the evaluation of patients in the emergency department with suspected acute coronary syndrome. However, there are ongoing debates on their clinical utility and cost-effectiveness. It is important to be able to use ETT results for research, but manual review is prohibitively time-consuming for large studies. We developed and validated an automated method to interpret ETT results from electronic health records. To demonstrate the algorithm's utility, we tested the associations between ETT results with 30-day patient outcomes in a large population. Methods and Results A retrospective analysis of adult emergency department encounters resulting in an ETT within 30 days was performed. A set of randomly selected reports were double-blind reviewed by 2 physicians to validate a natural language processing algorithm designed to categorize ETT results into normal, ischemic, nondiagnostic, and equivocal categories. Natural language processing then searched and categorized results of 5214 ETT reports. The natural language processing algorithm achieved 96.4% sensitivity and 94.8% specificity in identifying normal versus all other categories. The rates of 30-day death or acute myocardial infarction varied (P<0.001) by categories for normal (0.08%), ischemic (1.9%), nondiagnostic (0.77%), and equivocal (0.58%) groups achieving good discrimination (C-statistic, 0.81; 95% CI, 0.7-0.92). Conclusions Natural language processing is an accurate and efficient strategy to facilitate large-scale outcome studies of noninvasive cardiac tests. We found that most patients are at low risk and have normal ETT results, while those with abnormal, nondiagnostic, or equivocal results have slightly higher risks and warrant future investigation.

Entities:  

Keywords:  cardiac event; chest pain; emergency department; natural language processing; noninvasive test; treadmill test

Mesh:

Year:  2020        PMID: 32079480      PMCID: PMC7335560          DOI: 10.1161/JAHA.119.014940

Source DB:  PubMed          Journal:  J Am Heart Assoc        ISSN: 2047-9980            Impact factor:   5.501


Clinical Perspective

What Is New?

Exercise treadmill test (ETT) reports have a rich set of information with diagnostic and prognosis value but are challenging to use because of their unstructured format. Natural language processing provides an efficient way to identify and extract ETT variables from ETT reports. The majority of patients in the emergency department who underwent ETT had normal results and were at low risk, and patients with inconclusive ETT results (equivocal and nondiagnostic) were significantly different.

What Are the Clinical Implications?

This study demonstrates that ETT shows good prediction on near‐term cardiac outcomes. ETT may offer a better value proposition as a prognostic tool compared with a diagnostic tool. Instead of treating equivocal and nondiagnostic as inconclusive ETT tests, as is commonly done in current clinical practice, these patients may warrant different treatment pathways.

Introduction

Noninvasive cardiac tests, including exercise treadmill tests (ETTs), are recommended in the evaluation of patients with suspected acute coronary syndrome.1, 2 However, the benefits of routine use of noninvasive cardiac tests remains unclear as there is no evidence for reduction in death or acute myocardial infarction (AMI).3, 4, 5 Because of the costs and risks associated with noninvasive test strategies,6, 7 there is a strong need for comparative effectiveness studies to assess the value of ETT in acute care settings.3, 4 An essential technical barrier to such studies is the need to extract clinical information from ETT text reports. Because of low event rates and confounding factors in observational data, an adequately powered study would require clinical data from vast numbers of ETTs.8 With ≈1 million ETTs performed since 2000 in our regional health system alone, there is tremendous interest in using the information documented in these test reports for research. However, clinical ETT data are typically in a free‐text format. Studies have required manual review of noninvasive test results, which is time‐consuming and expensive. An automated method that can extract information documented in the unstructured testing reports would greatly facilitate studies that require data from large numbers of ETT reports. With the widespread use of electronic health record (EHR) systems, clinical notes are electronically available. Natural language processing (NLP) is a computer‐based method that has been utilized to identify and extract information from clinical notes. When compared with manual chart review of medical records, NLP is more efficient and produces more consistent results.9, 10 Our team has previously developed NLP algorithms for cardiovascular variables, such as extraction of ejection fraction from echocardiography reports.11, 12, 13 The goals of this study were to: (1) derive and validate an algorithm to identify ETT results from unstructured reports, and (2) demonstrate the algorithm's utility by correlating ETT results with 30‐day patient outcomes in a large population.

Methods

The data, analytic methods, and study materials will not be made available to other researchers for purposes of reproducing the results or replicating the procedure.

Study Setting

This retrospective cohort study was conducted at Kaiser Permanente Southern California (KPSC), an integrated healthcare organization with over 7600 physicians, 15 medical centers, and 231 medical offices. KPSC provides prepaid comprehensive health care to 4.6 million racially and socioeconomically diverse members. Members receive medical care in KPSC‐owned facilities and contracting facilities. All KPSC emergency department (ED) sites use the same troponin laboratory assay (Beckman Coulter Access AccuTnI+3) with an AMI threshold level of 0.5 ng/mL, and ED physicians can order noninvasive cardiac testing as part of the discharge and follow‐up plan of patients with suspected acute coronary syndrome.

Study Population

We included all KPSC members 18 years or older with an ED visit between January 1, 2015, to September 19, 2017, and who had a troponin laboratory test and underwent an ETT within 30 days of their ED visits. We excluded patients who were transferred from a non‐KPSC hospital or died during ED visits. We excluded patients without KPSC health plan membership during the 12 months before and 30 days after ED visits because accurate comorbidities and patient outcomes are not available for nonmembers. Noninvasive cardiac tests were identified by Current Procedural Terminology codes (Data S1). Patient demographic information such as age, sex, and race were obtained from administrative records. HEART (history, ECG, age, risk factors, and troponin) is a risk score used to inform clinical decision making14 and KPSC implemented the HEART score into routine ED care in May 2016.15 Therefore, HEART scores calculated at the time of the index ED visit were captured in the EHR when available, as well as other variables such as smoking history. As in previous reports, International Classification of Diseases, Ninth and Tenth Revision (ICD‐9 and ICD‐10) codes in the structured EHR data were used to define coronary artery disease, diabetes mellitus, dyslipidemia, hypertension, stroke, and the Elixhauser comorbidity index.16, 17

Training and Validation Data Sets

Based on the sample size calculation,18 using a prevalence rate of non‐normal findings among ETT of 32% (32%,19 36%,20 and 39%21 in previous studies), the minimal size of the validation data set is 84 when the expected precision of estimate (ie, the maximum marginal error) is 0.1 and CI is 95%. Therefore, among the study population, we performed random sampling to create NLP training (n=115) and validation (n=115) data sets. Ten patients were excluded from the validation data because there were no associated ETT reports. The ETT reports of the remaining 105 patients in the validation data set were reviewed independently by an emergency physician (A.L.S.) and a cardiologist (M.S.L.). Besides the final ETT impression, the physician review also abstracted additional information from the ETT reports (Data S2). ETT reports were primarily to assist reviewers and the NLP algorithm to appropriately categorize patients into ischemic, nondiagnostic, equivocal, or normal categories. The following are the simplified definitions for each category: Ischemic: Cardiologist‐reported ischemic changes or abnormal ST results defined as an upsloping ST change ≥2 mm or downsloping or horizontal ST change ≥1 mm. Nondiagnostic: Patient heart rate (HR) does not rise to 85% of the maximum predicted HR during ETT. Equivocal: Any abnormal results that were not categorized by ischemic or nondiagnostic definitions. Normal: Patient completed the ETT with an appropriate maximum predicted HR and no ischemic ECG changes or other significant abnormalities. Other definitions used to categorize ETT results are found in Data S3. The results of physician review were compared, and discrepancies were resolved by consensus and discussion with the other physicians on the research team (B.S., M.F., R.F.R.). The adjudicated results served as the reference standard against which NLP was compared.

NLP Algorithm Development

The NLP modules used in this study were previously described.9, 11 Terminologies were created to capture ETT‐related information (Data S4). The NLP search was performed for each report on 3 levels: sentence, neighboring sentences, and section (Data S5). A relationship detection algorithm was applied to relate the identified symptoms to the corresponding time periods. Negation and temporal relationship detection algorithms were applied to identify and exclude negated, uncertain, historical, and future statements. Negation algorithm handles double negations that commonly occur in ETT reports, eg, “no significant abnormality.” Regular expressions were created to capture some of the values. We developed separated algorithms to identify and extract each clinical variable commonly available in ETT reports (Figure 1, Data S2, and Table S1).
Figure 1

Diagram illustrating the natural language processing (NLP) process to extract and process exercise treadmill test (ETT) reports. BP indicates blood pressure; HR, heart rate; METs, metabolic equivalents; MPHR, maximum predicted heart rate; SBP, systolic blood pressure.

Diagram illustrating the natural language processing (NLP) process to extract and process exercise treadmill test (ETT) reports. BP indicates blood pressure; HR, heart rate; METs, metabolic equivalents; MPHR, maximum predicted heart rate; SBP, systolic blood pressure. A postprocessing step was developed using Python programming language to integrate and finalize the results. Additional variables were derived based on the NLP‐extracted variables and the variables (age and sex) from structured EHR data (Data S2 and Table S2). A data imputing step was performed to fill missing data using other variables. For example, based on the age and maximum HR, maximum predicted HR can be calculated (Data S3). Based on the exercise time and metabolic equivalents (METs), it can infer whether it is the standard Bruce protocol (Data S6). Algorithms have also been developed to identify incorrect information in the reports. For example, incorrect values were flagged and discarded if they were out of the clinical range, such as an MET of 50. The magnitude of ST change and its direction was used to classify the ECG result into normal, abnormal, and equivocal categories (Data S7).22 The ETT results were classified as abnormal, normal, equivocal, and nondiagnostic categories based on the clinician's assessment as well as the other information documented in the reports (Data S3).22, 23 The NLP algorithm was developed and iteratively improved using the training data set.

NLP Algorithm Validation

The performance of NLP was evaluated against the validation data set at the patient level. Confusion matrix, a type of class‐tabulation table commonly used in the visualization of the performance of a machine learning classification algorithm, was depicted to compare the NLP results to the reference standard for identification of ETT results. The multicategory variables were dichotomized into 2 categories for evaluation purposes. The numbers of true positives, false positives, true negatives, and false negatives were calculated for each variable. Sensitivity, specificity, positive predictive value, negative predictive value, and negative/positive likelihood ratios were then derived based on those numbers.

Application of NLP Algorithm and Analysis

NLP algorithms were further refined based on the validation results. The final NLP algorithm was then applied to the entire study population of patients with exercise testing to identify the ETT results. Patient characteristics and comorbidities were compared among the different ETT results. The ETT result was treated as a nominal variable rather than an ordinal variable. The primary outcome was 30‐day AMI or all‐cause mortality. The secondary outcome was 30‐day major adverse cardiac event rates, which was the composite of death, AMI, and any coronary revascularization procedures. We calculated P values using chi‐square or Fisher exact tests for all categorical variables and Wilcoxon test for all continuous variables. The significance threshold was set at 0.05. To reduce potential bias for rare events, logistic regression with Firth penalized maximum likelihood method24 was used to estimate odds ratios (ORs) and 95% CIs. C‐statistics were calculated for the ETT's ability to predict the primary and secondary outcomes. All data were analyzed using SAS version 9.4 (SAS Institute Inc.). The institutional review board at KPSC approved this study. Requirement for informed consent was waived.

Results

Our study population included 5214 patients with a median age of 56 years, 50.4% were women, and 48.1% were white (Table 1). The interannotator agreements (Cohen κ) on the validation data set were reported in Table S3. The overall agreements are substantial to excellent based on Landis and Koch.25 In the reference standard, the percentages of abnormal, equivocal, nondiagnostic, and normal ETT results were 5.7%, 6.7%, 14.3%, and 73.3%, respectively. NLP achieved 96.4% sensitivity and 94.8% specificity on identifying non‐normal (abnormal/equivocal/nondiagnostic) versus normal ETT tests (Table 2) on the validation data set. The positive predictive value was 87.1% and the negative predictive value was 98.6%. NLP had the highest accuracy in identifying nondiagnostic results. For abnormal and equivocal results, NLP had higher specificity and negative predictive value but lower sensitivity and positive predictive value. The evaluation results for the other 9 ETT variables are presented in Table 3. NLP achieved high accuracy on these variables except for the relatively low positive predictive value for symptom identification.
Table 1

Comparison of Patient Characteristics by Treadmill Test Results

Patient VariablesNormalAbnormalEquivocalNondiagnostic P Valuea Total
No. (%)3908 (75)310 (5.9)344 (6.6)652 (12.5)5214 (100)
Age, ya 55 (47, 64)58 (50, 65)57 (49, 64)60 (52, 69)<0.00156 (48, 65)
Women1955 (50)138 (44.5)182 (52.9)355 (54.4)0.0222630 (50.4)
Hispanic 1591 (40.7)123 (39.7)129 (37.5)278 (42.6)0.682121 (40.7)
Race0.32
White1895 (48.5)154 (49.7)166 (48.3)294 (45.1)2509 (48.1)
Black400 (10.2)37 (11.9)42 (12.2)90 (13.8)569 (10.9)
Asian492 (12.6)42 (13.5)47 (13.7)86 (13.2)667 (12.8)
Alaska Native/Pacific Islander79 (2)3 (1)6 (1.7)9 (1.4)97 (1.9)
Other1042 (26.7)74 (23.9)83 (24.1)173 (26.5)1372 (26.3)
Smoking behavior0.003
Never2548 (65.2)203 (65.5)240 (69.8)393 (60.3)3384 (64.9)
Other1253 (32.1)100 (32.3)102 (29.7)249 (38.2)1704 (32.7)
HEART score3 (2, 4)4 (3, 4)3 (2, 4)4 (2, 5)0.0091065 (20.4)
HEART score (risk groups)0.12
Low (0–3)468 (58.6)32 (46.4)44 (60.3)60 (48)604 (56.7)
Intermediate (4–6)320 (40.1)35 (50.7)27 (37)63 (50.4)445 (41.8)
High (≥7)10 (1.3)2 (2.9)2 (2.7)2 (1.6)16 (1.5)
Elixhauser index2 (1, 3)2 (1, 4)2 (1, 4)3 (2, 5)<0.0015214 (100)
Comorbidities
Coronary artery disease217 (5.6)51 (16.5)29 (8.4)95 (14.6)<0.001392 (7.5)
Stroke31 (0.8)4 (1.3)2 (0.6)11 (1.7)0.1248 (0.9)
Dyslipidemia2279 (58.3)203 (65.5)206 (59.9)437 (67)<0.0013125 (59.9)
Hypertension1605 (41.1)179 (57.7)166 (48.3)419 (64.3)<0.0012369 (45.4)
Diabetes mellitus756 (19.3)96 (31)76 (22.1)210 (32.2)<0.0011138 (21.8)
Medications, No. (%)b
Anticoagulants109 (2.8)15 (4.8)18 (5.2)52 (8)<0.0001194 (3.7)
Hyperlipidemics965 (24.7)104 (33.5)98 (28.5)247 (37.9)<0.00011414 (27.1)
Hypertensives1233 (31.6)139 (44.8)122 (35.5)351 (53.8)<0.00011845 (35.4)
Diabetes mellitus421 (10.8)58 (18.7)49 (14.2)134 (20.6)<0.0001662 (12.7)

HEART indicates history, ECG, age, risk factors, and troponin.

Chi‐square test was used for categorical variables, and Wilcoxon test was used for continuous variables.

Continuous variables are expressed as median (25th, 75th percentiles). Data are presented as number (percentage) unless otherwise indicated.

Medication usage in the 90 days before emergency department visits.

Table 2

Comparison of NLP to the Reference Standard for Identification of ETT Results

Confusion MatrixNLPTotal
Reference StandardNormalAbnormalEquivocalNondiagnostic
Normal731377
Abnormal156
Equivocal279
Nondiagnostic1313
Total7481013

NLP indicates natural language processing; NPV, negative predictive value; PPV, positive predictive value.

For evaluation purposes, the multicategory exercise treadmill test (ETT) results were dichotomized into 2 categories.

Table 3

Comparison of NLP to the Reference Standard for Identification of Treadmill Test Variables

ETT VariablesReference Standard (n/N)Sensitivity % (95% CI)Specificity % (95% CI)PPV % (95% CI)NPV % (95% CI)
Study protocola 98/10595.9 (89.3–98.7)100 (77.1–100)100 (95.1–100)81 (57.4–93.7)
Exercise time104/10594.2 (87.4–97.6)100 (67.9–100)100 (95.3–100)64.7 (38.6–84.7)
Reasons for stoppinga 92/10598.9 (93.2–99.9)100 (82.2–100)100 (95–100)95.8 (76.9–99.8)
Symptoma 100/10580 (29.9–98.9)94 (86.9–97.5)40 (13.7–72.6)98.9 (93.4–99.9)
Symptom2a 89/105100 (39.6–100)98.8 (92.7–99.9)80 (29.9–98.9)100 (94.6–100)
ECGa 105/10598.1 (92.6–99.7)100 (67.9–100)100 (95.5–100)84.6 (53.7–97.3)
METs104/105100 (95.6–100)100 (67.9–100)100 (95.6–100)100 (67.9–100)
Maximum BP96/10596.9 (90.5–99.2)100 (79.1–100)100 (95.1–100)86.4 (64–96.4)
MPHR104/105100 (95.6–100)100 (67.9–100)100 (95.6–100)100 (67.9–100)
Maximum HR94/10590.4 (82.2–95.3)100 (80.8–100)100 (94.6–100)70 (50.4–84.6)

The results of sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) findings were reported as percentages with 95% CIs. BP indicates blood pressure; ETT, exercise treadmill test; METs, metabolic equivalents; MPHR, maximum predicted heart rate; NLP, natural language processing.

For evaluation purposes, the results of these multicategory variables were dichotomized into 2 categories:

Study protocol: standard Bruce protocol vs other types of study protocols.

Reasons for stopping: target heart rate (HR) achieved vs other reasons.

Symptom: no symptoms vs abnormal, atypical angina, atypical symptoms.

Symptom 2: no symptoms vs abnormal.

ECG: normal, nondiagnostic vs abnormal.

Comparison of Patient Characteristics by Treadmill Test Results HEART indicates history, ECG, age, risk factors, and troponin. Chi‐square test was used for categorical variables, and Wilcoxon test was used for continuous variables. Continuous variables are expressed as median (25th, 75th percentiles). Data are presented as number (percentage) unless otherwise indicated. Medication usage in the 90 days before emergency department visits. Comparison of NLP to the Reference Standard for Identification of ETT Results NLP indicates natural language processing; NPV, negative predictive value; PPV, positive predictive value. For evaluation purposes, the multicategory exercise treadmill test (ETT) results were dichotomized into 2 categories. Comparison of NLP to the Reference Standard for Identification of Treadmill Test Variables The results of sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) findings were reported as percentages with 95% CIs. BP indicates blood pressure; ETT, exercise treadmill test; METs, metabolic equivalents; MPHR, maximum predicted heart rate; NLP, natural language processing. For evaluation purposes, the results of these multicategory variables were dichotomized into 2 categories: Study protocol: standard Bruce protocol vs other types of study protocols. Reasons for stopping: target heart rate (HR) achieved vs other reasons. Symptom: no symptoms vs abnormal, atypical angina, atypical symptoms. Symptom 2: no symptoms vs abnormal. ECG: normal, nondiagnostic vs abnormal. The refined NLP algorithm was applied to the 5214 ETT reports. The percentages of abnormal, equivocal, nondiagnostic, and normal ETT results were 5.9%, 6.6%, 12.5%, and 75%, respectively. Table 1 shows patient characteristics stratified by the ETT results. The troponin values were reported in Table S4. Most of these patients had a troponin value <0.02 ng/mL. The mean and median days from ED to ETT were 4 and 1, respectively. Bruce protocol was used in 95% of patients. Table 4 presents the ETT variables stratified by the ETT results. Compared with the patients with normal ETT results, the other groups were more likely to have shorter exercise time, lower METs, lower maximum HR, and chronotropic incompetence.
Table 4

Comparison of ETT Variables by NLP Identified ETT Results

ETT VariablesNormalAbnormalEquivocalNondiagnostic P Valuea Total
No. (%)3908 (75)310 (5.9)344 (6.6)652 (12.5)5214 (100)
Days between ED and ETT1 (1, 5)1 (1, 3)1 (1, 5.5)1 (1, 3)<0.0015214 (100)
Protocol—standard Bruce3745 (95.8)298 (96.1)326 (94.8)562 (86.2)<0.0014931 (94.6)
Exercise time, min8.8 (6.6, 10)7.2 (6, 9.1)7.6 (6, 9.4)6.4 (4.3, 8.4)<0.0015079 (97.4)
BP
Resting SBP128 (117, 141)131 (118, 142)132 (120, 144.5)133 (120, 146)<0.0014780 (91.7)
Resting DBP80 (72, 86)79 (70, 88)80 (72, 88)78 (70, 84)<0.0014781 (91.7)
Resting pulse pressure48 (40, 58)50 (41, 61)52 (41, 61)54 (44, 66)<0.0014780 (91.7)
Maximum SBP178 (160, 196)180 (162, 199)181 (162, 198)174 (155, 196)0.0054780 (91.7)
Maximum DBP80 (70, 88)79 (70, 87)80 (71, 88)80 (69, 87)0.24780 (91.7)
Maximum pulse pressure98 (80, 117)100.5 (82, 120.5)100 (83, 118)94 (78, 115)0.034780 (91.7)
SBP change50 (36, 63)48 (33, 65)49 (36, 60)41 (28, 58)<0.0014586 (88)
Hypertensive1342 (34.3)98 (31.6)126 (36.6)199 (30.5)0.141765 (33.9)
Hypertensive (diastolic)693 (17.7)49 (15.8)64 (18.6)115 (17.6)<0.001921 (17.7)
Hypertensive (systolic)828 (21.2)65 (21)86 (25)123 (18.9)<0.0011102 (21.1)
Hypotensive3 (0.1)1 (0.3)1 (0.3)3 (0.5)0.04b 8 (0.2)
Low SBP peak208 (5.3)23 (7.4)19 (5.5)63 (9.7)0.001313 (6)
HR
Resting HR74 (65, 83)69 (63, 78)73 (64, 82)67 (60, 76)<0.0014822 (92.5)
Maximum HR155 (146, 166)150 (139, 160)153 (141, 162)126 (114, 139)<0.0014939 (94.7)
MPHR94 (89, 100)90 (86, 98)92 (87, 98)78 (72, 83)<0.0015170 (99.2)
Chronotropic incompetence852 (21.8)108 (34.8)109 (31.7)491 (75.3)<0.0011560 (29.9)
METs<0.0015100 (97.8)
≤7745 (19.1)92 (29.7)101 (29.4)291 (44.6)1229 (23.6)
7 to 10926 (23.7)76 (24.5)78 (22.7)153 (23.5)1233 (23.6)
>102178 (55.7)135 (43.5)160 (46.5)165 (25.3)2638 (50.6)
Symptom<0.0015214 (100)
Abnormal chest pain113 (2.9)73 (23.5)24 (7)41 (6.3)251 (4.8)
Atypical angina264 (6.8)52 (16.8)36 (10.5)85 (13)437 (8.4)
Atypical symptoms279 (7.1)21 (6.8)29 (8.4)93 (14.3)422 (8.1)
No symptoms3252 (83.2)164 (52.9)255 (74.1)433 (66.4)4104 (78.7)
ECG finding<0.0015199 (99.7)
Abnormal47 (1.2)152 (49)74 (21.5)35 (5.4)308 (5.9)
Nondiagnostic300 (7.7)28 (9)105 (30.5)70 (10.7)503 (9.6)
Normal3561 (91.1)130 (41.9)165 (48)532 (81.6)4388 (84.2)
Reason for stoppingc <0.001
Target HR achieved3489 (71.3)229 (54.3)298 (66.4)482 (51.4)4498 (67.1)
Noncardiac268 (5.5)31 (7.3)34 (7.6)143 (15.3)476 (7.1)
Abnormal BP response108 (2.2)7 (1.7)13 (2.9)39 (4.2)167 (2.5)
Dyspnea271 (5.5)44 (10.4)31 (6.9)80 (8.5)426 (6.4)
Chest pain163 (3.3)61 (14.5)20 (4.5)55 (5.9)299 (4.5)
Missing592 (12.1)50 (11.8)53 (11.8)138 (14.7)833 (12.4)

Continuous variables are shown as median (25th, 75th percentiles). Data are presented as number (percentage) unless otherwise indicated. BP indicates blood pressure; DBP, diastolic blood pressure; ED, emergency department; ETT, exercise treadmill test; HR, heart rate; METs, metabolic equivalents; MPHR, maximum predicted heart rate; NLP, natural language processing; SBP, systolic blood pressure.

Chi‐square test was used for categorical variables and Wilcoxon test was used for continuous variables.

Fisher exact test.

Reason for stopping allows multiple values per report.

Comparison of ETT Variables by NLP Identified ETT Results Continuous variables are shown as median (25th, 75th percentiles). Data are presented as number (percentage) unless otherwise indicated. BP indicates blood pressure; DBP, diastolic blood pressure; ED, emergency department; ETT, exercise treadmill test; HR, heart rate; METs, metabolic equivalents; MPHR, maximum predicted heart rate; NLP, natural language processing; SBP, systolic blood pressure. Chi‐square test was used for categorical variables and Wilcoxon test was used for continuous variables. Fisher exact test. Reason for stopping allows multiple values per report. Overall event rates were low (Table 5, Figure 2). There were associations of increasing 30‐day death/AMI with ETT results (P<0.001) from normal (0.08%; 95% CI, 0–0.16), to nondiagnostic (0.77%; 95% CI, 0.1–1.44), to equivocal (0.58%; 95% CI, 0–1.38), to abnormal (1.9%; 95% CI, 0.4–3.47). There were stronger associations of increasing 30‐day major adverse cardiac event rates with ETT results (P<0.001) from normal (0.08%; 95% CI, 0–0.16), to nondiagnostic (1.1%; 95% CI, 0.28–1.86), to equivocal (2.03%; 95% CI, 0.54–3.53), to abnormal (10.0%; 95% CI, 6.66–13.34).
Table 5

Thirty‐Day Major Adverse Cardiac Outcomes Stratified by NLP Identified Treadmill Test Results After an ED Visit for Suspected Acute Coronary Syndrome

30‐d OutcomesNLP Identified ETT Results P Valuea Total
NormalAbnormalEquivocalNondiagnostic
No.% (95% CI)No.% (95% CI)No.% (95% CI)No.% (95% CI)No.% (95% CI)
MACE30.08 (0–0.16)3110 (6.66–13.34)72.03 (0.54–3.53)71.07 (0.28–1.86)<0.001480.92 (0.66–1.18)
Death00 (0–0)10.32 (0–0.95)00 (0–0)00 (0–0)0.0610.02 (0–0.06)
AMI30.08 (0–0.16)51.61 (0.21–3.02)20.58 (0–1.38)50.77 (0.1–1.44)<0.001150.29 (0.14–0.43)
CABG00 (0–0)165.16 (2.7–7.62)10.29 (0–0.86)20.31 (0–0.73)<0.001190.36 (0.2–0.53)
Revascularization20.05 (0–0.12)123.87 (1.72–6.02)51.45 (0.19–2.72)30.46 (0–0.98)<0.001220.42 (0.25–0.6)
Death or AMI30.08 (0–0.16)61.94 (0.4–3.47)20.58 (0–1.38)50.77 (0.1–1.44)<0.001160.31 (0.16–0.46)

AMI indicates acute myocardial infarction; CABG, coronary artery bypass grafting; ED, emergency department; ETT, exercise treadmill test; MACE, major adverse cardiac events (which included cardiovascular death, acute myocardial infraction, coronary artery bypass grafting, and coronary revascularization); NLP, natural language processing.

Fisher exact test.

Figure 2

Thirty‐day MACE stratified by natural language processing–identified treadmill test results after an emergency department visit for suspected acute coronary syndrome. AMI indicates acute myocardial infarction; ETT, exercise treadmill test; MACE, major adverse cardiac events (which included cardiovascular death, acute myocardial infraction, coronary artery bypass grafting, and coronary revascularization).

Thirty‐Day Major Adverse Cardiac Outcomes Stratified by NLP Identified Treadmill Test Results After an ED Visit for Suspected Acute Coronary Syndrome AMI indicates acute myocardial infarction; CABG, coronary artery bypass grafting; ED, emergency department; ETT, exercise treadmill test; MACE, major adverse cardiac events (which included cardiovascular death, acute myocardial infraction, coronary artery bypass grafting, and coronary revascularization); NLP, natural language processing. Fisher exact test. Thirty‐day MACE stratified by natural language processing–identified treadmill test results after an emergency department visit for suspected acute coronary syndrome. AMI indicates acute myocardial infarction; ETT, exercise treadmill test; MACE, major adverse cardiac events (which included cardiovascular death, acute myocardial infraction, coronary artery bypass grafting, and coronary revascularization). Table 6 presents the unadjusted ORs for ETT results in patients who had 30‐day major adverse cardiac event rates or death/AMI versus patients who did not. Compared with normal ETT, nondiagnostic, equivocal, and abnormal ETT were associated with higher odds of 30‐day death/AMI (nondiagnostic: OR, 9.5 [95% CI, 2.5–40.9]; equivocal: OR, 8.1 [95% CI, 1.4–42.0]; and abnormal: OR, 23.8 [95% CI, 6.7–100.4]). The C‐statistic was 0.81 (95% CI, 0.70–0.92). Compared with normal ETT, nondiagnostic, equivocal, and abnormal ETT were associated with higher odds of 30‐day major adverse cardiac event rates (nondiagnostic: OR, 13 [95% CI, 3.8–53.5]; equivocal: OR, 24.8 [95% CI, 7.3–102.5]; and abnormal: OR, 125.8 [95% CI, 47.2–466.3]). The C‐statistic was 0.9 (95% CI, 0.86–0.95).
Table 6

Thirty‐Day Major Adverse Cardiac Outcomes Stratified by NLP Identified Treadmill Test Results After an ED Visit for Suspected Acute Coronary Syndrome

ETT Results30‐d MACE30‐d Death or AMI
No. of CasesOR (95% CI)a No. of CasesOR (95% CI)a
Abnormal vs normal31:3125.8 (47.2–466.3)6:323.8 (6.7–100.4)
Equivocal vs normal7:324.8 (7.3–102.5)2:38.1 (1.4–42.0)
Nondiagnostic vs normal7:313.0 (3.8–53.5)5:39.5 (2.5–40.9)

Number of patients in the 4 groups of exercise treadmill test (ETT) results: abnormal=310; equivocal=344; nondiagnostic=652; and normal=3908. AMI indicates acute myocardial infarction; ED, emergency department; MACE, major adverse cardiac events (which included cardiovascular death, acute myocardial infraction, coronary artery bypass grafting, and coronary revascularization); NLP, natural language processing; OR, odds ratio.

Logistic regression with Firth penalized maximum likelihood estimation.

Thirty‐Day Major Adverse Cardiac Outcomes Stratified by NLP Identified Treadmill Test Results After an ED Visit for Suspected Acute Coronary Syndrome Number of patients in the 4 groups of exercise treadmill test (ETT) results: abnormal=310; equivocal=344; nondiagnostic=652; and normal=3908. AMI indicates acute myocardial infarction; ED, emergency department; MACE, major adverse cardiac events (which included cardiovascular death, acute myocardial infraction, coronary artery bypass grafting, and coronary revascularization); NLP, natural language processing; OR, odds ratio. Logistic regression with Firth penalized maximum likelihood estimation.

Discussion

In the era of big data, unstructured (or free‐text) data in the EHR has become an increasingly valuable source for clinical research and operational measurement. However, the traditional approach of using unstructured data requires manual chart review. Manual chart review is not only time‐consuming and costly but it often lacks accuracy and consistency.26 In this study, we derived and validated a highly accurate automatic algorithm using NLP to identify, extract, and synthesize information from free‐text ETT reports. The NLP algorithm had high sensitivity and specificity compared with physician reviewers and accurately identified normal, ischemic, nondiagnostic, and equivocal ETT results. We expect these results would yield similar results in different systems as we have found previous NLP algorithms developed in our institution have been successful in other institutions.27, 28 Our results were further validated by the varying association of each ETT result category with 30‐day AMI or death. These findings indicate that NLP can be used to facilitate future research and gain better understanding of the benefits and risks of ETT. This may help physicians to identify patients who might benefit from the use of ETT. Prior studies categorized results into 2 categories (normal and abnormal)22 or included a third category of “inconclusive,” which combined equivocal and nondiagnostic results.19, 20, 23, 29 However, our study demonstrated that there are significant differences between “equivocal” and “nondiagnostic” results. Patients with equivocal and nondiagnostic results most closely resembled those with normal and abnormal results, respectively, in baseline characteristics. Patients with equivocal ETT test results were more likely to have non‐normal ECG findings. Few studies have focused on the prognostic value of ETT in patients with short‐term cardiac events referred from the ED with suspected acute coronary syndrome. Compared with a related study composed of a much smaller patient population, our study found lower 30‐day death or AMI rates for patients with normal (0.17% versus 0.08%) or ischemic (3.5% versus 1.9%) ETTs but higher rates for those with nondiagnostic (0% versus 0.77%) results.20 Three‐fourths of our study population had normal ETT results, consistent with other reports.19, 20, 21 The overall 30‐day death/AMI rate was low (0.31%; 95% CI, 0.16–0.46), which may suggest that patients are sent for stress testing too often and a better pretest risk stratification is needed. Even within an integrated health system, we identified numerous variations on the format and quality of the ETT reports. While some reports contained the most information in a well‐formed format, as shown in the sample ETT report (Data S5), others had missing data elements, section heads, and punctuation. NLP also identified incorrect and missing information in the reports (Table S5). In addition to its usage in research studies, this method can be integrated into the EHR system to improve the quality of ETT reports, thus improving clinical decision support and care coordination for patients undergoing ETT. Proper treatment and follow‐up of patients undergoing ETT are essential to reduce the risk of future cardiac events. NLP's ability to extract useful information from unstructured data available in the EHR may enable more efficient, economically feasible, large‐scale applications using ETT data among diverse systems. There were significant differences in the majority of extracted variables between ETT result groups. These variables have been reported to have additional diagnostic or prognostic values in addition to the ETT result.30 The Duke Treadmill Score is a weighted score combining exercise time, ST change, and exercise‐induced angina.31 It has been used as a risk‐stratification tool and to predict 5‐year mortality. However, it was developed for ETT under the Bruce protocol and did not include other ETT variables such as METs, HR, or blood pressure. The FIT Treadmill Score was derived by combining age, sex, maximum predicted HR, and METs.32 It was used to predict 10‐year mortality and did not include other variables such as ECG, HR, or blood pressure. There are a lack of population‐based studies on short‐term outcomes prediction following ETT.33 A much larger study population is required for short‐term outcome prediction because of the low incidence rate. The risk models were also commonly linear equations derived by Cox regression models. In the era of artificial intelligence and big data, better machine learning methods have been available to train on a large volume of data efficiently.34 The new machine learning methods are also able to deal with the imbalanced data such as the low positive cardiac outcomes following ETTs. The NLP algorithm developed in this study facilitates the development of a more robust risk score system using statistical and machine learning methods. Such a system may provide better prognostic value than the raw ETT results.

Study Strengths and Limitations

To the best of our best knowledge, this is the largest study on the association of ETT results with short‐term cardiac event rates. We found that most patients are at low risk and have normal ETT results, while those with ischemic, nondiagnostic, or equivocal results have higher risks and warrant future research to help direct clinical management. Our study population was limited to patients in a large integrated health system presenting to the ED with ETT performed within 30 days. ETTs were also performed for patients in non‐ED settings. The automated approach developed in this study does not rely on any specific clinical features unique to our institution. ETT results were mainly based on the treating clinician's interpretations, rather than adjudicated by a core laboratory. However, variations in test interpretation are expected among the clinicians. We limited our analyses to short‐term outcomes using only the ETT result since it is often the only information used in clinical decision making.23 The other variables extracted by the NLP in this study could be used to augment the ETT results for better prediction of short‐term outcomes in future studies. Our study focused on the ETT reports, which do not have ECG tracing information. The only structured data we used in the algorithms were the patient's age and sex. Including additional clinical variables will likely enhance short‐term outcome prediction. Patients presenting to the ED with ETT have a low rate of short‐term cardiac events. Of more than 5000 patients, only 16 had an AMI or died at 30 days (Table 5). In the future, we may reassess these correlations in a larger population.

Conclusions

We developed and validated an automated NLP algorithm to identify and extract ETT results that performed with high sensitivity and specificity. We demonstrated that a computational tool could be used to support a population‐based study using ETT data otherwise infeasible because of the extensive manual chart review that would be required. The automated identification of ETT variables may facilitate future research to understand the appropriate care strategies for patients who present with suspected acute coronary syndrome in ED settings.

Sources of Funding

This work was supported by the National Heart, Lung, and Blood Institute of the National Institutes of Health (NIH) under award number R01HL134647. The content is solely the responsibility of the authors and does not necessarily represent the official views of the NIH. Dr Natsui was supported by a NIH/National Center for Advancing Translational Sciences UCLA CTSI grant (TL1TR001883). Dr Ferencik was supported by an American Heart Association Fellow‐to‐Faculty Award (13FTF16450001).

Disclosures

Dr Sun was a consultant for Medtronic. The remaining authors have no disclosures to report. Data S1. Data S2. Data S3. Data S4. Data S5. Data S6. Data S7. Table S1. ETT Variables Extracted by NLP Table S2. ETT Variables Derived Based on NLP‐Extracted Information Table S3. Kappa Scores Between the 2 Physicians on the Validation Data Set Measured by the Treadmill Test Variables Table S4. Troponin Values by ETT Results Table S5. Number of Conflicted or Missing Cases for Selected Variables Click here for additional data file.
  33 in total

1.  Exercise testing in clinical medicine.

Authors:  E A Ashley; J Myers; V Froelicher
Journal:  Lancet       Date:  2000-11-04       Impact factor: 79.321

2.  2012 ACCF/AHA/ACP/AATS/PCNA/SCAI/STS guideline for the diagnosis and management of patients with stable ischemic heart disease: executive summary: a report of the American College of Cardiology Foundation/American Heart Association task force on practice guidelines, and the American College of Physicians, American Association for Thoracic Surgery, Preventive Cardiovascular Nurses Association, Society for Cardiovascular Angiography and Interventions, and Society of Thoracic Surgeons.

Authors:  Stephan D Fihn; Julius M Gardin; Jonathan Abrams; Kathleen Berra; James C Blankenship; Apostolos P Dallas; Pamela S Douglas; Joanne M Foody; Thomas C Gerber; Alan L Hinderliter; Spencer B King; Paul D Kligfield; Harlan M Krumholz; Raymond Y K Kwong; Michael J Lim; Jane A Linderbaum; Michael J Mack; Mark A Munger; Richard L Prager; Joseph F Sabik; Leslee J Shaw; Joanna D Sikkema; Craig R Smith; Sidney C Smith; John A Spertus; Sankey V Williams
Journal:  Circulation       Date:  2012-11-19       Impact factor: 29.690

3.  Reducing variation in hospital admissions from the emergency department for low-mortality conditions may produce savings.

Authors:  Amber K Sabbatini; Brahmajee K Nallamothu; Keith E Kocher
Journal:  Health Aff (Millwood)       Date:  2014-09       Impact factor: 6.301

4.  Extracting and analyzing ejection fraction values from electronic echocardiography reports in a large health maintenance organization.

Authors:  Fagen Xie; Chengyi Zheng; Albert Yuh-Jer Shen; Wansu Chen
Journal:  Health Informatics J       Date:  2016-06-07       Impact factor: 2.681

5.  The HEART Score for Suspected Acute Coronary Syndrome in U.S. Emergency Departments.

Authors:  Adam L Sharp; Yi-Lin Wu; Ernest Shen; Rita Redberg; Ming-Sum Lee; Maros Ferencik; Shaw Natsui; Chengyi Zheng; Aniket Kawatkar; Michael K Gould; Benjamin C Sun
Journal:  J Am Coll Cardiol       Date:  2018-10-09       Impact factor: 24.094

6.  Immediate exercise testing to evaluate low-risk patients presenting to the emergency department with chest pain.

Authors:  Ezra A Amsterdam; J Douglas Kirk; Deborah B Diercks; William R Lewis; Samuel D Turnipseed
Journal:  J Am Coll Cardiol       Date:  2002-07-17       Impact factor: 24.094

7.  Derivation and validation of a risk stratification model to identify coronary artery disease in women who present to the emergency department with potential acute coronary syndromes.

Authors:  Deborah B Diercks; Judd E Hollander; Frank Sites; J Douglas Kirk
Journal:  Acad Emerg Med       Date:  2004-06       Impact factor: 3.451

8.  Using natural language processing and machine learning to identify gout flares from electronic clinical notes.

Authors:  Chengyi Zheng; Nazia Rashid; Yi-Lin Wu; River Koblick; Antony T Lin; Gerald D Levy; T Craig Cheetham
Journal:  Arthritis Care Res (Hoboken)       Date:  2014-11       Impact factor: 4.794

9.  Automated Identification and Extraction of Exercise Treadmill Test Results.

Authors:  Chengyi Zheng; Benjamin C Sun; Yi-Lin Wu; Ming-Sum Lee; Ernest Shen; Rita F Redberg; Maros Ferencik; Shaw Natsui; Aniket A Kawatkar; Visanee V Musigdilok; Adam L Sharp
Journal:  J Am Heart Assoc       Date:  2020-02-21       Impact factor: 5.501

10.  The retrospective chart review: important methodological considerations.

Authors:  Matt Vassar; Matthew Holzmann
Journal:  J Educ Eval Health Prof       Date:  2013-11-30
View more
  4 in total

1.  Identifying Cases of Shoulder Injury Related to Vaccine Administration (SIRVA) in the United States: Development and Validation of a Natural Language Processing Method.

Authors:  Chengyi Zheng; Jonathan Duffy; In-Lu Amy Liu; Lina S Sy; Ronald A Navarro; Sunhea S Kim; Denison S Ryan; Wansu Chen; Lei Qian; Cheryl Mercado; Steven J Jacobsen
Journal:  JMIR Public Health Surveill       Date:  2022-05-24

Review 2.  Systematic review of current natural language processing methods and applications in cardiology.

Authors:  Meghan Reading Turchioe; Alexander Volodarskiy; Jyotishman Pathak; Drew N Wright; James Enlou Tcheng; David Slotwiner
Journal:  Heart       Date:  2022-05-25       Impact factor: 7.365

3.  Natural language processing for identification of hypertrophic cardiomyopathy patients from cardiac magnetic resonance reports.

Authors:  Nakeya Dewaswala; David Chen; Huzefa Bhopalwala; Vinod C Kaggal; Sean P Murphy; J Martijn Bos; Jeffrey B Geske; Bernard J Gersh; Steve R Ommen; Philip A Araoz; Michael J Ackerman; Adelaide M Arruda-Olson
Journal:  BMC Med Inform Decis Mak       Date:  2022-10-18       Impact factor: 3.298

4.  Automated Identification and Extraction of Exercise Treadmill Test Results.

Authors:  Chengyi Zheng; Benjamin C Sun; Yi-Lin Wu; Ming-Sum Lee; Ernest Shen; Rita F Redberg; Maros Ferencik; Shaw Natsui; Aniket A Kawatkar; Visanee V Musigdilok; Adam L Sharp
Journal:  J Am Heart Assoc       Date:  2020-02-21       Impact factor: 5.501

  4 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.