Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Identifying Hepatocellular Carcinoma from imaging reports using natural language processing to facilitate data extraction from electronic patient records

View ORCID ProfileTingyan Wang, View ORCID ProfileBen Glampson, Luca Mercuri, Dimitri Papadimitriou, Christopher R Jones, View ORCID ProfileDavid A Smith, View ORCID ProfileHizni Salih, View ORCID ProfileCori Campbell, Oliver Freeman, View ORCID ProfileSteve Harris, View ORCID ProfileKinga A Várnai, View ORCID ProfileGail Roadknight, Stephanie Little, View ORCID ProfileTheresa Noble, View ORCID ProfileKerrie Woods, View ORCID ProfilePhilippa C Matthews, NIHR Health Informatics Collaborative Viral Hepatitis Theme Consortium, View ORCID ProfileJim Davies, View ORCID ProfileGraham S Cooke, View ORCID ProfileEleanor Barnes
doi: https://doi.org/10.1101/2022.08.23.22279119
Tingyan Wang
1NIHR Oxford Biomedical Research Centre, Oxford, UK
2Nuffield Department of Medicine, University of Oxford, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Tingyan Wang
  • For correspondence: ellie.barnes{at}ndm.ox.ac.uk tingyan.wang{at}ndm.ox.ac.uk
Ben Glampson
3NIHR Health Informatics Collaborative, Imperial College Healthcare NHS Trust, London, UK
4NIHR Imperial Biomedical Research Centre, London, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Ben Glampson
Luca Mercuri
3NIHR Health Informatics Collaborative, Imperial College Healthcare NHS Trust, London, UK
4NIHR Imperial Biomedical Research Centre, London, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Dimitri Papadimitriou
3NIHR Health Informatics Collaborative, Imperial College Healthcare NHS Trust, London, UK
4NIHR Imperial Biomedical Research Centre, London, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Christopher R Jones
4NIHR Imperial Biomedical Research Centre, London, UK
5Department of Infectious Disease, Imperial College London, London, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
David A Smith
2Nuffield Department of Medicine, University of Oxford, Oxford, UK
6NIHR Health Informatics Collaborative, Oxford University Hospitals NHS Foundation Trust, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for David A Smith
Hizni Salih
1NIHR Oxford Biomedical Research Centre, Oxford, UK
7Nuffield Department of Population Health, University of Oxford, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Hizni Salih
Cori Campbell
1NIHR Oxford Biomedical Research Centre, Oxford, UK
2Nuffield Department of Medicine, University of Oxford, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Cori Campbell
Oliver Freeman
1NIHR Oxford Biomedical Research Centre, Oxford, UK
7Nuffield Department of Population Health, University of Oxford, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Steve Harris
1NIHR Oxford Biomedical Research Centre, Oxford, UK
8Department of Computer Science, University of Oxford, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Steve Harris
Kinga A Várnai
1NIHR Oxford Biomedical Research Centre, Oxford, UK
6NIHR Health Informatics Collaborative, Oxford University Hospitals NHS Foundation Trust, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Kinga A Várnai
Gail Roadknight
1NIHR Oxford Biomedical Research Centre, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Gail Roadknight
Stephanie Little
1NIHR Oxford Biomedical Research Centre, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Theresa Noble
1NIHR Oxford Biomedical Research Centre, Oxford, UK
6NIHR Health Informatics Collaborative, Oxford University Hospitals NHS Foundation Trust, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Theresa Noble
Kerrie Woods
1NIHR Oxford Biomedical Research Centre, Oxford, UK
6NIHR Health Informatics Collaborative, Oxford University Hospitals NHS Foundation Trust, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Kerrie Woods
Philippa C Matthews
2Nuffield Department of Medicine, University of Oxford, Oxford, UK
6NIHR Health Informatics Collaborative, Oxford University Hospitals NHS Foundation Trust, Oxford, UK
9The Francis Crick Institute, London, UK
10Division of Infection and Immunity, University College London, London, UK
11Department of Infectious Diseases, University College London Hospital, London, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Philippa C Matthews
Jim Davies
1NIHR Oxford Biomedical Research Centre, Oxford, UK
8Department of Computer Science, University of Oxford, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Jim Davies
Graham S Cooke
3NIHR Health Informatics Collaborative, Imperial College Healthcare NHS Trust, London, UK
4NIHR Imperial Biomedical Research Centre, London, UK
12Faculty of Medicine, Department of Infectious Disease, Imperial College London, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Graham S Cooke
Eleanor Barnes
2Nuffield Department of Medicine, University of Oxford, Oxford, UK
6NIHR Health Informatics Collaborative, Oxford University Hospitals NHS Foundation Trust, Oxford, UK
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Eleanor Barnes
  • For correspondence: ellie.barnes{at}ndm.ox.ac.uk tingyan.wang{at}ndm.ox.ac.uk
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Supplementary material
  • Data/Code
  • Preview PDF
