{"id":23421094,"url":"https://github.com/nhsdigital/qof","last_synced_at":"2025-04-12T14:05:13.830Z","repository":{"id":215298162,"uuid":"727783746","full_name":"NHSDigital/QOF","owner":"NHSDigital","description":"Repository for code relating to the Quality and Outcomes Framework publication","archived":false,"fork":false,"pushed_at":"2024-12-20T13:50:28.000Z","size":9888,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T08:37:30.666Z","etag":null,"topics":["nhs-digital-gpes","nhs-digital-publication","nhs-digital-qof"],"latest_commit_sha":null,"homepage":"https://digital.nhs.uk/data-and-information/publications/statistical/quality-and-outcomes-framework-achievement-prevalence-and-exceptions-data/2022-23","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NHSDigital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-05T15:09:31.000Z","updated_at":"2024-12-20T13:50:33.000Z","dependencies_parsed_at":"2024-01-11T18:07:23.282Z","dependency_job_id":null,"html_url":"https://github.com/NHSDigital/QOF","commit_stats":null,"previous_names":["nhsdigital/qof"],"tags_count":0,"template":false,"template_full_name":"NHSDigital/repository-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FQOF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FQOF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FQOF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2FQOF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHSDigital","download_url":"https://codeload.github.com/NHSDigital/QOF/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248578859,"owners_count":21127713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nhs-digital-gpes","nhs-digital-publication","nhs-digital-qof"],"created_at":"2024-12-23T02:14:01.331Z","updated_at":"2025-04-12T14:05:13.796Z","avatar_url":"https://github.com/NHSDigital.png","language":"Jupyter Notebook","readme":"\u003e 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.\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n# QOF\n\n## Contact Information\n\nRepository owner: GP Data, Extracts, Specifications and Analysis (GPDESA)\n\nEmail: gpses@nhs.net\n\nTo contact us raise an issue on Github or via email and we will respond promptly.\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n## Publication Summary\n\nThe 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 2023 to 31 March 2024 and covers all General Practices in England that participated in QOF in 2023-24.\n\nThe publications can be found here:\n\nhttps://digital.nhs.uk/data-and-information/publications/statistical/quality-and-outcomes-framework-achievement-prevalence-and-exceptions-data\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n## Repository Summary\n\n\u003e 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.\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n## Set up\n\n1. Make a [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) of the repository on your local machine.\n2. Update config.json accordingly.\n3. Create the file structure within your machine as per the diagram below\n4. Move files from public_metadata folder into their respective folders and populate accordingly\n5. Run QOF_23_24.ipynb.\n\u003e If you are running for publication you will need to amend the code so that test_run = False is unhashed\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n## Creating a file structure \n\n```\nroot\n|\n|---LIVE\n|   |\n|   |---PROCESS 1\n|   |   |\n|   |   |---INPUTS\n|   |   |   |\n|   |   |   |---CONTROL_FILES\n|   |   |   |   |\n|   |   |   |   |---CONTROL_FILE.csv\n|   |   |   |   |---INDICATOR_GROUP_CHANGE_MESSAGE.csv\n|   |   |   |   |---INDICATOR_REFERENCE_CONTROL.csv\n|   |   |   |   |---PCA_REFERENCE.csv\n|   |   |   |   |---VALIDATION_RULES.csv\n|   |   |   |   |\n|   |   |   |---CQRS_DATA\n|   |   |   |   |---FINAL_PRACTICE_LIST.csv\n|   |   |   |   |---INDICATOR_ACHEIVED_POINTS.csv\n|   |   |   |   |---INDICATOR_VALUES.csv\n|   |   |   |   |\n|   |   |   |---GEOG_MAPPINGS\n|   |   |   |   |---QOF_MANUAL_MAPPINGS.csv\n|   |   |   |   |\n|   |   |   |---PREVIOUS_YEAR\n|   |   |   |   |\n|   |   |   |   |---PREVIOUS_ACHIEVEMENTS_PCAS.csv\n|   |   |   |   |---PREVIOUS_INDICATOR_CONTROL.csv\n|   |   |   |   |---PREVIOUS_INDICATOR_MAPPINGS.csv\n|   |   |   |   |---PREVIOUS_ORGANISATION_REFERENCE.csv\n|   |   |   |   |---PREVIOUS_PREVALENCE.csv\n|   |   |   |   |---PREVIOUS_PREVALENCE_NON_REGISTER_ALT_INDICATORS.csv\n|   |   |   |   |---PREVIOUS_PREVALENCE_NON_REGISTER_INDICATORS.csv\n|   |   |   |   |\n|   |   |   |---Templates\n|   |   |   |   |\n|   |   |   |   |---TEMPLATE-(3-9)-QOF-YYYY...xlsx\n|   |   |   |   |\n|   |   |   |   |---Practices\n|   |   |   |   |\n|   |   |   |   |   |---TEMPLATE-(10-19)-QOF-YYYY-prac...xlsx\n|   |   |\n|   |   |---OUTPUTS\n|   |   |   |\n|   |   |   |---DO NOT PUBLISH\n|\n|---CHECKING\n```\n\u003e Please note that for test runs all outputs will be located within the test folder which is automatically created in your working directory\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n## Instructions for publication production (internal analysts)\nRead the guidance https://nhsd-confluence.digital.nhs.uk/display/KH/Quality+and+Outcomes+Framework+%28QOF%29+data+download+and+publication+guidance.\n\n## QOF Acronym dictonary\n- ach\t= achievement\n- adj\t= adjusted\n- cols = columns\n- dedup = deduplicate (i.e. duplicates removed)\n- dup\t= duplicate\n- denom = denominator\n- dom = domain\n- geog = geography or geographies\n- gr = group\n- ind = indicator\n- list = list\n- max = maximum\n- min = minimum\n- num = numerator\n- org = organisation\n- ov = over\n- piv = pivot\n- prac = practice\n- ref = reference\n- reg = register\n- subdom = sub domain\n- sup = suppressed\n- un = under\n\n\n## Licence\nQOF codebase is released under the MIT License.\n\nThe documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fqof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhsdigital%2Fqof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fqof/lists"}