# Finding SNOMED-CT codes which are QOF **Category:** [NHS Spine & APIs Support](https://openhealthhub.org/c/nhs-spine/25) **Created:** 2025-10-26 23:26 UTC **Views:** 75 **Replies:** 5 **URL:** https://openhealthhub.org/t/finding-snomed-ct-codes-which-are-qof/2880 --- ## Post #1 by @imfarazmalik Hello, With the UK SNOMED-CT dataset, the current approach we’ve taken with identifying if a particular SNOMED-CT code is part of QOF (quality and outcomes framework) is by doing a similarity search on a set. This set contains QOF-like SNOMED-CT codes that we manually curated. I was wondering if there is a tell-tale way to know if a particular SNOMED-CT code is part of QOF (i.e. a property as straightforward as `active`, which takes `0` or `1`). Please let me know your thoughts. Thanks in advance, Faraz --- ## Post #2 by @mayfield.g.kev Might be a question to pose on https://developer.community.nhs.uk/ In theory this should be available via an API on NHS Terminology Server https://digital.nhs.uk/services/terminology-server and should be an API call to ask if CONCEPT is in ValueSet (I am presuming ValueSet = ReferenceSet, they look similar to me). This is the operation I’d probably want to run. https://www.hl7.org/fhir/valueset-operation-validate-code.html --- ## Post #3 by @mayfield.g.kev What I’m doing for a supplier though is a mix of: * asking the GP to give me codelists (valuesets) * looking at PRSB to see if it has a relevant standard. These often include QOF codes or ECL statements which I use with the term server API above. * look at https://www.opencodelists.org/ I then create ValueSets or Templates e.g. https://virtually-healthcare.github.io/Questionnaire-VitalSigns.html I would like something like you suggested. --- ## Post #4 by @henrydwright The formal definition of QOF is in the business rules here (this is v50 relating to FY2526): https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/business-rules/quality-and-outcomes-framework-qof-business-rules-v50-2025 These contain the exact logic to be applied and also the relevant SNOMED CT codesets. Only by applying these rules can you tell definitively Yes/No for QOF. --- ## Post #5 by @stuartabbott The QOF refsets are part of the Primary Care Domain reference sets release, available on TRUD here: https://isd.digital.nhs.uk/trud/users/guest/filters/0/categories/8/items/659/releases?source=summary There’s also a portal to look at for these as well: https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-collections/quality-and-outcomes-framework-qof/quality-and-outcome-framework-qof-business-rules/primary-care-domain-reference-set-portal But as @henrydwright says, you always need to full business rules to fully understand. --- ## Post #6 by @mayfield.g.kev Is also this answer https://developer.community.nhs.uk/t/finding-snomed-ct-codes-which-are-qof/8405 My need is more around data capture, so when we need to enter X, we often need the concept qof defined. Some pick lists will be qof refsets. Rules is more for gp systems and users. it’s also useful if we need to search a gp system for concepts. The api we have is basic. --- **Canonical:** https://openhealthhub.org/t/finding-snomed-ct-codes-which-are-qof/2880 **Original content:** https://openhealthhub.org/t/finding-snomed-ct-codes-which-are-qof/2880