episphere / connect

Connect API for DCEG's Cohort Study
10 stars 5 forks source link

Change functionality of SSN Survey #712

Closed cusackjm closed 8 months ago

cusackjm commented 1 year ago

SSN survey stays open/available on dashboard until participant enters either a full or partial SSN

ADDED REQUIREMENTS FROM PREVIOUS ISSUE (https://github.com/episphere/connect/issues/514):

The existing variables for full SSN digits given (and date/time given) and partial SSN digits given (and date/time given) are currently being set when someone enters the SSN into quest, regardless of whether the module was submitted, and the variables do not change back to 'No' if the person backs out their data in quest. Change this to function such that those four variables are set only upon submitted status of the module.

anthonypetersen commented 1 year ago

So we want this survey to "complete" if they go through and don't provide either SSN?

cusackjm commented 1 year ago

@anthonypetersen is "complete" the same functionality as the menstrual cycle survey?

anthonypetersen commented 1 year ago

Ah wait I misread this, nvm.

brotzmanmj commented 1 year ago

Just to note, this issue has to remain on hold until we get IRB approval of the changes.

brotzmanmj commented 10 months ago

@anthonypetersen The final clean version of the IRB approved SSN survey that we are scheduled to implement in January is here: https://nih.app.box.com/file/1348670927498

Davinkjohnson commented 9 months ago

This is the latest, IRB approved doc. https://app.box.com/s/vgtla8c82pl3rj6feschs7ez0zzmmmpv

Davinkjohnson commented 9 months ago

survey placement logic should remain as-is (within to-do box and at the bottom of the list). Existing appearance on to-do list should remain the same (existing description text and continue button, etc.).

Once participant starts the survey the started status/time should remain.

Having the survey display as a multiple page form, in line with the surveys on the dashboard is OK.

"hash" the entry so all 9, or 4, digits are not visible when entered.

Need to ensure the survey, once complete, shows up on the "completed" tab of the participant's dashboard.

On submit/close the survey moves to completed tab, but the participant remains on the to-do tab.

Gbarra9 commented 9 months ago

PR Review Status - Approved

sonyekere commented 9 months ago

Tested in Dev and ready for stage.