What is the volume of primary care activity recorded in electronic health records? Development of a new categorisation system and comparative cross-sectional analysis in UK primary care
Objectives To develop a primary care activity categorisation system (the Oxford Primary Care Activity Categorisation (OPCAC)) that is more accurate and complete than the two existing Clinical Practice Research Datalink (CPRD) Aurum categorisation systems (conssourceid and consmedcodeid), thereby enabling better specification of primary care activity. Design Development of a primary care activity categorisation system (OPCAC) and retrospective cross-sectional analysis. Setting Primary care records from the CPRD Aurum database. Participants 16.6 million people from 1828 general practitioner (GP) practices between 1 September 2022 and 31 August 2023. Primary and secondary outcome measures Codes denoting primary care activity were assigned to one of 14 primary care activity categories (home visit, face-to-face, video, telephone, text, email, unclear consultation, vaccination, investigations, emergency department, secondary care, documents, administration, unclear other) by two practising academic GPs in collaboration with database and statistical experts to form OPCAC. The primary outcome was the percent agreement and positive predictive values (PPV) between OPCAC and Aurum systems. Secondary outcomes included number of consultations per year and distribution of consultation mode captured by each categorisation system. Results Of the 1.2 billion rows of primary care activity codes in the 12-month period, 96.6% were able to be assigned an OPCAC, compared with 61.5% classified using Aurum systems. The per cent agreement for any consultation between OPCAC and CPRD conssourceid categorisation was 52.5%, and between OPCAC and CPRD consmedcodeid categorisation was 61.9%. The PPV for any consultation between OPCAC and conssourceid was 54.8%, and between OPCAC and consmedcodeid was 74.7%. The OPCAC identified 178.1 (one consultation mode/patient/day) to 260.7 (one unique consultation mode/patient/day) million consultations, compared with 163.5 to 238.2 million consultations identified by Aurum systems. Face-to-face, text message and unclear consultation modes were most frequently identified in both OPCAC and Aurum systems. The overall distribution of consultations across categorisation systems was similar, but the OPCAC was more complete. Conclusions The OPCAC captures approximately 10% more consultations in UK primary care than previous analyses using Aurum systems and also categorises administrative activity. This has significant implications for existing and future national primary care workload estimation and workforce planning.
Authors
- Margaret C Smith (ORCID: https://orcid.org/0000-0002-0946-742X)
- Brian David Nicholson (ORCID: https://orcid.org/0000-0003-0661-7362)
- Laura M. Heath (ORCID: https://orcid.org/0000-0002-1628-1981)
- Clare R Bankhead (ORCID: https://orcid.org/0000-0003-1588-3849)
- Susannah Fleming (ORCID: https://orcid.org/0000-0001-7205-2051)
- Cynthia Wright (ORCID: https://orcid.org/0000-0002-7196-1509)
- Katja Maurer
Institutions
- University of Oxford (GB)
Publication Details
- Journal
- BMJ Open
- Published
- 2026-12-01
- DOI
- https://doi.org/10.1136/bmjopen-2026-121352
- Primary Topic
- Medical Coding and Health Information
- Type
- article
- Field-Weighted Citation Impact
- 0.00