Open MartinWahnschaffe opened 3 years ago
Here are the rules (in German) https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/Falldefinition.pdf?__blob=publicationFile
I would like to defer the translation to point where it is clear that the person who is going to implement this is not speaking German if this is ok.
This issues is planned but the specification is not clear, the variables involved and rules in both directions.
One point that we can keep in mind is how the system should act when automatic computation was overridden and latter comes in new data (lab results) data that lead to a different case classification.
How should auto computation and user specification work in both directions? If user override the system and more data is added, should system go back to auto mode using the updated data or stay on user classification?
A similar situation exist with contact type and contact category
Feature & Problem Description
The current fields in sormas can be edited by the user. It's not possible to map this with the SUrvNet fields that distinguish between computed and manual fields (for CVD manual is only relevant for epid, so we ignore the other two manual fields).
Proposed Change
For now the automatic calculation is done whenever the case is saved. Later it could be done directly in the form whenever a related value is changed.
@JonasCir Please add the calculation rules.