The HXL WG has been considering various ways that we might flag whether it's safe to add numbers in a column to get a total. The use case would be automatic visualisations and other analysis where the software creates a default view without human input.
An example of non-cumulative data is the number of new measles cases reported each month:
| Surveillance month | New measles cases |
| #date +month | #affected +infected
|
| 2019-01 | 72 |
| 2019-02 | 31 |
| 2019-03 | 18 |
An example of cumulative data is the total number of measles cases reported as of each month (during the outbreak):
| Surveillance month | Cases to date |
| #date +month | #affected +infected
|
| 2019-01 | 72 |
| 2019-02 | 103 |
| 2019-03 | 121 |
In the first case, it's reasonable to add the totals in the #affected+infected column to get a total, and in the second, it's not. Here are the questions:
- Should the assumed default be summable (non-cumulative unless otherwise indicated) or non-summable?
- What attribute(s) should use use, e.g. +nosum, +summable, +cumulative, etc.?
We're looking forward to your input.
Thanks, and all the best,
David