Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add start and end date to outbreak data format [1] #889

Closed
MartinWahnschaffe opened this issue Nov 23, 2018 · 1 comment
Closed

Add start and end date to outbreak data format [1] #889

MartinWahnschaffe opened this issue Nov 23, 2018 · 1 comment
Assignees
Labels
backend Affects the web backend cases vaadin-app Affects the Vaadin application

Comments

@MartinWahnschaffe
Copy link
Contributor

Currently surveillance supervisors are able to define that a certain district has an outbreak at the moment.
Besides this the system should list all past outbreaks with the following information region, district, disease, start, end, reporting user.
In addition it should be possible to edit and also enter outbreak retrospectively.

In order to do so the way outbreaks are currently stored needs to be changed to the format described above. The existing user interface will display any outbreak that is currently active based on start and (if already defined) end.

Existing data (from history table) should be migrated to the new format (check if this is relevant).

// based on discussion with Daniel 21/11/18

@MartinWahnschaffe MartinWahnschaffe added cases backend Affects the web backend sormas-api vaadin-app Affects the Vaadin application labels Nov 23, 2018
@MartinWahnschaffe MartinWahnschaffe added this to the Product Backlog milestone Nov 23, 2018
@MartinWahnschaffe MartinWahnschaffe changed the title List of outbreak List of outbreaks Nov 26, 2018
@MartinWahnschaffe MartinWahnschaffe changed the title List of outbreaks Add start and end date to outbreak data format Nov 28, 2018
@MartinWahnschaffe
Copy link
Contributor Author

MartinWahnschaffe commented Nov 28, 2018

  • add start and end (use creation date as default start date for existing entries)
  • automatically set both when starting or ending an outbreak via the UI
  • adjust logic that checks for a current outbreak
  • app: synchronize all changed outbreaks, but only store the active ones synchronize active outbreaks and transfer ended outbreaks within archived sync

@MartinWahnschaffe MartinWahnschaffe changed the title Add start and end date to outbreak data format Add start and end date to outbreak data format [1] Nov 28, 2018
MartinWahnschaffe pushed a commit that referenced this issue Dec 13, 2018
 add start and end (use creation date as default start date for existing entries)
 automatically set both when starting or ending an outbreak via the UI
 adjust logic that checks for a current outbreak
 app: synchronize all changed outbreaks, but only store the active ones
@MartinWahnschaffe MartinWahnschaffe self-assigned this Dec 13, 2018
MartinWahnschaffe pushed a commit that referenced this issue Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Affects the web backend cases vaadin-app Affects the Vaadin application
Projects
None yet
Development

No branches or pull requests

1 participant