-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmodels.ts
More file actions
123 lines (115 loc) · 2.98 KB
/
models.ts
File metadata and controls
123 lines (115 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import { ArrangerResultsTree } from 'graphql/models';
export interface IStudyResultTree {
study: ArrangerResultsTree<IStudyEntity>;
}
export interface IStudyDataset {
id: string;
access_limitations?: string[];
access_requirements?: string[];
data_categories?: string[];
data_types?: string[];
dataset_id?: string;
dataset_name?: string;
data_collection_end_year?: string;
data_collection_start_year?: string;
dbgap?: string;
description?: string;
doi_url?: string;
expected_data_categories?: string[];
number_of_document_references?: number;
//deprecated
expected_number_of_files?: number;
expected_number_participants?: number;
experimental_platform?: string;
experimental_strategy?: string;
external_dataset_id?: string;
is_harmonized?: boolean;
publications?: string[];
publications_details?: ArrangerResultsTree<IPublicationDetails>;
has_participant_docs?: boolean;
}
export interface IAuthor {
id: string;
family: string;
given: string;
}
export interface IPublicationDetails {
id: string;
authors: ArrangerResultsTree<IAuthor>;
DOI?: string;
ISSN?: string;
PMCID?: string;
PMID: string;
accessed_date_parts?: number[];
container_title?: string;
container_title_short?: string;
issue?: string;
issued_date_parts: number[];
page?: string;
pubmed_id?: string;
source?: string;
title: string;
volume?: string;
}
export interface IDataType {
id: string;
data_type: string;
file_count: number;
}
export interface IExperimentalStrategy {
id: string;
experimental_strategy: string;
file_count: number;
}
export interface IContact {
id: string;
institution?: string;
email?: string;
name?: string;
}
export interface IStudyEntity {
id: string;
study_id: string;
study_code: string;
study_name: string;
acknowledgement?: string;
biobank_contact?: string;
biobank_request_link?: string;
biospecimen_count: number;
citation_statement?: string;
contacts?: ArrangerResultsTree<IContact>;
controlled_access?: string[];
data_category: string[];
data_sources?: string[];
data_types?: ArrangerResultsTree<IDataType>;
datasets?: ArrangerResultsTree<IStudyDataset>;
date_collection_end_year?: string;
date_collection_start_year?: string;
description?: string;
doi?: {
citation?: string;
url?: string;
};
domains?: string[];
expected_data_categories?: string[];
expected_number_participants?: number;
experimental_strategies?: ArrangerResultsTree<IExperimentalStrategy>;
external_id: string;
external_ids?: string[];
family_count?: number;
file_count?: number;
guid?: string;
institutions?: string[];
investigator_names?: string[];
is_guid_mapped?: boolean;
is_harmonized?: boolean;
part_lifespan_stages?: string[];
participant_count: number;
program: string;
publications?: string[];
publications_details?: ArrangerResultsTree<IPublicationDetails>;
selection_criteria?: string[];
study_designs?: string[];
study_meta_categories?: string[];
website: string;
}