This pr adds the studies table to the study page. I had to update the api endpoint for the study importer, to make sure we add the updatedAt property, if it's a new study then we add a createdAt and updatedAt property.
The daysInStudy is calculated by using the highest daysInStudy value from a participant.
I updated a rule on the linter for optional chaining, without this it is causing charts not to load.
I verified the documentDB compatibility with the mongodb operators I am using for querying and sorting and they are compatible.
@mikestone14 We might need an updated list of the site names, there is RU site which we don't have a name for.
This pr adds the studies table to the study page. I had to update the api endpoint for the study importer, to make sure we add the
updatedAt
property, if it's a new study then we add a createdAt and updatedAt property.The daysInStudy is calculated by using the highest daysInStudy value from a participant.
I updated a rule on the linter for optional chaining, without this it is causing charts not to load.
I verified the documentDB compatibility with the mongodb operators I am using for querying and sorting and they are compatible.
@mikestone14 We might need an updated list of the site names, there is RU site which we don't have a name for.
Video of the functionality.
https://drive.google.com/file/d/16DC3F8UfdVSyvw2XJKcaoGU9rGsJ_9Km/view?usp=sharing