SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Sample can be collected years before symptoms or case reported

Open SORMAS-EmelineJanigan opened this issue 4 months ago • 1 comments

Bug Description

A sample can be collected in 2021 despite the case being from 2025 and the first symptom reported in 2025.

Reproduction Steps

  1. Login
  2. Click on case directory
  3. create new case of congenital rubella with case report date in 2025
  4. fill out symptoms, put first symptom in 2025
  5. create new sample of congenital rubella collection date in 2021
  6. 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

SORMAS-EmelineJanigan avatar Jun 17 '25 10:06 SORMAS-EmelineJanigan