You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Popup behaves as described in "implementation details"
Implementation Details
When a user tries to save the person form while the field "Present condition of person" is either "Dead" or "Buried" AND "Cause of Death" is "Epidemic Disease", the following check has to be performed on all associated cases:
Does the person have one or more associated cases where:
Is Person.responsibleDisease equal to CaseData.Disease
If No, no action required, save form as normal
If Yes:
Are there more than one associated cases?
If No:
Continue with next check with the one case found
If Yes:
Use the newest case (Report Date) for the next checks.
Does the selected case fulfill the following conditions:
Is Case.outcome equal to DECEASED?
AND
Is Person.DateOfDeath equal to CaseData.outcomeDate?
If Yes:
no action required, save form as normal
If No:
A popup appears that shows the consequences of their actions. See Mockup for information about how the popup looks and the shown text (new localization IDs need to be added if required, otherwise reuse the current localization IDs where possible)
Variables are marked with Curly Brackets:
{CaseData.Disease} = Current value of the field "Disease" of the case
{CaseData.UUID} = The UUID of the case
{Person.deathDate} = Current value of the field "Death Date" of the person
Click on "Discard":
The pop up closes
The form is not saved
Click on "Save":
Values of case are updated in the database according to the shown data
the pop up closes
The form is saved
Mockups
Additional Information
No response
The text was updated successfully, but these errors were encountered:
SORMAS-JanBoehme
changed the title
abc
Update case when person's status is set to "Dead" or "Buried"
Dec 11, 2024
SORMAS-JanBoehme
changed the title
Update case when person's status is set to "Dead" or "Buried"
Update case when person's condition is set to "Dead" or "Buried"
Dec 11, 2024
markusmann-vg
changed the title
Update case when person's condition is set to "Dead" or "Buried"
Update case when person's condition is set to "Dead" or "Buried" [3]
Jan 13, 2025
Problem Description
See Epic #13208
Proposed Change
See Epic #13208
Added Value/Benefit
See epic #13208
Acceptance Criteria
Implementation Details
When a user tries to save the person form while the field "Present condition of person" is either "Dead" or "Buried" AND "Cause of Death" is "Epidemic Disease", the following check has to be performed on all associated cases:
Does the person have one or more associated cases where:
Is Person.responsibleDisease equal to CaseData.Disease
If No, no action required, save form as normal
If Yes:
Are there more than one associated cases?
If No:
Continue with next check with the one case found
If Yes:
Use the newest case (Report Date) for the next checks.
Does the selected case fulfill the following conditions:
Is Case.outcome equal to DECEASED?
AND
Is Person.DateOfDeath equal to CaseData.outcomeDate?
If Yes:
no action required, save form as normal
If No:
A popup appears that shows the consequences of their actions. See Mockup for information about how the popup looks and the shown text (new localization IDs need to be added if required, otherwise reuse the current localization IDs where possible)
Variables are marked with Curly Brackets:
{CaseData.Disease} = Current value of the field "Disease" of the case
{CaseData.UUID} = The UUID of the case
{Person.deathDate} = Current value of the field "Death Date" of the person
Click on "Discard":
Click on "Save":
Mockups
Additional Information
No response
The text was updated successfully, but these errors were encountered: