CorruptedArk / did-i-take-my-meds

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

[Feature][Bounty] Ability to schedule dose relative to last dose actually taken #45

Open QueerCodingGirl opened 2 years ago

QueerCodingGirl commented 2 years ago

Is your feature request related to a problem? Please describe. I have meds that i need to take after an exact time that is relative to the dose i take in the morning to prevent either a too high blood concentration of the med or a massive rebound effect between doses. Also, there are people that need to seperate 2 different meds from each other, so it would be nice to select the med on which the relative scheduled dose depends on.

Describe the solution you'd like A checkbox in dose schedule creation to mark the dose as a relative dose and then be able to specify hours, minutes and dependend med.

Edit 1: am on mobile and submitted just the title, because of fat fingers xD

QueerCodingGirl commented 2 years ago

@CorruptedArk Is there a way to sponsor this specific feature directly?

CorruptedArk commented 2 years ago

Uhh, I guess it depends what you mean by that. You could add a bounty on BountySource

That would motivate other developers to work on this feature for the project as well

I like this feature so the limiter for me is time to work on it

QueerCodingGirl commented 2 years ago

I added a 20$ bounty on BountySource: https://app.bountysource.com/issues/105270428-feature-ability-to-schedule-dose-relative-to-last-dose-actually-taken

Its not much, just a little thank you for whoever solves this.

I also used liberapay now to support the project development in general. (but i normally really like to support specific issues much more)

CorruptedArk commented 2 years ago

I appreciate that, and that's fair.

Since I started this project as a solo developer, it's kind of difficult to split up support in terms of features without using a bounty. There are other contributors on this project, but they're mostly translators. So supporting the project directly essentially just means you're supporting me

And I deeply appreciate it

QueerCodingGirl commented 2 years ago

If you want you could add the bountysource github commiter tools to this project and then the issue title and labels and stuff would get updated automatically when there is a new/changed/claimed bounty. ( https://app.bountysource.com/tools )

CorruptedArk commented 2 years ago

I think I will

I'll look into setting it up when I have time

xiaxiayige commented 2 years ago

@QueerCodingGirl Can you draw a picture? i want to try

QueerCodingGirl commented 2 years ago

@xiaxiayige What kind of picture? Do you mean a UI mockup? If so: For me it does not really matter that is has a specific look. It's the (already described) function that matters to me.

webresident commented 2 years ago

The description says that you need to take the next dose of the medicine at some time after taking the same medicine in the morning. I would like to know what to do if we assume the next appointment time will be more than 12 hours? The algorithm of this program will be as below (for example, the interval is 13 hours): First dose - 8 am Second dose - 9 p.m. Third dose - 10 am Etc...

We have a shift in the schedule of 1 hour, so a person will not be able to take medication every morning at exactly 8 am. Is it planned like this? Or do you want to do it a little differently?

I would like to know more about how you want to do this. I am interested in this problem, but I dont understand the details. Sorry.

QueerCodingGirl commented 2 years ago

@webresident In my case it is not exactly the same medicine as i need to take different dosages and have created multiple meds in the app for that, but that is a detail that should not matter for your question much ^^

I personally do not have an interval longer than 12 hours for my meds and no 3rd dose that would spill over into the next day, so i am speculating a bit here. (the spilling over could actually happen in my case, cause i have just so many meds) I would consider each days scheduiling seperate from the previous one. So if i have scheduled meds that spill over into the next day and have the med that started the dependency chain scheduled for that day too, i should get a reminder for both. Its my responsibility to: 1. configure the app correctly and 2. do not take too much of my meds just because i get multiple notifications. In such a over-spilling-into-the-next-day case, i already know about it and it is either intended to take that much in this interval or i should edit the scheduled doses accordingly.

Taking your example from above: On the second day, i should get a notification for 8 am (new day, first dose) and for 10 am (from previous day, third dose).