Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and death

Abstract Background Free text in electronic health records (EHR) may contain additional phenotypic information beyond structured (coded) information. For major health events – heart attack and death – there is a lack of studies evaluating the extent to which free text in the primary care record migh...

Full description

Bibliographic Details
Main Authors: Anoop D. Shah, Emily Bailey, Tim Williams, Spiros Denaxas, Richard Dobson, Harry Hemingway
Format: Article
Language:English
Published: BMC 2019-11-01
Series:Journal of Biomedical Semantics
Subjects:
Online Access:http://link.springer.com/article/10.1186/s13326-019-0214-4
id doaj-07090805c9bc4b48a301a7720db6e125
record_format Article
spelling doaj-07090805c9bc4b48a301a7720db6e1252020-11-25T04:04:38ZengBMCJournal of Biomedical Semantics2041-14802019-11-0110S111010.1186/s13326-019-0214-4Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and deathAnoop D. Shah0Emily Bailey1Tim Williams2Spiros Denaxas3Richard Dobson4Harry Hemingway5Health Data Research UK London, University College LondonUniversity College London Hospitals NHS Foundation TrustClinical Practice Research Datalink, Medicines and Healthcare products Regulatory AgencyHealth Data Research UK London, University College LondonHealth Data Research UK London, University College LondonHealth Data Research UK London, University College LondonAbstract Background Free text in electronic health records (EHR) may contain additional phenotypic information beyond structured (coded) information. For major health events – heart attack and death – there is a lack of studies evaluating the extent to which free text in the primary care record might add information. Our objectives were to describe the contribution of free text in primary care to the recording of information about myocardial infarction (MI), including subtype, left ventricular function, laboratory results and symptoms; and recording of cause of death. We used the CALIBER EHR research platform which contains primary care data from the Clinical Practice Research Datalink (CPRD) linked to hospital admission data, the MINAP registry of acute coronary syndromes and the death registry. In CALIBER we randomly selected 2000 patients with MI and 1800 deaths. We implemented a rule-based natural language engine, the Freetext Matching Algorithm, on site at CPRD to analyse free text in the primary care record without raw data being released to researchers. We analysed text recorded within 90 days before or 90 days after the MI, and on or after the date of death. Results We extracted 10,927 diagnoses, 3658 test results, 3313 statements of negation, and 850 suspected diagnoses from the myocardial infarction patients. Inclusion of free text increased the recorded proportion of patients with chest pain in the week prior to MI from 19 to 27%, and differentiated between MI subtypes in a quarter more patients than structured data alone. Cause of death was incompletely recorded in primary care; in 36% the cause was in coded data and in 21% it was in free text. Only 47% of patients had exactly the same cause of death in primary care and the death registry, but this did not differ between coded and free text causes of death. Conclusions Among patients who suffer MI or die, unstructured free text in primary care records contains much information that is potentially useful for research such as symptoms, investigation results and specific diagnoses. Access to large scale unstructured data in electronic health records (millions of patients) might yield important insights.http://link.springer.com/article/10.1186/s13326-019-0214-4Free textMyocardial infarctionPrimary careChest painNatural language processing
collection DOAJ
language English
format Article
sources DOAJ
author Anoop D. Shah
Emily Bailey
Tim Williams
Spiros Denaxas
Richard Dobson
Harry Hemingway
spellingShingle Anoop D. Shah
Emily Bailey
Tim Williams
Spiros Denaxas
Richard Dobson
Harry Hemingway
Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and death
Journal of Biomedical Semantics
Free text
Myocardial infarction
Primary care
Chest pain
Natural language processing
author_facet Anoop D. Shah
Emily Bailey
Tim Williams
Spiros Denaxas
Richard Dobson
Harry Hemingway
author_sort Anoop D. Shah
title Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and death
title_short Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and death
title_full Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and death
title_fullStr Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and death
title_full_unstemmed Natural language processing for disease phenotyping in UK primary care records for research: a pilot study in myocardial infarction and death
title_sort natural language processing for disease phenotyping in uk primary care records for research: a pilot study in myocardial infarction and death
publisher BMC
series Journal of Biomedical Semantics
issn 2041-1480
publishDate 2019-11-01
description Abstract Background Free text in electronic health records (EHR) may contain additional phenotypic information beyond structured (coded) information. For major health events – heart attack and death – there is a lack of studies evaluating the extent to which free text in the primary care record might add information. Our objectives were to describe the contribution of free text in primary care to the recording of information about myocardial infarction (MI), including subtype, left ventricular function, laboratory results and symptoms; and recording of cause of death. We used the CALIBER EHR research platform which contains primary care data from the Clinical Practice Research Datalink (CPRD) linked to hospital admission data, the MINAP registry of acute coronary syndromes and the death registry. In CALIBER we randomly selected 2000 patients with MI and 1800 deaths. We implemented a rule-based natural language engine, the Freetext Matching Algorithm, on site at CPRD to analyse free text in the primary care record without raw data being released to researchers. We analysed text recorded within 90 days before or 90 days after the MI, and on or after the date of death. Results We extracted 10,927 diagnoses, 3658 test results, 3313 statements of negation, and 850 suspected diagnoses from the myocardial infarction patients. Inclusion of free text increased the recorded proportion of patients with chest pain in the week prior to MI from 19 to 27%, and differentiated between MI subtypes in a quarter more patients than structured data alone. Cause of death was incompletely recorded in primary care; in 36% the cause was in coded data and in 21% it was in free text. Only 47% of patients had exactly the same cause of death in primary care and the death registry, but this did not differ between coded and free text causes of death. Conclusions Among patients who suffer MI or die, unstructured free text in primary care records contains much information that is potentially useful for research such as symptoms, investigation results and specific diagnoses. Access to large scale unstructured data in electronic health records (millions of patients) might yield important insights.
topic Free text
Myocardial infarction
Primary care
Chest pain
Natural language processing
url http://link.springer.com/article/10.1186/s13326-019-0214-4
work_keys_str_mv AT anoopdshah naturallanguageprocessingfordiseasephenotypinginukprimarycarerecordsforresearchapilotstudyinmyocardialinfarctionanddeath
AT emilybailey naturallanguageprocessingfordiseasephenotypinginukprimarycarerecordsforresearchapilotstudyinmyocardialinfarctionanddeath
AT timwilliams naturallanguageprocessingfordiseasephenotypinginukprimarycarerecordsforresearchapilotstudyinmyocardialinfarctionanddeath
AT spirosdenaxas naturallanguageprocessingfordiseasephenotypinginukprimarycarerecordsforresearchapilotstudyinmyocardialinfarctionanddeath
AT richarddobson naturallanguageprocessingfordiseasephenotypinginukprimarycarerecordsforresearchapilotstudyinmyocardialinfarctionanddeath
AT harryhemingway naturallanguageprocessingfordiseasephenotypinginukprimarycarerecordsforresearchapilotstudyinmyocardialinfarctionanddeath
_version_ 1724435904148275200