opensafely-core / opensafely-core/opencodelists

Enhancement request: Reduce friction accessing code usage data when building codelists

Open
#3,028 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
60
Forks
16
Avg merge
4d 12h
Merged PRs (30d)
17

Description

Summary

Users need access to code-level usage data within OpenCodelists to make better decisions when selecting and building codelists without switching tools.

What would you like to achieve?

Currently there is a link to the OpenCodeCounts tool in the OpenCodelist builder. This was an experiment to see the uptake. There's been some modest use of the link but less evidence of repeat usage.
Bristol (and other users) have suggested that they'd like to be able to see how frequently individual codes are used directly within codelists, so they can more easily identify relevant codes and make confident decisions when building or refining codelists.

  • For existing codelists - to see code usage details per code
  • For building new codelists - to see code usage details as codes are listed (to be included/excluded)
    Providing this information within OpenCodelists would make codelist building less cumbersome as users wouldn't have to switch between tools as often.

Who would benefit and how?

OpenCodelist users - builders would be more confident selecting codes for their codelists without switching tools

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the existing OpenCodeCounts link and the codelist builder flow, then clarify the usage-data source, where per-code details should appear for existing and new codelists, and what acceptance criteria define completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.