opensafely-core / opensafely-core/opencodelists

Select a coding system release when creating a new codelist/draft

Open
#1,421 0 comments 0 reactions 1 assignee View on GitHub

@rebkwok is already working on this.

Since Nov 18, 2022.

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

Description

Coding systems are now associated with specific releases. Any time that a codelist or codelist version is created, the release needs to be specified.
(Note APIs already require this, see #1401, this issue is about the user-facing options)

  • Creating a codelist: opencodelists/views/user_create_codelist.py (/users//new-codelist)
  • Creating old style codelist (by uploading CSV): codelists/views/codelist_create.py (codelist//add)
  • Creating old style codelist version (by uploading CSV): codelists/views/version_upload.py (codelist///upload-version
  • Creating new version (from codelist version page): codelists/views/version_create.py
    - called from templates/codelists/version.html; currently adds the coding system release as a hidden input
    - this is currently just a button on the version page, will need either a new displayed form field, or a popup to select from the available releases (which should be the same one that the current codelist version uses - the current default - or later ones)

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.