Skip to content

Commit

Permalink
🐛 Fix phenotype source text col (INCLUDE) (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
evans-g-crsj authored Jun 15, 2023
1 parent 2304c5a commit 9f133ab
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/reports/clinical-data/configInclude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,8 @@ const phenotypes: SheetConfig = {
},
},
{
field: 'phenotype.hpo_phenotype_observed_text',
additionalFields: ['phenotype.hpo_phenotype_not_observed_text'],
header: 'Phenotype (Source Text)',
transform: (value, row) => {
if (!row.phenotype) {
return;
}
return value || row.phenotype.hpo_phenotype_not_observed_text;
},
field: 'phenotype.source_text',
header: 'Phenotype (Source Text)'
},
{
field: 'phenotype.hpo_phenotype_observed',
Expand Down

0 comments on commit 9f133ab

Please sign in to comment.