kwhinnery / responder

Find the nearest WHO treatment center for TB in the Philippines
MIT License
0 stars 5 forks source link

Abandonded interviews - continue or restart #15

Open ivangayton opened 10 years ago

ivangayton commented 10 years ago

I left an interview in mid-stream at one point, and when I came back the system was still right where it was. That's potentially useful (would certainly reduce the frustration for someone who's been interrupted or ran out of battery charge and doesn't want to start over), but if someone has forgotten where they were or handed the phone to someone else, it maybe better to offer the option of a restart.

Particularly relevant with some feature phones, on which the thread is not readily visible, so it's not so easy to know exactly where you were.

If you come back with an exact match for the question you've gotten to (i.e. if the last message from the system had prompted for a symptom category and you respond with 'cough', then you're probably still on track and don't need the option of a restart.

So maybe after a certain period of no activity (say 20 minutes), the next contact that's not an exact match for the part of the interview you've reached gets the response: 'You seem to have been gone for a while. Do you want to continue where we left off, or start again? Text "Continue" or "Restart"'

kwhinnery commented 10 years ago

Hmm, like it. We could add a timestamp to the "session" state to enable this.

kwhinnery commented 10 years ago

To note, we do already have a "start over" command you can use at any time. It's included in one of the long preamble messages, but is easy to miss.