OHDSI / OHDSI/FeatureExtraction
Charlson Comorbidity Index - metastasis category should use measurement table
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 74
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
--Metastatic solid tumor
INSERT INTO scratch_ddymshyt.charlson_scoring (
diag_category_id,
diag_category_name,
weight
)
VALUES (
16,
'Metastatic solid tumor',
6
);
INSERT INTO scratch_ddymshyt.charlson_concepts (
diag_category_id,
concept_id
)
SELECT 16,
descendant_concept_id
FROM cdm_optum_ehr_v3323.concept_ancestor
WHERE ancestor_concept_id IN (36769180); -- Metastasis - looks into measurement table then
this concept_id is the new one that we have to use now in the definition.
And use measurement table to get it
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in inst/sql/sql_server/CharlsonIndex.sql at the Metastatic solid tumor definition around lines 333-352. Review how the current ancestor concept is queried, then trace the referenced measurement table and update the definition to use the new metastasis concept there. Done means the category retrieves metastasis records through the measurement table using the intended concept.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100