Person can be reported dead but still have symptom onset at a later date
Bug Description
If a case is listed as dying of another cause (not the epidemic disease), the SORMAS system allows the date of recovery from the disease to be AFTER they already died.
If the case dies of the epidemic disease, it will prompt a notification telling that they need to change the outcome of the case to died and change the date of the outcome to the date of death. But this does not happen if they die of someone else - this is wrong, they cannot recover from anything after they die.
If they died of another cause, the system needs to recognize they can't have recovered from epidemic disease after dying
Reproduction Steps
1.Log in to test2 server as admin 2. Create case 3. Select recovered and select date as June 5, 2025 4. Go to case person form 5. Select present condition of person as dead 6. Select cause of death as Other cause and select date of Death as June 3, 2025 7. Click save 8. It allows you to save and doesn't give any messages about changing the case form to reflect that the person is dead 9. When you go back to the case form, it shows they recovered from RSV on June 5 despite dying on June 3
Expected Behavior
When someone tries to put a date of death (due to death from another cause, not epidemic disease) before the recovery date of the epidemic disease, the system should pop up with a message similar to the current one when they die of the epidemic disease.
Affected Area(s)
Web app
SORMAS Version
1.102.0
Android version/Browser
Firefox
User Role(s)
Admin
Server URL
No response
Additional Information
See case Sam Fix (RYJAWU) or Tina Ternera (TE2QRB) for examples