opensafely-core / opensafely-core/opencodelists

Spike: Basic dm+d support in codelist builder

Open
#2,388 3 comments 0 reactions 1 assignee View on GitHub

@Jongmassey is already working on this.

Since Apr 2, 2025.

initiative:codelist-builder
Dominant language
Python
Stars
60
Forks
16
Avg merge
4d 12h
Merged PRs (30d)
17

Description

Why are we doing this?

  • This is a long-standing feature request (#176 dates from Sept 2020)
  • Being able to natively build and update dm+d codelists is an important part of mitigating Codelist Rot

How will we know when it's done?

  • We have a better idea of what sort of effort will be required to do the work.
  • We know whether any frontend changes will be required.
  • When we are able to make a dm+d codelist in the codelist builder (roughly).

What are we doing?

Define required parts of coding system interface (hierarchy, code types, other required methods) required for the builder:

  • ancestor_relationships()
  • descendant_relationships()
  • search_by_term()
  • search_by_code()
  • codes_by_type()
  • matching_codes()

Such that the features of the codelist builder (code search, code selection, saving/reviewing/publishing a codelist) all work without needing to make any changes to the frontend or builder app

Defining delivery tasks guidance

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.