Skip to content

Commit

Permalink
PODCAT-1003: Export update - Case Gender db values (#86) (#87)
Browse files Browse the repository at this point in the history
Export update - Case Gender db values

Co-authored-by: Ruoxi Zhang <116577061+RuoxiZhang08@users.noreply.github.com>
  • Loading branch information
David-YuWei and RuoxiZhang08 committed Mar 17, 2023
1 parent cd25233 commit cb4b7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/dataset.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const export2CSV = async (searchText, filters, options) => {
let query = queryGenerator.getSearchQueryV2(searchText, filters, options);
let searchResults = await elasticsearch.search(config.indexDS, query);
let dataElements = ["case_disease_diagnosis", "case_age_at_diagnosis",
"case_ethnicity", "case_race", "case_sex", "case_tumor_site",
"case_ethnicity", "case_race", "case_sex", "case_gender", "case_tumor_site",
"case_treatment_administered", "case_treatment_outcome", "sample_assay_method", "sample_analyte_type", "sample_anatomic_site", "sample_composition_type", "sample_is_normal", "sample_is_xenograft"];
let datasets = searchResults.hits.map((ds) => {
let tmp = ds._source;
Expand Down

0 comments on commit cb4b7dd

Please sign in to comment.