opensafely-core / opensafely-core/opencodelists

SNOMED - include / exclude based on hierarchy

Open
#1,198 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 may be relevant to other coding terminologies but the use case I have is from SNOMED.

As a clinician developing SNOMED I want to use the SNOED hierachy to include/exclude long groups of codes in order to save me time including/excluding them one by one.

Take the search the hepatitis . It returns 1398 results on OpenCodelists and they are helpfully divided into the SNOMED hierarchies disorder, disposition, finding, medicinal product etc etc. I know immediately that I don't want to include medicinal products but the current model means I have to go through the children of medicinal product to exclude them one by one. It would be great If i just excluded medicinal product.

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

Start with the hepatitis search in OpenCodelists and inspect how SNOMED hierarchy groups such as medicinal product are presented and selected. Define the selection behavior and verify that excluding a hierarchy excludes its descendants without requiring one-by-one selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.