Warning: This is the README for the publically accessible version of the QOF package. If you are an internal analyst please don't use the below instructions to run the publication process.
Repository owner: Primary Care Domain Analytical Team
Email: [email protected]
To contact us raise an issue on Github or via email and we will respond promptly.
The objective of the Quality and Outcomes Framework (QOF) is to improve the care patients are given by rewarding practices for the quality of care they provide to their patients, based on several indicators across a range of key areas of clinical care and public health. The publication provides data for the reporting year 1 April 2022 to 31 March 2023 and covers all General Practices in England that participated in QOF in 2022-23.
The publications can be found here:
https://digital.nhs.uk/data-and-information/publications/statistical/quality-and-outcomes-framework-achievement-prevalence-and-exceptions-data
Whilst this repository is the publically accessible version, the main aim of this repository is to inform users how the publication outputs and indicators within the publication were produced and is unlikely to benefit users with regards to running and producing the publication outputs due to the specific nature of the input data required.
Please note that you may not be able to run the code as this requires access to a private SQL server. The data on the private server contains reference data that is used for mapping and patient registration purposes. The reference tables used contain data from the epraccur file which can be downloaded from this webpage, and a restricted patient registration report from the National Health Applications and Infrastructure Service (NHAIS); the NHAIS patient registration data is however published each month here.
If you are running for publication you will need to amend the code so that test_run = False is unhashed
root
|
|---LIVE
| |
| |---PROCESS 1
| | |
| | |---INPUTS
| | | |
| | | |---CONTROL_FILES
| | | | |
| | | | |---CONTROL_FILE.csv
| | | | |---INDICATOR_GROUP_CHANGE_MESSAGE.csv
| | | | |---INDICATOR_REFERENCE_CONTROL.csv
| | | | |---PCA_REFERENCE.csv
| | | | |---VALIDATION_RULES.csv
| | | | |
| | | |---CQRS_DATA
| | | | |---FINAL_PRACTICE_LIST.csv
| | | | |---INDICATOR_ACHEIVED_POINTS.csv
| | | | |---INDICATOR_VALUES.csv
| | | | |
| | | |---GEOG_MAPPINGS
| | | | |---QOF_MANUAL_MAPPINGS.csv
| | | | |
| | | |---PREVIOUS_YEAR
| | | | |
| | | | |---PREVIOUS_ACHIEVEMENTS_PCAS.csv
| | | | |---PREVIOUS_INDICATOR_CONTROL.csv
| | | | |---PREVIOUS_INDICATOR_MAPPINGS.csv
| | | | |---PREVIOUS_ORGANISATION_REFERENCE.csv
| | | | |---PREVIOUS_PREVALENCE.csv
| | | | |---PREVIOUS_PREVALENCE_NON_REGISTER_ALT_INDICATORS.csv
| | | | |---PREVIOUS_PREVALENCE_NON_REGISTER_INDICATORS.csv
| | | | |
| | | |---Templates
| | | | |
| | | | |---TEMPLATE-(3-9)-QOF-YYYY...xlsx
| | | | |
| | | | |---Practices
| | | | |
| | | | | |---TEMPLATE-(10-19)-QOF-YYYY-prac...xlsx
| | |
| | |---OUTPUTS
| | | |
| | | |---DO NOT PUBLISH
|
|---CHECKING
Please note that for test runs all outputs will be located within the test folder which is automatically created in your working directory
QOF codebase is released under the MIT License.
The documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.