Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional ICD11 providers #1346

Merged
merged 3 commits into from
Jan 6, 2025
Merged

Add additional ICD11 providers #1346

merged 3 commits into from
Jan 6, 2025

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Jan 6, 2025

This PR clarifies that there are several URLs that can resolve for ICD11 codes. It also fixes the ICF URI format string, since it was overlapping and too generic with ICD11.

This PR does not depend on a discussion about the difference between ICD11 numeric identifiers and other codes, like 9D00.2, that appear in the MMS browser.

Using Astigmatism (icd11:402558626) as an example, here are 4 different ways to browse the same numeric identifier:

Description URI Format Example
API Endpoint http://id.who.int/icd/entity/$1 http://id.who.int/icd/entity/402558626
Default Browser (redirects to Mortality and Morbidity Statistics) https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/$1 https://icd.who.int/browse11/l-m/en#/http://id.who.int/icd/entity/402558626
Foundation Browser https://icd.who.int/browse/2024-01/foundation/en#$1 https://icd.who.int/browse/2024-01/foundation/en#402558626
Mortality and Morbidity Statistics Browser https://icd.who.int/browse/2024-01/mms/en#$1 https://icd.who.int/browse/2024-01/mms/en#402558626

This mostly supersedes #1345, but does not add a prefix synonym for "foundation". This can be considered in a different PR.

cc @sierra-moxon

@cthoyt cthoyt merged commit 2f6cf00 into main Jan 6, 2025
13 checks passed
@cthoyt cthoyt deleted the add-icd11-links branch January 6, 2025 23:53
@@ -54503,7 +54526,7 @@
},
"name": "International Classification of Functioning, Disability and Health",
"pattern": "^\\d+$",
"uri_format": "http://id.who.int/icd/entity/$1"
"uri_format": "https://icd.who.int/dev11/l-icf/en#/http://id.who.int/icd/entity/$1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks weird?

Copy link
Member Author

Choose a reason for hiding this comment

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

definitely correct. Weirdness is a result of web developers who aren't semantic web people.

e.g., https://icd.who.int/dev11/l-icf/en#/http://id.who.int/icd/entity/326705068

"uri_format": "http://id.who.int/icd/entity/$1"
},
{
"code": "foundation",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this mean we will get icd11.foundation as a prefix?

Copy link
Member Author

Choose a reason for hiding this comment

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

As I mentioned in the description of this issue, making icd.foundation as a prefix synonym is a discussion for a different issues. The codes in here are only internal, in case you want to resolve to a specific provider you can do https://bioregistry.io/icd11:402558626?provider=foundation

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