MathematicalMedicine / diver-issues

Semipublic tracking of issues for the DIVER front end
0 stars 0 forks source link

Clarify how to identify not asked vs not answered when no response is provided #151

Open WValenti opened 1 year ago

WValenti commented 1 year ago

The following was updated to take into consideration whether or not a response that is NOT within the expected range for a question is able to be corrected in conjunction with the submitting investigators.

For a given interview and question:

  1. There is a response provided in the dataset 1.a Flow of instrument and preceding response(s) indicate the question was asked 1.a.1 Response is within expected range for question - NORMAL 1.a.2 Response is NOT within expected range for question 1.a.2.a Response is replaced with one from the expected range in conjunction with submitting investigators - CORRECTED 1.a.2.b Response has not or cannot be replaced with one from the expected range - INVALID 1.b Flow of instrument and preceding response(s) indicate the question should NOT have been asked 1.b.1 Response is within expected range for question - NORMAL-BONUS 1.b.2 Response is NOT within expected range for question 1.b.2.a Response is replaced with one from the expected range in conjunction with submitting investigators - CORRECTED-BONUS 1.b.2.b Response has not or cannot be replaced with one from the expected range - NOISE
  2. There is NO response provided in the dataset 2.a Flow of instrument and preceding response indicates the question was asked - MISSING 2.b Flow of instrument and preceding response indicates the question should NOT have been asked - NA/NA (both not asked and not answered)
WValenti commented 1 year ago

In all circumstances, the original value is stored in the RAW database kibble table. When a value is valid (or corrected) it is stored in the CLEANED database kibble table as follows:

As an aside, here are the metavalues currently in the database and their meanings: