bids-validator icon indicating copy to clipboard operation
bids-validator copied to clipboard

Add a silent issue if dates in _scans are not anonymized

Open chrisgorgo opened this issue 7 years ago • 2 comments
trafficstars

Check if the dates are from 1900 or later. If so raise the issue. Explain anonymization via random time shifts

From BIDS spec:

Dates can be shifted by a random number of days for privacy protection reasons. To distinguish real dates from shifted dates always use year 1900 or earlier when including shifted years. For longitudinal studies please remember to shift dates within one subject by the same number of days to maintain the interval information. Example: 1867-06-15T13:45:30

This could be elevated to an error when validating for public sharing.

chrisgorgo avatar Oct 15 '18 17:10 chrisgorgo