Skip to content

Commit

Permalink
wip: normalizer ext -> mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
korikuzma committed Jan 14, 2025
1 parent 4867778 commit 4170803
Showing 1 changed file with 45 additions and 22 deletions.
67 changes: 45 additions & 22 deletions tests/fixtures/civic_aid6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,31 @@ proposition:
label: somatic
conditionQualifier:
conceptType: Disease
extensions:
- name: vicc_normalizer_data
value:
id: ncit:C2926
label: Lung Non-Small Cell Carcinoma
mondo_id: mondo:0005233
id: civic.did:8
label: Lung Non-small Cell Carcinoma
mappings:
- coding:
code: DOID:3908
system: http://purl.obolibrary.org/obo/doid.owl
relation: exactMatch
- coding:
label: Lung Non-Small Cell Carcinoma
code: ncit:C2926
system: http://purl.obolibrary.org/obo/ncit.owl
relation: exactMatch
extensions:
- name: from_vicc_normalizer
value: True
- coding:
code: mondo:0005233
system: http://purl.obolibrary.org/obo/mondo.owl
relation: exactMatch
extensions:
- name: from_vicc_normalizer
value: True
geneContextQualifier:
conceptType: Gene
extensions:
- name: vicc_normalizer_data
value:
id: hgnc:3236
label: EGFR
- name: aliases
value:
- EGFR
Expand Down Expand Up @@ -80,17 +85,21 @@ proposition:
id: civic.gid:19
label: EGFR
mappings:
- coding:
label: EGFR
code: hgnc:3236
system: https://www.genenames.org
relation: exactMatch
extensions:
- name: from_vicc_normalizer
value: True
- coding:
code: ncbigene:1956
system: https://www.ncbi.nlm.nih.gov/gene/
relation: exactMatch
objectTherapeutic:
conceptType: Therapy
extensions:
- name: vicc_normalizer_data
value:
id: rxcui:1430438
label: afatinib
- name: regulatory_approval
value:
approval_rating: FDA
Expand All @@ -115,6 +124,13 @@ proposition:
id: civic.tid:146
label: Afatinib
mappings:
- coding:
label: afatinib
code: rxcui:1430438
system: https://www.nlm.nih.gov/research/umls/rxnorm/index.html
extensions:
- name: from_vicc_normalizer
value: True
- coding:
code: ncit:C66940
system: http://purl.obolibrary.org/obo/ncit.owl
Expand Down Expand Up @@ -305,10 +321,6 @@ hasEvidenceLines:
geneContextQualifier:
conceptType: Gene
extensions:
- name: vicc_normalizer_data
value:
id: hgnc:3236
label: EGFR
- name: aliases
value:
- EGFR
Expand Down Expand Up @@ -339,17 +351,21 @@ hasEvidenceLines:
id: civic.gid:19
label: EGFR
mappings:
- coding:
label: EGFR
code: hgnc:3236
system: https://www.genenames.org
relation: exactMatch
extensions:
- name: from_vicc_normalizer
value: True
- coding:
code: ncbigene:1956
system: https://www.ncbi.nlm.nih.gov/gene/
relation: exactMatch
objectTherapeutic:
conceptType: Therapy
extensions:
- name: vicc_normalizer_data
value:
id: rxcui:1430438
label: afatinib
- name: regulatory_approval
value:
approval_rating: FDA
Expand All @@ -374,6 +390,13 @@ hasEvidenceLines:
id: civic.tid:146
label: Afatinib
mappings:
- coding:
label: afatinib
code: rxcui:1430438
system: https://www.nlm.nih.gov/research/umls/rxnorm/index.html
extensions:
- name: from_vicc_normalizer
value: True
- coding:
code: ncit:C66940
system: http://purl.obolibrary.org/obo/ncit.owl
Expand Down

0 comments on commit 4170803

Please sign in to comment.