covid19-group / c19

C19 is an Open Source COVID-19 self registration tool build by volunteering people in tech.
https://c19.dk
MIT License
27 stars 15 forks source link

Explicit logging of initial registrations #9

Closed holgerthorup closed 4 years ago

holgerthorup commented 4 years ago

Initial registrations differs from the following ones (include more information, covers a different time frame etc.), thus we can derive that it is the initial report from the additional properties in the value object.

Instead, when storing the survey.value we should make it explicit whether it is the initial reporting or not with survey.value.initial = true to increase data integrity and make it easier for integrating systems (reporting w/ Power BI) to work with.