New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(optionally?) change subject.age
to subject.dob
(date of birth)
#145
Comments
subject.age
to subject.dob
(date of birth)subject.age
to subject.dob
(date of birth)
Agreed; we generally refer to animals by date of birth. I'd recommend that the field be called 'date_of_birth', for clarity For Human subjects there might be privacy implications--DOB might be PII whereas 'age' is not (?) |
For HIPAA, you can only include the year. It gets tricky when the subject is >89, though, because then you can't even report their birth year-- you have to report them as "over 89." We could create a simple utility called if subject.species is human:
for date in dates:
if date is not just_year:
raise Warning()
if date_of_birth is year and (session_start_time - date_of_birth) > 89 years:
raise Warning() |
It makes me nervous when I see HIPAA, and you are encoding it into the name The license of NWB-schema already says that it is not warrantied to be fit for any purpose and makes no such claims, but I think adding this additional level of warning is showing proper consideration for users of the software. |
Yeah fair enough. HIPPA compliance is much more complicated than simple date checks and we don't want to mislead people. If we do add a feature like this, we absolutely want to throw several signals to the user like this. It may be better to avoid it altogether. Still, I think it's important to maintain enough flexibility in nwb so that it would be possible for a knowledgeable and careful user to achieve HIPPA compliance.
|
There are a few issues with the way dates are currently stored that would need to be addressed for NWB to be HIPAA-able. All exact dates are a HIPAA violation, including birth date, surgery date, session_start_time, etc. |
but this is turning into another important conversation so I'm going to open up a new thread |
@bendichter let me know in case I should change the milestone to 2.x? |
I see that the age of the animal is currently stored as
subject.age
. I'd like to request the option to alternatively store this information assubject.dob
. The reason is that I'd like to have the subject object change minimally from session to session. As long asNWBFile.session_start_time
is supplied and correct, you should be able to easily recover the age of the animal. I have found that most labs store age this way.The text was updated successfully, but these errors were encountered: