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

Generate SSSOM for ICD11 to ICD11 codes #286

Merged
merged 5 commits into from
Jan 10, 2025
Merged

Generate SSSOM for ICD11 to ICD11 codes #286

merged 5 commits into from
Jan 10, 2025

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Jan 9, 2025

cc @matentzn

now, the ICD11 OBO output looks like:

format-version: 1.4
auto-generated-by: PyOBO v0.12.0-dev-86e8399e on 2025-01-09T17:15:55.878453
idspace: dcterms http://purl.org/dc/terms/ "Dublin Core Metadata Initiative Terms"
idspace: skos http://www.w3.org/2004/02/skos/core# "Simple Knowledge Organization System"
ontology: icd11
property_value: dcterms:title "International Classification of Diseases\, 11th Revision" xsd:string
property_value: dcterms:license "CC-BY-ND-3.0-IGO" xsd:string
property_value: dcterms:description "Diagnostic tool for epidemiology\\\, health management and clinical purposes\\\, maintained by the World Health Organization \\\(WHO\\\). It provides a system of diagnostic codes for classifying diseases\\\, including nuanced classifications of a wide variety of signs\\\, symptoms\\\, abnormal findings\\\, complaints\\\, social circumstances\\\, and external causes of injury or disease." xsd:string

[Typedef]
id: icd_mms_code
is_metadata_tag: true

[Term]
id: icd11:1000004774
name: Congenital coxa valga
def: "A condition caused by failure of the hip joint to correctly develop during the antenatal period. This condition is characterised by an increase in the femoral neck-shaft angle." []
xref: icd11.code:LB74.4
is_a: icd11:1387302440

...

Here's the SSSOM file corresponding to this demonstration (with the full list), generated from pyobo lookup mappings icd11

@cthoyt cthoyt changed the title Demonstrate adding xrefs from ICD11 to ICD11 codes Generate SSSOM for ICD11 to ICD11 codes Jan 9, 2025
@matentzn
Copy link

This is super coooooool! Thank you! if this is public this will be very valuable for us!

@matentzn
Copy link

Due to the fact that in practice, you will be more likely to encounter the diagnostic codes, I would rather icd11 is synonym for icd11.code, not icd11.foundation, as described in the issue.

@cthoyt cthoyt marked this pull request as ready for review January 10, 2025 13:01
@cthoyt cthoyt merged commit fbadf2e into main Jan 10, 2025
9 of 10 checks passed
@cthoyt cthoyt deleted the add-xrefs branch January 10, 2025 13:06
@cthoyt
Copy link
Member Author

cthoyt commented Jan 10, 2025

@matentzn SSSOM file with skos:exactMatches now at https://w3id.org/biopragmatics/resources/icd11/icd11.sssom.tsv. You can see https://github.com/biopragmatics/obo-db-ingest/tree/main/export/icd11#readme

@matentzn
Copy link

Awesome!

Even if I disagree with the choice of prefix for the foundation code! :D Thanks! This will be very useful to us!

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