CorruptedArk / did-i-take-my-meds

A Kotlin Android app to manage medications
GNU General Public License v3.0
175 stars 15 forks source link

Allow closest dose to be disabled #68

Open Zocker1999NET opened 1 year ago

Zocker1999NET commented 1 year ago

Describe the bug I need to take to take two doses of an medicament, one when waking up, one 4-5 hours later (no matter, when I wake up). Today I wok up a little bit late, so I took the medicament & mark it as took. 3 to 4 hours later I wondered what about the second dose and so checked and saw, that the app marked my first dose as my second one & declared my first one to be too late.

To Reproduce Steps to reproduce the behavior:

  1. Configure one medicament with two doses, one at 8:30 & the second at 12:30
  2. Get reminded for the first one & mark it as taken using the notification at 11:19
  3. Check in the app that the next dose will be tomorrow & not at 12:30 (hence skipping one)

Expected behavior Remember me about my second dose as planned, even if I forgot my first one.

Screenshot Screenshot_20230104-142819_Did I Take My Meds__1

Smartphone (please complete the following information):

Additional context For me the medicament is not life critical, only mildly disturbing. But I think there are more out there where it would be better, maybe even life saving, to repeat a forgotten dose than just letting it be. And I think its quite bad, that the app didn't inform me about that it will skip one dose. (That's why I consider this a bug).

agowa commented 1 year ago

Also allow to specify a time between dosages. For long lasting medications it is often important that x hours have passed between them. And "skipping" one dosage is not a good thing there, taking it delayed is better for some medications. However the 2nd dosage will need to be adjusted and moved so that again x hours are in between both dosages...

bjoern-tantau commented 9 months ago

As a workaround you can add your medication multiple times, once for every dose, instead of configuring all doses on one.