@@ -37,57 +37,49 @@ const formProfileContent = [
3737 eventType : 'contact/name' ,
3838 type : 'text' ,
3939 label : 'Name' ,
40- dataFieldKey : 'name' ,
4140 } ,
4241 {
4342 streamId : 'profile-name' ,
4443 eventType : 'contact/surname' ,
4544 type : 'text' ,
4645 label : 'Surname' ,
47- dataFieldKey : 'surname' ,
4846 } ,
4947 {
5048 streamId : 'profile-nationality' ,
5149 eventType : 'contact/nationality' ,
5250 type : 'text' ,
5351 label : 'Nationality' ,
54- dataFieldKey : 'nationality' ,
5552 } ,
5653 {
5754 streamId : 'profile-sex' ,
5855 eventType : 'attributes/biological-sex' ,
5956 type : 'select' ,
6057 options : [ { value : 'male' , label : 'Male' } , { value : 'female' , label : 'Female' } ] ,
6158 label : 'Sex' ,
62- dataFieldKey : 'sex' ,
6359 } ,
6460 {
6561 streamId : 'profile-date-of-birth' ,
6662 eventType : 'date/iso-8601' ,
6763 type : 'date' ,
6864 label : 'Date of Birth' ,
69- dataFieldKey : 'date-of-birth' ,
7065 } ,
7166 {
7267 streamId : 'family-children' ,
7368 eventType : 'count/generic' ,
7469 type : 'number' ,
7570 label : 'Nb of children' ,
76- dataFieldKey : 'children-count' ,
7771 } ,
7872 {
7973 streamId : 'fertility-miscarriages' ,
8074 eventType : 'count/generic' ,
8175 type : 'number' ,
8276 label : 'Nb of miscarriages' ,
83- dataFieldKey : 'miscarriages-count' ,
8477 } ,
8578 {
8679 streamId : 'fertility-cycles-charted-extimation' ,
8780 eventType : 'count/generic' ,
8881 type : 'number' ,
8982 label : 'Nb of charted cycles' ,
90- dataFieldKey : 'charted-cycles-count' ,
9183 }
9284] ;
9385
@@ -97,7 +89,6 @@ const formHistoricalContent = [
9789 streamId : 'ttc-tta' ,
9890 eventType : 'fertility-intention/ttc-tta' ,
9991 label : 'Trying to conceive / Avoiding pregnancy' ,
100- dataFieldKey : 'ttc-tta' ,
10192 type : 'select' ,
10293 options : [
10394 {
@@ -141,6 +132,12 @@ const formHistoricalContent = [
141132 label : 'TTC - “ Seriously TTC” Intentional intercourse every cycle. Would pursue any/ALL fertility treatments or procedures if needed.'
142133 }
143134 ]
135+ } ,
136+ {
137+ streamId : 'body-weight' ,
138+ eventType : 'mass/kg' ,
139+ type : 'number' ,
140+ label : 'Body Weight (kg)' ,
144141 }
145142]
146143
0 commit comments