Loading

Abstract

Background The National Institute for Health Research Health Informatics Collaborative (NIHR HIC) viral hepatitis theme is working to overcome governance and data challenges to collate routine clinical data from electronic patients records from multiple UK hospital sites for translational research. The development of hepatocellular carcinoma (HCC) is a critical outcome for patients with viral hepatitis with the drivers of cancer transformation poorly understood.

Objective This study aims to develop a natural language processing (NLP) algorithm for automatic HCC identification from imaging reports to facilitate studies into HCC.

Methods 1140 imaging reports were retrieved from the NIHR HIC viral hepatitis research database v1.0. These reports were from two sites, one used for method development (site 1) and the other for validation (site 2). Reports were initially manually annotated as binary classes (HCC vs. non-HCC). We designed inference rules for recognising HCC presence, wherein medical terms for eligibility criteria of HCC were determined by domain experts. A rule-based NLP algorithm with five submodules (regular expressions of medical terms, terms recognition, negation detection, sentence tagging, and report label generation) was developed and iteratively tuned.

Results Our rule-based algorithm achieves an accuracy of 99.85% (sensitivity: 90%, specificity: 100%) for identifying HCC on the development set and 99.59% (sensitivity: 100%, specificity: 99.58%) on the validation set. This method outperforms several off-the-shelf models on HCC identification including “machine learning based” and “deep learning based” text classifiers in achieving significantly higher sensitivity.

Conclusion Our rule-based NLP method gives high sensitivity and high specificity for HCC identification, even from imbalanced datasets with a small number positive cases, and can be used to rapidly screen imaging reports, at large-scale to facilitate epidemiological and clinical studies into HCC.

Problem Establishing a cohort of hepatocellular carcinoma (HCC) from imaging reports via manual review requires advanced clinical knowledge and is costly, time consuming, impractical when performed on a large scale.

What is Already Known Although some studies have applied natural language processing (NLP) techniques to facilitate identifying HCC information from narrative medical data, the proposed methods based on a pre-selection by diagnosis codes, or subject to certain standard templates, have limitations in application.

What This Paper Adds We have developed a hierarchical rule-based NLP method for automatic identification of HCC that uses diagnostic concepts and tumour feature representations that suggest an HCC diagnosis to form reference rules, accounts for differing linguistic styles within reports, and embeds a data pre-processing module that can be configured and customised for different reporting formats. In doing so we have overcome major challenges including the analysis of imbalanced data (inherent in clinical records) and lack of existing unified reporting standards.

Competing Interest Statement

GC reports personal fees from Gilead and Merck Sharp & Dohme outside the submitted work. EB and PCM have academic collaborative partnerships with GSK. Other authors have no conflict of interest.

Funding Statement

This research has been conducted using National Institute for Health Research (NIHR) Health Informatics Collaborative (HIC) data resources and funded by the NIHR HIC, and has been supported by NIHR Biomedical Research Centres at Oxford and Imperial. EB is an NIHR senior investigator. GSC is supported in part by the Imperial NIHR Biomedical Research Centre and NIHR Research Professorship. PCM is funded by the Wellcome Trust (ref. 110110/Z/15/Z), the Francis Crick Institute, and UCL NIHR BRC. CC is a doctoral student who receives partial doctoral funding from GlaxoSmithKline. The views expressed in this article are those of the authors and not necessarily those of the National Health Service, the NIHR, or the Department of Health.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

