To contextualise the Pharmacy First consultation data in OpenSAFELY-TPP, we compared it with publicly available NHS Business Services Authority (NHS BSA) data.
The OpenSAFELY analysis and more background can be found at https://github.com/opensafely/pharmacy-first.
- Get OpenSAFELY results: Go to the pharmacy-first-report workspace on OpenSAFELY Jobs, download the released files, and add them to the subdirectory
released_output/ - Get NHS BSA comparison data: Run the following R script to get the latest NHS BSA data added to the
lib/nhsbsa/lib/validation/data/pf_consultation_validation_data.csv - Side by side comparison: To compare the OpenSAFELY results with the NHS BSA data run the following file
analysis/nhs_bsa_pharmacy_first_comparison.Rmdand download the figure from the subdirectoryoutput/
/pf_consultation_validation_data.csv: Validation data taken from NHS BSA containing Pharmacy First consultation counts by condition./pf_consultation_validation_data_by_region.csv: Validation data taken from NHS BSA containing Pharmacy First consultation counts by condition and by region (not currently being used in code).