OHDSI / OHDSI/FeatureExtraction

Table1 returns non-unique entries

Open
#143 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
74
Forks
63
PR merge metrics
No merged PRs in 30d

Description

When using the FeatureExtraction package to prepare drug use tables I use a set of all ATC4 codes.
Due to the vocabulary having identical entry names for different codes (e.g. Ophthalmological and gynaecological antibiotics- S01AA and G01AArespectively - and are both called Antibiotics).
This makes them indistinguishable in the final table1, since it is uses concept_name as identifier.

This could be solved by optionally including concept_id as a unique identifier in table1.

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

The issue concerns table1 generation in the FeatureExtraction R package, but it names no file or test. Start by locating the table1 entry point and checking where concept_name is used as the identifier. Done means concept_id can optionally distinguish entries with identical concept names, with coverage for the affected ATC4 examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.