Skip to content

Port the ICD-9 retirement to main - #64

Merged
KrishnaTO merged 2 commits into
mainfrom
claude/port-icd9-retirement-to-main
Aug 16, 2026
Merged

Port the ICD-9 retirement to main#64
KrishnaTO merged 2 commits into
mainfrom
claude/port-icd9-retirement-to-main

Conversation

@KrishnaTO

Copy link
Copy Markdown
Owner

No data change. Three files plus a changelog entry.

Why this is needed

#57 retired ICD-9 and closed #55 — but it merged into feature/metadata-manager_v2/ARI, not main. None of it reached this branch, so main still:

  • lists ICD9 and ICD9CM as active sources in data/3-meta-database-sources/meta-databases.csv
  • groups ICD-9 into the "ICD xrefs" column in notebook/ari-grounding/make_match_reports.py
  • draws the ICD9 node and its edge in connecting_ontologies.drawio

This cherry-picks 661b860 so the decision actually holds on the default branch.

Scope

File Change
data/3-meta-database-sources/meta-databases.csv drop the two ICD9 / ICD9CM rows
notebook/ari-grounding/make_match_reports.py ["ICD10","ICD9","ICD-10","ICD-9"]["ICD10","ICD-10"]
connecting_ontologies.drawio remove the ICD9 node and its edge

The ICD-9 codes in the data itself are removed separately in #61 — this PR is only the catalogue, the report script and the diagram.

What deliberately stays

sparql/DOID/autoimmune_disease_children.csv still contains ICD9CM: values, and two prevalence notes in notebook/ mention ICD-9 in prose. Both are third-party content — DOID's own xref column, and a quotation about coding history — not ARI's catalogue. #57 left them too.

Refs #55, which is already closed.

🤖 Generated with Claude Code

KrishnaTO and others added 2 commits August 16, 2026 12:58
#57 retired ICD-9 but merged into feature/metadata-manager_v2/ARI, so
none of it reached main. main still listed ICD9/ICD9CM as active
sources, still grouped ICD-9 into the report's ICD column, and still
drew the ICD9 node in the ontology diagram.

Cherry-picks 661b860: drops the two ICD9 rows from meta-databases.csv,
narrows the xref grouping in make_match_reports.py to ICD-10 only, and
removes the ICD9 node and its edge from connecting_ontologies.drawio.

Remaining ICD-9 mentions are third-party data describing someone else's
xrefs (DOID's own ICD9CM column in sparql/DOID/) and one quotation about
coding history, so they stay.

Carries no data change. Refs #55.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@KrishnaTO
KrishnaTO merged commit 141a9fb into main Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove all ICD-9 codes

1 participant