Identifying potential biases in code sequences in primary care electronic healthcare records: a retrospective cohort

Thomas Beaney1,2, Jonathan Clarke2, David Salman3,4

  • 1Department of Primary Care and Public Health, Imperial College London, London, UK thomas.beaney@imperial.ac.uk.

BMJ Open
|September 27, 2023
PubMed

Insights

Diagnostic coding for long-term conditions (LTCs) in primary care is influenced by financial incentives, patient demographics, and the COVID-19 pandemic. These factors must be considered in health record analysis.

Area of Science:

  • Health Informatics
  • Primary Care Research
  • Electronic Health Records (EHRs)

Background:

  • Accurate coding of long-term conditions (LTCs) in primary care electronic health records (EHRs) is crucial for clinical care and research.
  • Understanding factors influencing diagnostic code frequency is essential for reliable data analysis and quality improvement initiatives.

Purpose of the Study:

  • To investigate associations between the frequency of LTC diagnostic codes in primary care EHRs and disease coding incentives.
  • To examine the influence of General Practice (GP) characteristics, patient sociodemographic factors, and diagnosis year on coding frequency.
  • To assess the impact of the Quality and Outcomes Framework (QOF) on LTC diagnostic coding rates.

Main Methods:

  • Retrospective cohort study utilizing the Clinical Practice Research Datalink Aurum dataset in England (2015-2022).
  • Inclusion of patients with at least one incident LTC diagnosed between January 2015 and December 2019.
  • Analysis of diagnostic code frequency in the first two years post-diagnosis, stratified by QOF inclusion.

Main Results:

  • Conditions included in the QOF exhibited significantly higher annual coding rates compared to non-QOF conditions (1.03 vs. 0.32 codes/year).
  • Significant variation in coding frequency was observed across GPs, independent of patient sociodemographics.
  • Higher coding rates were associated with increased patient deprivation for both QOF and non-QOF conditions; coding frequency decreased in 2020 due to the COVID-19 pandemic.

Conclusions:

  • LTC diagnostic code frequency is multifactorial, influenced by QOF incentives, patient sociodemographics, GP practice variations, and external events like the COVID-19 pandemic.
  • Future analyses using natural language processing or code sequence analysis should account for these identified influencing factors to mitigate potential bias in EHR data.
Abstract

Related Concept Videos

Documentation of Nursing Diagnosis01:10

Documentation of Nursing Diagnosis

The nurse documents nursing diagnoses and enters them into the patient record. The identified patient's nursing diagnosis is either written out with a plan of care or entered into the electronic health record.
In some settings, data-driven computerized decision support systems are in place, allowing for more accurate nursing diagnoses. The database within one of these systems includes diagnostic labels defining characteristics, activities, and indicators for nursing. A nurse enters...
1.3K
Methods of Documentation VII: EMR01:30

Methods of Documentation VII: EMR

Electronic Medical Records (EMRs) primarily center around electronically documenting patients' health information within a single healthcare organization or practice. They contain essential clinical data related to a patient's medical history, diagnoses, medications, treatment plans, lab results, and other pertinent information relevant to the specific encounter or episode of care. EMRs are designed to streamline documentation and workflow processes within individual healthcare...
855
Bias in Epidemiological Studies01:29

Bias in Epidemiological Studies

Biases can arise at various stages of research, from study design and data collection to analysis and interpretation. Recognizing and addressing these biases is essential to ensure the validity and reliability of epidemiological findings.Broadly speaking, biases in epidemiology fall into three main categories: selection bias, information bias, and confounding. A more detailed description of possible biases is:  
339
Guidelines and Strategies for Safe Computer Charting01:18

Guidelines and Strategies for Safe Computer Charting

The guidelines and strategies provided by the American Nurses Association (ANA) and the Canadian Nurses Association (CNA) offer essential principles for ensuring safe and secure computer charting systems in healthcare settings. Let's break down each recommendation:
Maintain Confidentiality and Security:
824
Bias01:22

Bias

Bias refers to any tendency that prevents a question from being considered unprejudiced. In research, bias occurs when one outcome or answer is selected or encouraged over others in sampling or testing. Bias can occur during any research phase, including study design, data collection, analysis, and publication.
In statistics, a sampling bias is created when a sample is collected from a population, and some members of the population are not as likely to be chosen as others (remember, each member...
4.3K
Methods of Documentation V: CBE01:23

Methods of Documentation V: CBE

Charting by Exception, or CBE, is a method of documentation used in healthcare, particularly in nursing, that focuses on documenting only significant or abnormal findings rather than recording every detail. This approach aims to streamline the documentation process, improve efficiency, and ensure that healthcare providers can quickly identify deviations from normalcy in patient assessments.
In CBE, healthcare professionals establish predefined standards of practice that define what constitutes...
920