-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add include project for download (#46)
* add include project for download * incorporate review comments
- Loading branch information
1 parent
bcfe7f9
commit 97add34
Showing
17 changed files
with
455 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import { QueryConfig, ReportConfig, SheetConfig } from '../types'; | ||
|
||
const biospecimens: SheetConfig = { | ||
sheetName: 'Biospecimens', | ||
root: 'biospecimens', | ||
columns: [ | ||
{ field: 'fhir_id' }, | ||
{ field: 'external_id' }, | ||
{ field: 'files.biospecimens.biospecimen_id', header: 'Biospecimens Biospecimens Id' }, | ||
{ | ||
field: 'files.biospecimens.age_at_biospecimen_collection', | ||
header: 'Biospecimens Age At Biospecimen Collection', | ||
}, | ||
{ field: 'files.biospecimens.bio_repository', header: 'Biospecimens Bio Repository' }, | ||
{ field: 'files.biospecimens.biospecimen_type', header: 'Biospecimens Biospecimen Type' }, | ||
{ field: 'files.biospecimens.derived_sample_id', header: 'Biospecimens Derived Sample Id' }, | ||
{ field: 'files.biospecimens.derived_sample_type', header: 'Biospecimens Derived Sample Type' }, | ||
{ field: 'files.biospecimens.ncit_id_tissue_type', header: 'Biospecimens NCIT Id Tissue Type' }, | ||
{ field: 'files.biospecimens.sample_id', header: 'Biospecimens Sample Id' }, | ||
{ field: 'files.biospecimens.sample_type', header: 'Biospecimens Sample Type' }, | ||
], | ||
sort: [ | ||
{ | ||
'files.biospecimens.biospecimen_id': { | ||
order: 'asc', | ||
}, | ||
}, | ||
{ | ||
fhir_id: { | ||
order: 'asc', | ||
}, | ||
}, | ||
], | ||
}; | ||
|
||
const queryConfigs: QueryConfig = { | ||
indexName: 'participant', | ||
alias: 'participant_centric', | ||
}; | ||
|
||
const sheetConfigs: SheetConfig[] = [biospecimens]; | ||
|
||
const reportConfig: ReportConfig = { queryConfigs, sheetConfigs }; | ||
|
||
export default reportConfig; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.