bcgsc/pori_graphkb_loader

create table mapping response body name changes in civic v2 api

Closed this issue · 1 comments

@creisle will create a table in this ticket to map old response body names to new response body names which @cgrisdale will check and add to as well. I have only included fields we used/copied to graphkb

The following v1 paths assume that a field "variant" was added based on the "variant_id" field

v1 v2 equivalent
$.clinical_significance
$.evidence_type
$.drug_interaction_type
$.drugs
$.id
$.variant_id
$.variant.name
$.variant.entrez_id
$.disease.doid
$.disease.name
$.drugs[].name
$.drugs[].ncit_id
$.source.source_type
$.source.citation_id
$.source.asco_abstract_id
$.source.publication_date.year
$.source.url
$.description
$.status
$.evidence_level
$.rating
$.evidence_direction
v1 v2 equivalent
$.clinical_significance $.clinicalSignificance
$.description
$.disease.doid
$.disease.name
$.drug_interaction_type $.drugInteractionType
$.drugs
$.drugs[].name
$.drugs[].ncit_id $.drugs[].ncitId
$.evidence_direction $.evidenceDirection
$.evidence_level $.evidenceLevel
$.evidence_type $.evidenceType
$.id
$.rating $.evidenceRating
$.source.asco_abstract_id $.source.ascoAbstractId
$.source.citationId
$.source.publication_date.year $.source.publicationYear
$.source.source_type $.source.sourceType
$.source.url $.source.sourceUrl
$.status
$.variant_id n/a
$.variant.entrez_id $.variant.gene.entrezId
$.variant.name
$.flagged

most of the changes are just camelCasing but there are a few minor renames. Left blank when they are unchanged