AdamGuidarini / MediTrak

A free and open source medication tracking app for Android 8 and newer.
GNU General Public License v2.0
28 stars 4 forks source link

Add "ending date" for the custom frecuency. #106

Open zaovb opened 3 weeks ago

zaovb commented 3 weeks ago

I don't really understand the "units" in the app. I was expecting that when adding an amount, the app will show exactly the start and the end of the treatment.

Now I understand that the "units" are, for instance, the amounts of pills taken every time.

So, maybe, what I want is a new feature to the custom frequency. Something like "ending date". That way, the app shows in the calendar the beginning but also the ending of the treatment and that doesn't extend forever.

AdamGuidarini commented 3 weeks ago

Should be doable. I'll probably just add an end date option for all medications as an optional field. You are able to to pause medications in the edit screen, but automatically ending it would make life easier. I'll add it to my features list, but I might hold off on releasing until after I get back in case it introduces any bugs.

The "units" are meant to represent unit of measurement for the medication (mg, oz, tablets, pills, etc..). There's probably a better way to phrase it, but I haven't been able to think of one yet

zaovb commented 3 weeks ago
  1. The "end" option, I think, can be also custom in these terms: date or amount of units.

With this, if the doctor says: "take it till [date]", you go for the first option; or, if the doctor says "take [amount] and the treatment is done", you go for the second option.

  1. I think that the word "units" stops being a problem once you add that. Another solution can be "units per take", I like better this one.
AdamGuidarini commented 3 weeks ago

I might end up doing it in potions. Adding an end date shouldn't require too much work. A lot of the logic that went into pausing medications should carry over. I think setting a max number of doses would take a bit more work, but wouldn't be difficult

I ended up changing it to "Dosage Unit", "Unidad de Dosis", and "Dosierungseinheit"