- Research Article
1
- 10.1016/j.annonc.2020.08.1696
1382P Automating access to real-world evidence
- Sep 01, 2020
- Annals of Oncology
- M-P Gauthier + 7 more +7
1382P Automating access to real-world evidence
Automating Access to Real-World Evidence
1382P Automating access to real-world evidence
1382P Automating access to real-world evidence
Can Large Language Models Reduce the Cost of Extracting Data from Electronic Health Records for Research?
Much medical data is only available in unstructured electronic health records (EHR). These data can be obtained through manual (human) extraction or programmatic natural language processing (NLP) methods. We estimate that NLP only becomes economically competitive with manual extraction when there are ~6500 EHRs records. We have found that there is interest from clinicians and researchers in using NLP on projects with fewer records. We examine whether a large language model (LLM) can be used to reduce the cost of NLP to make it economically competitive for such projects, and study the feasibility of such framework for accuracy. We developed an NLP pipeline using an off-the-shelf open LLM to extract breast cancer ER, PR, and HER2 biomarker data. Pipeline development stopped when the prompts performances were competitive with manual extraction. The development time and extraction performance were compared to those for an existing rule-based (RB) NLP pipeline. The code for the extraction portion of the LLM pipeline is available at https://github.com/sehagler/llm_biomarker_extraction . The LLM pipeline produced performance competitive with manual data extraction with a hands-on development time that was ~38% that of the RB pipeline. LLMs exhibit lower hands-on development costs compared to standard NLP techniques, but require significant and potentially costly computation resources. LLMs may potentially allow the economically competitive application of NLP to smaller projects if computation costs can be managed.
Read moreOA08.04 Validation of Scalable, Automated Data Extraction in an Advanced Lung Cancer Patient Population
OA08.04 Validation of Scalable, Automated Data Extraction in an Advanced Lung Cancer Patient Population
Assessing the feasibility and external validity of natural language processing-extracted data for advanced lung cancer patients.
Manual extraction of real-world clinical data for research can be time-consuming and prone to error. We assessed the feasibility of using natural language processing (NLP), an AI technique, to automate data extraction for patients with advanced lung cancer (aLC). We assessed the external validity of our NLP-extracted data by comparing our findings to those reported in the literature. Patients diagnosed with stage IIIB or IV lung cancer between January 2015 to December 2017 at Princess Margaret Cancer Centre who received at least one dose of systemic therapy were included. Their electronic health records were provided to Pentavere's NLP platform, DARWENTM, in March 2019. Descriptive statistics summarized baseline patient and cancer characteristics, molecular biomarkers, and first-line systemic therapies. Cox multivariate models were used to evaluate prognostic factors for advanced non-small cell lung cancer (NSCLC) and small-cell lung cancer (SCLC) cohort. NLP extracted clinical information (n=333 patients) in a total of 8hours, with only a few missing data for smoking status (n=2), and Eastern Cooperative Oncology Group (ECOG) status (n=5). Baseline patient and cancer characteristics summarized from NLP-extracted data were comparable to those in previous studies and population reports. For NSCLC patients, being male (HR 1.44, 95% CI [1.04, 2.00]), having worse ECOG (1.48 [1.22, 1.81]), and having liver (2.24 [1.45, 3.46]), bone (2.09 [1.48, 2.96]), or lung metastases (2.54 [1.05, 2.26]) were associated with worse survival outcomes. For SCLC patients, having older age (HR 1.70 per 10years, 95% CI [1.10, 2.63]) and liver metastases (3.81 [1.61, 9.01]) were associated with worse survival outcomes. Our study demonstrated that automated data extraction using NLP is feasible and time efficient. Additionally, the NLP-extracted data can be used to identify valid and useful clinical endpoints for research. NLP holds significant potential to accelerate the extraction of real-world data for future observational studies.
Read moreAutomated data extraction from electronic medical records for pragmatic clinical trials.
Data collection in randomized trials is expensive and labor intensive. With the rise in ongoing pragmatic trials, the use of electronic medical records (EMR) as a source of data has increased. Although potentially faster and cheaper, EMR use can lead to errors. Therefore, to ensure accurate data collection and to avoid systematic errors we performed a study comparing automated data extraction (ADE) with manual data extraction (MDE). We performed a retrospective cohort study to compare the accuracy of ADE using Structured Query Language with MDE by blinded physicians from our EMR. We tested the interrater agreement and intraclass correlation coefficient of clinical baseline data and outcomes of a random sample of 30 patients admitted to the ICU, on mechanical ventilation, requiring opioids for analgosedation for an upcoming pragmatic clinical trial. Key data compared included, but not limited to, patient's demographics, laboratory and vital signs, daily morphine milligram equivalent (MME), days alive and free of mechanical ventilation, days alive and free of hospitalization, days alive and free of ICU, days alive and free of vasopressors, and death. Among 238 patients screened over 1-month period, 72 fulfilled inclusion criteria and 30 were randomly selected to be included in the evaluation. We blindly collected 1320 baseline data, 2160 categorical outcomes and 705 continuous outcomes for a total of 4185 data points. The intraclass correlation coefficient and the Cohen's Kappa were perfect or almost perfect for all data, including outcomes such as daily MME, days alive and free of mechanical ventilation, days alive and free of ICU and days alive and free of hospital with p < 0.001. Among all rechecked data, the ADE was correct in 53 (77.9%) of cases, while MDE in 15 (22.1%). The inaccurate data collected by ADE accounted for 0.36% of the total data-points. The performance of ADE had almost perfect agreement for all outcomes and when rechecking for disagreements, it was more accurate than MDE.
Read moreMP76-18 NATURAL LANGUAGE PROCESSING ALLOWS FOR ACCURATE AND AUTOMATED EXTRACTION OF DATA FROM PROSTATE BIOPSY PATHOLOGY REPORTS
MP76-18 NATURAL LANGUAGE PROCESSING ALLOWS FOR ACCURATE AND AUTOMATED EXTRACTION OF DATA FROM PROSTATE BIOPSY PATHOLOGY REPORTS
Read moreData for registry and quality review can be retrospectively collected using natural language processing from unstructured charts of arthroplasty patients.
Natural Language Processing (NLP) offers an automated method to extract data from unstructured free text fields for arthroplasty registry participation. Our objective was to investigate how accurately NLP can be used to extract structured clinical data from unstructured clinical notes when compared with manual data extraction. A group of 1,000 randomly selected clinical and hospital notes from eight different surgeons were collected for patients undergoing primary arthroplasty between 2012 and 2018. In all, 19 preoperative, 17 operative, and two postoperative variables of interest were manually extracted from these notes. A NLP algorithm was created to automatically extract these variables from a training sample of these notes, and the algorithm was tested on a random test sample of notes. Performance of the NLP algorithm was measured in Statistical Analysis System (SAS) by calculating the accuracy of the variables collected, the ability of the algorithm to collect the correct information when it was indeed in the note (sensitivity), and the ability of the algorithm to not collect a certain data element when it was not in the note (specificity). The NLP algorithm performed well at extracting variables from unstructured data in our random test dataset (accuracy = 96.3%, sensitivity = 95.2%, and specificity = 97.4%). It performed better at extracting data that were in a structured, templated format such as range of movement (ROM) (accuracy = 98%) and implant brand (accuracy = 98%) than data that were entered with variation depending on the author of the note such as the presence of deep-vein thrombosis (DVT) (accuracy = 90%). The NLP algorithm used in this study was able to identify a subset of variables from randomly selected unstructured notes in arthroplasty with an accuracy above 90%. For some variables, such as objective exam data, the accuracy was very high. Our findings suggest that automated algorithms using NLP can help orthopaedic practices retrospectively collect information for registries and quality improvement (QI) efforts. Cite this article: Bone Joint J 2020;102-B(7 Supple B):99-104.
Read moreQLTI-18. Feasibility of capturing clinical quality indicators in high-grade glioma and alignment with guideline-recommended care
PURPOSE In 2022, 58 Clinical Quality Indicators (CQIs) covering key aspects of glioma care were developed for an Australian brain cancer registry via a Delphi process [1]. Evidence supports MDT-managed patients have higher concordance with treatment guidelines [2]. This study examines: 1) adherence to MDT discussions and treatment guidelines, and 2) feasibility of MDT data extraction. METHODS Data sources included hospital/oncology EMRs, MDT minutes, and correspondence. Thirty-nine of 58 CQIs related to high-grade glioma (HGG) were selected, covering ECOG, diagnostics, extent of resection, post-operative MRI, radiotherapy and chemotherapy. MDT discussions, trial screening, and key referrals (e.g. allied health, palliative care) were analyzed. For MDT – discussed cases, further analysis assessed receipt of guideline-recommended therapy (GRT) and reasons for non-completion. RESULTS The study cohort diagnosed between 2016-2020 comprised 183 patients: WHO Grade IV glioma (n=159) and Grade III (n=22), anaplastic astrocytoma (n=15) and oligodendroglioma (n=7). MDT discussions at initial diagnosis were undertaken in 168/183 (92%) cases. Of those discussed, 129/168 (77%) completed GRT, 30/168 (18%) partially completed GRT, and 9/168 (5%) did not complete GRT. Primary reasons for incomplete GRT included disease progression (n=13/39, 33%), patient decision (n=12/39, 31%), death (n=6/39, 15%), change in performance status (n=2/39, 5%), clinical decision (n=2/39, 5%), other comorbidities (n=3/39, 8%) and a geographical move in patient care (n=1/39, 3%). Automated data extraction was feasible for referral to the MDT, radiotherapy details, demographics, age, and date of diagnosis. However, manual data extraction was needed for all other CQIs including MDT discussions, recommendations and GRT completion/reasons for incompletion. CONCLUSION Aligning tailored documentation with information systems will improve the efficiency of capturing HGG CQIs, including MDT referrals and recommendations. While reasons for non-GRT delivery were feasible to identify, they required manual data extraction. Integrating CQIs into routine automated systems will support longitudinal outcome tracking and benchmarking across patient cohorts.
Read moreAutomating the Determination of Prostate Cancer Risk Strata From Electronic Medical Records
PurposeRisk stratification underlies system-wide efforts to promote the delivery of appropriate prostate cancer care. Although the elements of risk stratum are available in the electronic medical record, manual data collection is resource intensive. Therefore, we investigated the feasibility and accuracy of an automated data extraction method using natural language processing (NLP) to determine prostate cancer risk stratum.MethodsManually collected clinical stage, biopsy Gleason score, and preoperative prostate-specific antigen (PSA) values from our prospective prostatectomy database were used to categorize patients as low, intermediate, or high risk by D’Amico risk classification. NLP algorithms were developed to automate the extraction of the same data points from the electronic medical record, and risk strata were recalculated. The ability of NLP to identify elements sufficient to calculate risk (recall) was calculated, and the accuracy of NLP was compared with that of manually collected data using the weighted Cohen’s κ statistic.ResultsOf the 2,352 patients with available data who underwent prostatectomy from 2010 to 2014, NLP identified sufficient elements to calculate risk for 1,833 (recall, 78%). NLP had a 91% raw agreement with manual risk stratification (κ = 0.92; 95% CI, 0.90 to 0.93). The κ statistics for PSA, Gleason score, and clinical stage extraction by NLP were 0.86, 0.91, and 0.89, respectively; 91.9% of extracted PSA values were within ± 1.0 ng/mL of the manually collected PSA levels.ConclusionNLP can achieve more than 90% accuracy on D’Amico risk stratification of localized prostate cancer, with adequate recall. This figure is comparable to other NLP tasks and illustrates the known trade off between recall and accuracy. Automating the collection of risk characteristics could be used to power real-time decision support tools and scale up quality measurement in cancer care.
Read morePostacute Sequelae From SARS-CoV-2 at the University of Illinois Hospital and Clinics: An Examination of the Effects of Long COVID in an Underserved Population Utilizing Manual Extraction of Electronic Health Records.
Postacute Sequelae From SARS-CoV-2 at the University of Illinois Hospital and Clinics: An Examination of the Effects of Long COVID in an Underserved Population Utilizing Manual Extraction of Electronic Health Records.
Read morePhenotyping Intensive Care Unit Patients Using Temporal Abstractions and Temporal Pattern Matching
Adequate reutilization of routinely generated clinical data is a key component of what has been called a learning healthcare system, a system that is able to generate enough data that can be then analyzed to generate new insights into what works and what doesn't. However, the reutilization of electronic clinical data is not trivial since the quality of such data is usually low or unknown. Several tools have been developed to extract structured data from electronic health records (EHRs)--such as natural language processing--but, to this day, most researchers and quality experts rely on manual data extraction from EHRs. Here we assess the accuracy of ClincalTime, a temporal abstraction and query system designed easily identify patient cohorts based on patterns of clinical time intervals.
Read moreUse of Natural Language Processing for Precise Retrieval of Key Elements of Health IT Evaluation Studies.
Having precise information about health IT evaluation studies is important for evidence-based decisions in medical informatics. In a former feasibility study, we used a faceted search based on ontological modeling of key elements of studies to retrieve precisely described health IT evaluation studies. However, extracting the key elements manually for the modeling of the ontology was time and resource-intensive. We now aimed at applying natural language processing to substitute manual data extraction by automatic data extraction. Four methods (Named Entity Recognition, Bag-of-Words, Term-Frequency-Inverse-Document-Frequency, and Latent Dirichlet Allocation Topic Modeling were applied to 24 health IT evaluation studies. We evaluated which of these methods was best suited for extracting key elements of each study. As gold standard, we used results from manual extraction. As a result, Named Entity Recognition is promising but needs to be adapted to the existing study context. After the adaption, key elements of studies could be collected in a more feasible, time- and resource-saving way.
Read moreA natural language processing program effectively extracts key pathologic findings from radical prostatectomy reports.
Natural language processing (NLP) software programs have been widely developed to transform complex free text into simplified organized data. Potential applications in the field of medicine include automated report summaries, physician alerts, patient repositories, electronic medical record (EMR) billing, and quality metric reports. Despite these prospects and the recent widespread adoption of EMR, NLP has been relatively underutilized. The objective of this study was to evaluate the performance of an internally developed NLP program in extracting select pathologic findings from radical prostatectomy specimen reports in the EMR. An NLP program was generated by a software engineer to extract key variables from prostatectomy reports in the EMR within our healthcare system, which included the TNM stage, Gleason grade, presence of a tertiary Gleason pattern, histologic subtype, size of dominant tumor nodule, seminal vesicle invasion (SVI), perineural invasion (PNI), angiolymphatic invasion (ALI), extracapsular extension (ECE), and surgical margin status (SMS). The program was validated by comparing NLP results to a gold standard compiled by two blinded manual reviewers for 100 random pathology reports. NLP demonstrated 100% accuracy for identifying the Gleason grade, presence of a tertiary Gleason pattern, SVI, ALI, and ECE. It also demonstrated near-perfect accuracy for extracting histologic subtype (99.0%), PNI (98.9%), TNM stage (98.0%), SMS (97.0%), and dominant tumor size (95.7%). The overall accuracy of NLP was 98.7%. NLP generated a result in <1 second, whereas the manual reviewers averaged 3.2 minutes per report. This novel program demonstrated high accuracy and efficiency identifying key pathologic details from the prostatectomy report within an EMR system. NLP has the potential to assist urologists by summarizing and highlighting relevant information from verbose pathology reports. It may also facilitate future urologic research through the rapid and automated creation of large databases.
Read moreBridging the gap between clinical practice and public health: Using EHR data to assess trends in the seasonality of blood-pressure control☆
Bridging the gap between clinical practice and public health: Using EHR data to assess trends in the seasonality of blood-pressure control☆
Read morePractical use case of natural language processing for observational clinical research data retrieval from electronic health records: AssistMED project.
Electronic health records (EHRs) contain data valuable for clinical research. However, they are in textual format and require manual encoding to databases, which is a lengthy and costly process. Natural language processing (NLP) is a computational technique that allows for text analysis. Our study aimed to demonstrate a practical use case of NLP for a large retrospective study cohort characterization and comparison with human retrieval. Anonymized discharge documentation of 10 314 patients from a cardiology tertiary care department was analyzed for inclusion in the CRAFT registry (Multicenter Experience in Atrial Fibrillation Patients Treated with Oral Anticoagulants; NCT02987062). Extensive clinical characteristics regarding concomitant diseases, medications, daily drug dosages, and echocardiography were collected manually and through NLP. There were 3030 and 3029 patients identified by human and NLP‑based approaches, respectively, reflecting 99.93% accuracy of NLP in detecting AF. Comprehensive baseline patient characteristics by NLP was faster than human analysis (3 h and 15 min vs 71 h and 12 min). The calculated CHA2DS2VASc and HAS‑BLED scores based on both methods did not differ (human vs NLP; median [interquartile range], 3 [2-5] vs 3 [2-5]; P = 0.74 and 1 [1-2] vs 1 [1-2]; P = 0.63, respectively). For most data, an almost perfect agreement between NLP- and human-retrieved characteristics was found; daily dosage identification was the least accurate NLP feature. Similar conclusions on cohort characteristics would be made; however, daily dosage detection for some drug groups would require additional human validation in the NLP‑based cohort. NLP utilization in EHRs may accelerate data acquisition and provide accurate information for retrospective studies.
Read more