Skip to content

fix: override ICD10CM canonical prefix to use purl.bioontology.org#80

Open
kevinschaper wants to merge 3 commits intomainfrom
fix/icd10cm-prefix
Open

fix: override ICD10CM canonical prefix to use purl.bioontology.org#80
kevinschaper wants to merge 3 commits intomainfrom
fix/icd10cm-prefix

Conversation

@kevinschaper
Copy link
Copy Markdown
Contributor

Summary

  • The current ICD10CM canonical prefix https://icd.codes/icd10cm/ points to a dead domain (returning 403s)
  • Add ICD10CM to linked_data.curated.yaml to override the canonical to http://purl.bioontology.org/ontology/ICD10CM/, which redirects to BioPortal's ICD10CM class pages
  • The old icd.codes URL is preserved as a prefix_alias
  • Also includes upstream data refresh from make etl

linkml,biolink,https://w3id.org/biolink/vocab/,canonical
linkml,dcterms,http://purl.org/dc/terms/,canonical
linkml,foaf,http://xmlns.com/foaf/0.1/,canonical
linkml,ICD10CM,http://purl.bioontology.org/ontology/ICD10CM/,canonical
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not against this, note that Bioregistrysuggests this:

https://www.icd10data.com/search?s=

Which is a bit of a hack - redirecting to the search page rather than the concept page for which you cant construct a URI.

kevinschaper and others added 3 commits May 8, 2026 17:40
icd.codes is dead/returning 403s. Override the ICD10CM canonical
prefix to use http://purl.bioontology.org/ontology/ICD10CM/ which
redirects to BioPortal. Also refreshes upstream data.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Regenerate merged CSVs so they include both the W3C/OGC prefixes from
PR #81 and the ICD10CM canonical override from this branch.

Also apply black formatting to context.py and test_prefixmaps.py: the
unpinned black in tox flake8 deps picked up 26.1.0, which flags the
existing backslash-continuation f-string and a multi-line assertEqual.
@kevinschaper kevinschaper force-pushed the fix/icd10cm-prefix branch from f6d8f92 to 0e4d169 Compare May 9, 2026 00:42
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.

2 participants