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
293 stars 143 forks source link

[Automatic lab message processing] Create new case if the existing one is too old #13154

Closed leventegal-she closed 1 month ago

leventegal-she commented 1 month ago

Problem Description

The automatic processing stops when there is a case that's too old to assign the sample to

Proposed Change

If the case is too old, create a new one

Added Value/Benefit

More lab messages are processed automatically

Acceptance Criteria

Implementation Details

No response

Mockups

No response

Additional Information

No response

richardbartha commented 4 weeks ago

Tested on localhost version 1.99.0 - SNAPSHOT (https://github.com/SORMAS-Foundation/SORMAS-Project/commits/0c557021cc987a83391e4d054f44f55ede18e358)

NOTE: Change automaticsampleassignmentthreshold for the givem disease in the diseaseconfiguration table to how many days you consider a case old enough in order for a new case to be created. If automaticsampleassignmentthreshold is null it will not work!