SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
291 stars 137 forks source link

Provide user notifications documentation [1] #10310

Closed MartinWahnschaffe closed 1 year ago

MartinWahnschaffe commented 1 year ago

Problem Description

We need a documentation for user notifications similarly to what we have for user rights based on #10200 .

Proposed Change

Acceptance Criteria

Implementation Details

Additional Information

Notification type Group Caption Description
CASE_CLASSIFICATION_CHANGED CASES Case classification changed Sent to all users associated to the region or responsible region of a case.
CASE_INVESTIGATION_DONE CASES Case investigation done Sent to all users associated to the region or responsible region of a case.
CASE_LAB_RESULT_ARRIVED CASES Case lab result arrived Sent to all users associated to the region or responsible region of a case when a pathogen test result is entered or modified (non-pending).
CASE_DISEASE_CHANGED CASES Case disease changed Sent to all users associated to the region or responsible region of a case when the disease was previously set to 'Unspecified VHF'.
CONTACT_LAB_RESULT_ARRIVED CONTACTS Contact lab result arrived Sent to all users associated to the region of a contact when a pathogen test result is entered or modified (non-pending). If the contact has no region the region of the source case is used.
CONTACT_SYMPTOMATIC CONTACTS Contact symptomatic Sent to all users associated to the region of a contact when a new symptomatic visit is created and the contact was previously asymptomatic. If the contact has no region the region of the source case is used.
CONTACT_VISIT_COMPLETED CONTACTS Contact visit completed Sent to all users associated to the region of a contact and all observer users when a "Contact follow-up" task is completed. If the contact has no region the region of the source case is used.
EVENT_PARTICIPANT_CASE_CLASSIFICATION_CONFIRMED EVENTS Event participant case classification confirmed When a case is set to a confirmed classification, this is sent to all responsible users of active events in which the case person participated and which took place no earlier than 30 days before the case was classified.
EVENT_PARTICIPANT_RELATED_TO_OTHER_EVENTS EVENTS Event participant related to other events When a new event participant is created, this is sent to all responsible users of active events in which the person also participated and which took place no earlier than 30 days before.
EVENT_PARTICIPANT_LAB_RESULT_ARRIVED EVENTS Event participant lab result arrived Sent to all users associated to the region of an event participant when a pathogen test result is entered or modified (non-pending).
EVENT_GROUP_CREATED EVENTS Event group created Sent to all responsible users of events that are part of a newly created event group.
EVENT_ADDED_TO_EVENT_GROUP EVENTS Event added to event group Sent to all responsible users of events that are part of the modified event group.
EVENT_REMOVED_FROM_EVENT_GROUP EVENTS Event removed from event group Sent to all responsible users of the removed event and events that are part of the modified event group.
LAB_SAMPLE_SHIPPED SAMPLES Lab sample shipped Sent to all users of a laboratory when a sample of that laboratory is shipped.
TASK_START TASKS Task start Sent to the assignee of a task and all observer users when the task start date is within the last 10 minutes.
TASK_DUE TASKS Task due Sent to the assignee of a task and all observer users when the task due date is within the last 10 minutes.
TASK_UPDATED_ASSIGNEE TASKS Task assignee updated Sent to the previous and new assignee of a task.
MartinWahnschaffe commented 1 year ago

@JaquM-HZI Please double check whether this makes sense to you. Adding the configuration of the notifications to the sheet with the user roles next to the user rights, will mean there are even more columns, but from my point of view this would be ok here.

JaquM-HZI commented 1 year ago

@MartinWahnschaffe double checked and it's fine for me. Thanks!

MartinWahnschaffe commented 1 year ago

@SahaLinaPrueger @JaquM-HZI Please double-check the descriptions I have provided above for the notification types. I'd also suggest to rename "Case disease changed" to "Case VHF disease changed" because it is only triggered when an "Unspecified VHF" case disease is changed to something else.