Hostname: page-component-77f85d65b8-7lfxl Total loading time: 0 Render date: 2026-03-26T21:49:58.322Z Has data issue: false hasContentIssue false

Developing and implementing electronic search strategies to recruit patients with chronic musculoskeletal pain in primary care databases

Published online by Cambridge University Press:  24 May 2013

Jens Foell*
Affiliation:
NIHR Clinical Lecturer, The Blizard Institute, Centre for Primary Care and Public Health, Barts and The London School of Medicine and Dentistry, Queen Mary University of London, London, UK
Dawn Carnes
Affiliation:
NIHR Clinical Lecturer, The Blizard Institute, Centre for Primary Care and Public Health, Barts and The London School of Medicine and Dentistry, Queen Mary University of London, London, UK
Kate Homer
Affiliation:
NIHR Clinical Lecturer, The Blizard Institute, Centre for Primary Care and Public Health, Barts and The London School of Medicine and Dentistry, Queen Mary University of London, London, UK
Stephanie Taylor
Affiliation:
NIHR Clinical Lecturer, The Blizard Institute, Centre for Primary Care and Public Health, Barts and The London School of Medicine and Dentistry, Queen Mary University of London, London, UK
*
Correspondence to: Dr Jens Foell, NIHR Clinical Lecturer, The Blizard Institute, Centre for Primary Care and Public Health, Barts and The London School of Medicine and Dentistry, Queen Mary University of London, Yvonne Carter Building, 58 Turner Street, London E1 2AB, UK. Email: j.foell@qmul.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Background

Identifying patients with chronic musculoskeletal pain using database searches is difficult, as chronic pain is not represented with a unique diagnostic code in electronic primary care records.

Aim

This paper describes the development and implementation of a search strategy to identify patients with chronic musculoskeletal pain in primary care databases to invite them to participate in a randomised controlled trial.

Methods

We used an exploratory, iterative approach. The first phase involved consultations with IT specialists, practice managers and doctors to gain an understanding about the processes and issues of electronic coding. In the second and third phases, we determined the most appropriate search terms and strategies. In the final phase, we tested, modified and re-tested the search strategy until the quantity and quality of the output appeared good enough to be used in general practices with different IT systems. This strategy was then implemented to recruit participants for a trial.

Findings

We identified three main search ‘domains’: prescribing, coding and attendance. We found the most useful identifier for chronic pain was the use of repeat medication. Wide variations in coding terms for chronic pain were seen between practices and individuals. Understanding ‘coding cultures’ were necessary to inform the electronic searches. In the case of chronic pain, searching on repeat medication for analgesia, low dose antidepressants and carefully selected coding terms captured most relevant patients.

Information

Type
Development
Copyright
Copyright © Cambridge University Press 2013 
Figure 0

Figure 1 The exploratory process

Figure 1

Table 1 Selection of commonly used repeat prescription drugs and classification codes for chronic pain

Figure 2

Figure 2 The testing process

Figure 3

Figure 3 The final search strategy

Figure 4

Table 2 Search results from primary care centres