Ethics approval and consent to participate: The research database for the NIHR HIC viral hepatitis theme was approved by South Central - Oxford C Research Ethics Committee (REF Number: 15/SC/0523). All methods in this study were carried out in according to relevant guidelines and regulations. The requirement for written informed consent was waived by South Central - Oxford C Research Ethics Committee, because data have been anonymised before its use and the study is retrospective.

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.

Yes

Footnotes

  • § NIHR Health Informatics Collaborative (HIC) Viral Hepatitis Theme Consortium: Eleanor Barnes, Jim Davies, Kerrie Woods, Philippa C Matthews, William Gelson, Graham S Cooke, Salim I Khakoo, Eleni Nastouli, Alexander J. Stockdale, Stephen Ryder, Ahmed Elsharkawy, Douglas Macdonald, Kinga A Várnai, Tingyan Wang, Cori Campbell, Gail Roadknight, Stephanie Little, Ben Glampson, Dimitri Papadimitriou, Luca Mercuri, Christopher R Jones, Jakub Jaworski, Afzal Chaudhry, Vince Taylor, Cai Davis, Josune Olza, Florina Borca, Hang Phan, Frazer Warricker, Louise English, Luis Romão, David Ramlakhan, Stacy Todd, Heather Rogers, Karl McIntyre, Andrew Frankland, Steve Harris, Theresa Noble, David A Smith, Oliver Freeman, Sarah Montague, Irene Juurlink, Ruth Norris, George Tilston

Data Availability

Data from NIHR HIC viral hepatitis theme may be made available to researchers on request following positive review by the steering committee. Further details are available at https://hic.nihr.ac.uk. Queries regarding data access should be directed to orh-tr.nihrhic{at}nhs.net. MIMIC is provided through the work of researcher at the MIT Laboratory for Computational Physiology and the collaborators. Data are available through formally requesting access with the steps here: https://mimic.mit.edu/docs/gettingstarted/.

https://hic.nihr.ac.uk

