SORMAS-Project
SORMAS-Project copied to clipboard
Sample can be collected years before symptoms or case reported
Bug Description
A sample can be collected in 2021 despite the case being from 2025 and the first symptom reported in 2025.
Reproduction Steps
- Login
- Click on case directory
- create new case of congenital rubella with case report date in 2025
- fill out symptoms, put first symptom in 2025
- create new sample of congenital rubella collection date in 2021
- SORMAS system allows this when it should not, or should at least give a warning that it seems wrong
Expected Behavior
If the first symptom is reported on a date (e.g. April 1, 2025), it should not be possible for a relevant sample to be collected before that (at least not in a different year)
Affected Area(s)
Web app
SORMAS Version
1.102
Android version/Browser
firefox
User Role(s)
admin
Server URL
qa.sormas.dev
Additional Information
No response