@@ -4,8 +4,8 @@ const participants: SheetConfig = {
4
4
sheetName : 'Participants' ,
5
5
root : null ,
6
6
columns : [
7
- { field : 'participant_id' } ,
8
- { field : 'external_id' } ,
7
+ { field : 'participant_id' , header : 'Participant ID' } ,
8
+ { field : 'external_id' , header : 'External Participant ID' } ,
9
9
{ field : 'family.family_id' , header : 'Family ID' } ,
10
10
{ field : 'family_type' , header : 'Family Unit' } ,
11
11
{ field : 'study.study_name' , header : 'Study Name' } ,
@@ -14,7 +14,7 @@ const participants: SheetConfig = {
14
14
{ field : 'race' } ,
15
15
{ field : 'ethnicity' } ,
16
16
{ field : 'down_syndrome_status' } ,
17
- { field : 'outcomes.vital_status' } ,
17
+ { field : 'outcomes.vital_status' , header : 'Vital Status' } ,
18
18
{
19
19
field : 'outcomes.age_at_event_days.value' ,
20
20
header : 'Age at the Last Vital Status (Days)' ,
@@ -38,8 +38,8 @@ const phenotypes: SheetConfig = {
38
38
sheetName : 'Phenotypes' ,
39
39
root : 'phenotype' ,
40
40
columns : [
41
- { field : 'participant_id' } ,
42
- { field : 'external_id' } ,
41
+ { field : 'participant_id' , header : 'Participant ID' } ,
42
+ { field : 'external_id' , header : 'External Participant ID' } ,
43
43
{
44
44
field : 'phenotype.hpo_phenotype_observed' ,
45
45
additionalFields : [ 'phenotype.hpo_phenotype_not_observed' ] ,
@@ -53,12 +53,12 @@ const phenotypes: SheetConfig = {
53
53
} ,
54
54
{
55
55
field : 'phenotype.source_text' ,
56
- header : 'Phenotype (Source Text)'
56
+ header : 'Condition (Source Text)' ,
57
57
} ,
58
58
{
59
59
field : 'phenotype.hpo_phenotype_observed' ,
60
60
header : 'Interpretation' ,
61
- transform : ( value , row ) => ( value ? 'Observed' : 'Not Observed' ) ,
61
+ transform : ( value , _ ) => ( value ? 'Observed' : 'Not Observed' ) ,
62
62
} ,
63
63
{
64
64
field : 'phenotype.age_at_event_days' ,
@@ -72,22 +72,14 @@ const diagnoses: SheetConfig = {
72
72
sheetName : 'Diagnoses' ,
73
73
root : 'diagnosis' ,
74
74
columns : [
75
- { field : 'participant_id' } ,
76
- { field : 'external_id' } ,
77
- {
78
- field : 'fhir_id' ,
79
- header : 'Diagnosis Type' ,
80
- transform : ( ) => 'Clinical' ,
81
- } ,
75
+ { field : 'participant_id' , header : 'Participant ID' } ,
76
+ { field : 'external_id' , header : 'External Participant ID' } ,
82
77
{ field : 'diagnosis.mondo_id_diagnosis' , header : ' Diagnosis (MONDO)' } ,
83
- { field : 'diagnosis.ncit_id_diagnosis' , header : 'Diagnosis (NCIT)' } ,
84
- { field : 'diagnosis.icd_id_diagnosis' , header : 'Diagnosis (ICD)' } ,
85
- { field : 'diagnosis.source_text' , header : 'Diagnosis (Source Text)' } ,
78
+ { field : 'diagnosis.source_text' , header : 'Condition (Source Text)' } ,
86
79
{
87
80
field : 'diagnosis.age_at_event_days' ,
88
81
header : 'Age at Diagnosis (Days)' ,
89
82
} ,
90
- { field : 'diagnosis.source_text_tumor_location' } ,
91
83
] ,
92
84
sort : [ { fhir_id : 'asc' } ] ,
93
85
} ;
@@ -119,15 +111,15 @@ const familyRelationship: SheetConfig = {
119
111
sheetName : 'Family Relationship' ,
120
112
root : 'family.family_relations' ,
121
113
columns : [
122
- { field : 'participant_id' } ,
114
+ { field : 'participant_id' , header : 'Participant ID' } ,
123
115
{
124
116
field : 'family.family_relations' ,
125
117
header : 'Family Members ID' ,
126
118
transform : ( value , row ) => ( row . family ? row . family . family_relations . related_participant_id : '' ) ,
127
119
} ,
128
120
{
129
121
field : 'family.family_relations' ,
130
- header : 'Relationship' ,
122
+ header : 'Family Member Relationship' ,
131
123
transform : ( value , row ) => ( row . family ? row . family . family_relations . relation : '' ) ,
132
124
} ,
133
125
] ,
0 commit comments