Skip to content

Commit

Permalink
add few more urls
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Dec 30, 2024
1 parent 5406200 commit 6b059e8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/disease/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,14 @@ class NamespacePrefix(Enum):
NamespacePrefix.DOID: "http://purl.obolibrary.org/obo/doid.owl",
NamespacePrefix.OMIM: "https://www.omim.org",
NamespacePrefix.ONCOTREE: "https://oncotree.mskcc.org",
NamespacePrefix.COHD: "https://cohd.io",
NamespacePrefix.DECIPHER: "https://www.deciphergenomics.org",
NamespacePrefix.EFO: "https://www.ebi.ac.uk/efo",
NamespacePrefix.GARD: "https://rarediseases.info.nih.gov",
NamespacePrefix.HP: "http://purl.obolibrary.org/obo/hp.owl",
NamespacePrefix.HPO: "http://purl.obolibrary.org/obo/hp.owl",
NamespacePrefix.ICD11: "https://icd.who.int/en",
NamespacePrefix.ICDO: "https://www.who.int/standards/classifications/other-classifications/international-classification-of-diseases-for-oncology",
NamespacePrefix.KEGG: "https://www.genome.jp/kegg/disease/",
NamespacePrefix.MEDDRA: "https://www.meddra.org/",
NamespacePrefix.MEDGEN: "https://www.ncbi.nlm.nih.gov/medgen/",
Expand Down
10 changes: 8 additions & 2 deletions tests/unit/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ def neuroblastoma():
"relation": "relatedMatch",
},
{
"coding": {"code": "9500/3", "system": "icdo"},
"coding": {
"code": "9500/3",
"system": "https://www.who.int/standards/classifications/other-classifications/international-classification-of-diseases-for-oncology",
},
"relation": "relatedMatch",
},
{
Expand All @@ -63,7 +66,10 @@ def neuroblastoma():
"relation": "relatedMatch",
},
{
"coding": {"code": "7185", "system": "gard"},
"coding": {
"code": "7185",
"system": "https://rarediseases.info.nih.gov",
},
"relation": "relatedMatch",
},
{
Expand Down

0 comments on commit 6b059e8

Please sign in to comment.