Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zaovb opened this issue Jun 14, 2024 · 3 comments
Open

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

zaovb opened this issue Jun 14, 2024 · 3 comments

Comments

@zaovb
Copy link
Contributor

zaovb commented Jun 14, 2024

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.

@zaovb zaovb changed the title Bug? Add "ending date" for the custom frecuency. Jun 14, 2024
@AdamGuidarini
Copy link
Owner

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
Copy link
Contributor Author

zaovb commented Jun 14, 2024

  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
Copy link
Owner

AdamGuidarini commented Jun 14, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants