opensafely-core / opensafely-core/opencodelists

Sort results of codelist

Open
#1,072 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This is an non-urgent issue but making a suggestion now for prioritisation at a later date.

As a user I would like to sort codelists by different criteria to make it easier to review

I'm checking codelists at the moment against an external reference source. That source is organised on an alphabetical basis while our codelist is organised by BNF hierarchy. It would be useful here to sort by alphabetical order. I imagine in other places like snomed there might be some other sort criteria as well

image

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 or tests are named. Start by locating the codelist results view and how its current BNF hierarchy ordering is produced, then review the issue's alphabetical-order example and any existing ordering options. Done means users can select the supported sort criteria and the displayed codelist follows the selected order.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.