Extracting primary care data for a national musculoskeletal audit

This is my first time of sending a message on this Forum as I’m hoping someone might be able to help with a specific API problem that needs a solution.

For context: our University research group has been funded to set up and pilot a new National Audit for patients with musculoskeletal conditions (e.g. back, knee and shoulder pain) in community and primary care. All the existing national audits are collecting/reporting data from secondary care, and whilst individual MSK services are collecting data, there is an urgent need for consistent, benchmarked, and reported health data in this sector. The Community Services Data Set is not currently focussed on MSK conditions or reporting against MSK Standards of Care.

Most musculoskeletal (MSK) patients are now being treated by either GPs or community-led physiotherapy teams who are either seeing patients via direct self-referral or going into GP practices as First Contact Practitioners.

Many physiotherapy clinical teams are willing to be part of our National MSK Audit and we already have over 40 NHS organisations from all around the UK who are currently being onboarded (e.g. organising data sharing agreements, aligning data collection to our data dictionary, adding our consent and data privacy information into their routine data collection methods). We also have HRA ethics approval for 5 years to collect the data, which will sit within the West Midlands Secure Data Environment (so not leave the NHS for analysis). We are using patient consent as the legal basis for medical record data linkage across the system. The CSUs are able to get the secondary care data we want for patients into the national audit repository. Patients will complete a survey (online) to collect the PROMs and consent needed.

The problem is that we need to find the right API and mechanism to extract relevant primary care data at scale for these MSK patients. We have a primary care informatics expert who has built a bespoke extraction search needed for EMIS and SystmOne. We initially thought the NIHR Clinical Research Network teams would help - but as National Research Databases are not adopted onto the NIHR research portfolio, they are unable to do this for us.

I have identified the following options that I’m currently exploring:

  1. to get individual ICS/ICBs to approve the project and use the agreements they already have with GP practices - so that regional CSUs can extract the primary care data.
  2. to explore whether the CQC and QOF teams could do this (does anyone know if these teams would be willing to help as MSK is currently not part of QOF?).
  3. NHS England’s GP Connect team in theory should be able to do this - however, the request seems to need to come from the NHS and be primarily for routine patient care - rather than research with a quality improvement focus.
  4. There might be commercial partners e.g. Primary Care IT Ltd that have the APIs and could do it - but for a fee - and our National Audit team funding is already very stretched!

The aim for the new National MSK Audit is to not only analyse, case-mix adjust and benchmark the data, but also to allow clinical teams access to their own linked data - which they currently don’t have available. To help them, we are also building a set of QI dashboards for example, we have one that shows MSK “need” at a local level (using OHID data), as well as local MSK “provision” - using Shapeatlas-type maps; we also have one that shows provider performance against a set of KPIs.

Anyway - apologies for the long email… but someone on this network might be well-placed to help us - or know who we could approach for some help to solve this problem.

Thanks

Jonathan Hill
Professor of Physiotherapy
Keele University School of Medicine
j.hill@keele.ac.uk

1 Like

Hello j.hill,

Thank you for raising this on the community.

And, apologies for a delayed response.

NHS maintain a Product Backlog of suggestion, which can be voted on by the community here User Suggestions - NHS Digital API Management (featureupvote.com), used by us to consideration delivery/realisation of our API Management Vision.

We also have the:

The NHS Innovation Service

Helping you to take your healthcare innovation from idea to adoption, supporting you every step of the way.

NHS Innovation Service - Innovation Service

And

We have a post about new ideas on our Developer community Who do I contact if I have a new idea for the NHS? - FAQ

Given the depth of information provided here, I have also raised your enquiry with our internal api management team for additional guidance. I will keep you updated with feedback.

Hi Jonathan, on the face of it, GP Connect would probably give you the data you need, but as you say it’s not allowed to be used for research purposes.

I’m not a legal expert, but there will likely be a legal / information governance reason you can’t use GP Connect for research purposes - and that implies to me that trying to get that same info via another route is likely to be problematic too.

This isn’t an official NHS England position - I am writing from my own limited knowledge of how these things tend to work. I hope you find it useful.

Thanks Alan and Tony for your suggestions.

Thankfully, I think we may have found a solution, via NHS England’s IM1 team… and their bulk extraction facility. It looks like a fairly detailed approval process - but I’m hopeful that we can work through it, especially after talking to Irfan Khan from the IM1 team, it seems we should be able to get regular primary care record data extracts of the variables we need for patients in our National MSK Audit.

Thanks again for the advice given here which led me to that solution. much appreciated!