https://mimic.mit.edu/docs/gettingstarted/

  • Abbreviations

    AASLD
    American Association for the Study of Liver Diseases
    ACR
    American College of Radiology
    AFP
    Alpha fetoprotein
    APASL
    Asian Pacific Association for the Study of the Liver
    BERT
    bidirectional encoder representations from transformers
    BOW
    bag-of-words
    CNN
    convolutional neural network
    CT
    multiphasic computed tomography
    DL
    deep learning
    EASL
    European Association for the Study of the Liver
    EHR
    electronic health record
    ESMO
    European Society for Medical Oncology
    FP
    false positive
    FN
    false negative
    HAN
    hierarchical attention networks
    HBV
    hepatitis B virus
    HCC
    hepatocellular carcinoma
    HCV
    hepatitis C virus
    HIC
    Health Informatics Collaborative
    ICHT
    Imperial College Healthcare NHS Trust
    LI-RADS
    liver imaging reporting and data system
    LR
    logistic regression
    MRI
    magnetic resonance imaging
    NB
    Naive Bayes
    NHS
    National Health Service
    NIHR
    National Institute for Health Research
    NLP
    natural language processing
    NLTK
    Natural Language Toolkit
    OUH
    Oxford University Hospitals
    SVM
    support vector machine
    TF-IDF
    term frequency inverse document frequency
    TP
    true positive
    TN
    true negative.
  • Copyright 
    The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license.
    Back to top
    PreviousNext
    Posted August 24, 2022.
    Download PDF

    Supplementary Material

    Data/Code
    Email

    Thank you for your interest in spreading the word about medRxiv.

    NOTE: Your email address is requested solely to identify you as the sender of this article.

    Enter multiple addresses on separate lines or separate them with commas.
    Identifying Hepatocellular Carcinoma from imaging reports using natural language processing to facilitate data extraction from electronic patient records
    (Your Name) has forwarded a page to you from medRxiv
    (Your Name) thought you would like to see this page from the medRxiv website.
    CAPTCHA
    This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
    Share
    Identifying Hepatocellular Carcinoma from imaging reports using natural language processing to facilitate data extraction from electronic patient records
    Tingyan Wang, Ben Glampson, Luca Mercuri, Dimitri Papadimitriou, Christopher R Jones, David A Smith, Hizni Salih, Cori Campbell, Oliver Freeman, Steve Harris, Kinga A Várnai, Gail Roadknight, Stephanie Little, Theresa Noble, Kerrie Woods, Philippa C Matthews, NIHR Health Informatics Collaborative Viral Hepatitis Theme Consortium, Jim Davies, Graham S Cooke, Eleanor Barnes
    medRxiv 2022.08.23.22279119; doi: https://doi.org/10.1101/2022.08.23.22279119
    Twitter logo Facebook logo LinkedIn logo Mendeley logo
    Citation Tools
    Identifying Hepatocellular Carcinoma from imaging reports using natural language processing to facilitate data extraction from electronic patient records
    Tingyan Wang, Ben Glampson, Luca Mercuri, Dimitri Papadimitriou, Christopher R Jones, David A Smith, Hizni Salih, Cori Campbell, Oliver Freeman, Steve Harris, Kinga A Várnai, Gail Roadknight, Stephanie Little, Theresa Noble, Kerrie Woods, Philippa C Matthews, NIHR Health Informatics Collaborative Viral Hepatitis Theme Consortium, Jim Davies, Graham S Cooke, Eleanor Barnes
    medRxiv 2022.08.23.22279119; doi: https://doi.org/10.1101/2022.08.23.22279119

    Citation Manager Formats

    • BibTeX
    • Bookends
    • EasyBib
    • EndNote (tagged)
    • EndNote 8 (xml)
    • Medlars
    • Mendeley
    • Papers
    • RefWorks Tagged
    • Ref Manager
    • RIS
    • Zotero
    • Tweet Widget
    • Facebook Like
    • Google Plus One

    Subject Area

    • Health Informatics
    Subject Areas
    All Articles
    • Addiction Medicine (349)
    • Allergy and Immunology (668)
    • Allergy and Immunology (668)
    • Anesthesia (181)
    • Cardiovascular Medicine (2648)
    • Dentistry and Oral Medicine (316)
    • Dermatology (223)
    • Emergency Medicine (399)
    • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (942)
    • Epidemiology (12228)
    • Forensic Medicine (10)
    • Gastroenterology (759)
    • Genetic and Genomic Medicine (4103)
    • Geriatric Medicine (387)
    • Health Economics (680)
    • Health Informatics (2657)
    • Health Policy (1005)
    • Health Systems and Quality Improvement (985)
    • Hematology (363)
    • HIV/AIDS (851)
    • Infectious Diseases (except HIV/AIDS) (13695)
    • Intensive Care and Critical Care Medicine (797)
    • Medical Education (399)
    • Medical Ethics (109)
    • Nephrology (436)
    • Neurology (3882)
    • Nursing (209)
    • Nutrition (577)
    • Obstetrics and Gynecology (739)
    • Occupational and Environmental Health (695)
    • Oncology (2030)
    • Ophthalmology (585)
    • Orthopedics (240)
    • Otolaryngology (306)
    • Pain Medicine (250)
    • Palliative Medicine (75)
    • Pathology (473)
    • Pediatrics (1115)
    • Pharmacology and Therapeutics (466)
    • Primary Care Research (452)
    • Psychiatry and Clinical Psychology (3432)
    • Public and Global Health (6527)
    • Radiology and Imaging (1403)
    • Rehabilitation Medicine and Physical Therapy (814)
    • Respiratory Medicine (871)
    • Rheumatology (409)
    • Sexual and Reproductive Health (410)
    • Sports Medicine (342)
    • Surgery (448)
    • Toxicology (53)
    • Transplantation (185)
    • Urology (165)