Opened 8 years ago
Closed 8 years ago
#916 closed enhancement (fixed)
The consent count report should not include all consents without date
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v4.8 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
When running the "Consent count report" wizard with a date filter it will always include all consents without a date. This will cause some of the numbers to be less usable. Particularly the numbers for "No" and "Not asked" since they tend lack a date more often than "Yes".
When a date filter is used and a consent date is missing, the registration date should be used as the filter criteria. It is important to note that the registration date should not be used as a replacement for the consent date when counting since that would cause all "missing date" columns to be 0.
(In [4177]) Fixes #916: The consent count report should not include all consents without date
Set a
filterDate
that is either the consent date or the registration date. Then use that date to check if a specific case/blood item should be included in the current statistics or not.