Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

[PRTL-2609] Remove follow-up and molecular tests from Clinical Tab #2578

Merged
merged 1 commit into from
Jun 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions src/packages/@ncigdc/containers/explore/presetFacets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,6 @@ export const clinicalFacets: IClinicalFacetProps[] = [
full: 'cases.exposures',
excluded: [...excludedRegex],
},
{
title: 'Follow Up',
field: 'follow_up',
full: 'cases.follow_up',
excluded: [...excludedRegex],
},
{
title: 'Molecular Tests',
field: 'molecular_tests',
full: 'cases.molecular_tests',
excluded: [...excludedRegex],
},
];

const clinicalFacetSortingDictionary = {
Expand Down Expand Up @@ -223,45 +211,6 @@ const clinicalFacetSortingDictionary = {
'radon_exposure',
'tobacco_smoking_status',
],
follow_ups: [
'adverse_event',
'barretts_esophagus_goblet_cells_present',
'comorbidity',
'comorbidity_method_of_diagnosis',
'diabetes_treatment_type',
'disease_response',
'ecog_performance_status',
'hepatitis_sustained_virological_response',
'hpv_positive_type',
'karnofsky_performance_status',
'menopause_status',
'progression_or_recurrence',
'progression_or_recurrence_anatomic_site',
'progression_or_recurrence_type',
'reflux_treatment_type',
'risk_factor',
'risk_factor_treatment',
'viral_hepatitis_serologies',
'bmi',
'height',
'weight',
],
molecular_test: [
'antigen',
'biospecimen_type',
'chromosome',
'gene_symbol',
'histone_family',
'histone_variant',
'laboratory_test',
'mismatch_repair_mutation',
'molecular_consequence',
'ploidy',
'second_gene_symbol',
'test_analyte_type',
'variant_type',
'zygosity',
],
}

export const customSorting = (field: string = ''): object | number => {
Expand Down