Closed luongp134 closed 1 week ago
Backend todo:
MedicationLog.measurement
invoke()
features (Read more here)
We should check in to figure out if frequency
is needed.
Also, I'll try to get the total prescribed medication on Friday's meeting... or sooner. Added in b57d9f33098f4139f0b87e18c1e3c81df13656df
Backend todo:
Implement the medication "interval" information (e.g. _x per day)
@calejvaldez
Backend todo:
* [ ] Implement the medication "interval" information (e.g. _x per day)
@calejvaldez
Will not be implemented for the time being
The commands will be properly documented in main.rs
for frontend devs: https://github.com/ojosproject/iris/blob/Medication-Logging/src-tauri/src/main.rs
(Note: A Vec is basically an array!)
Another thing for backend to worry about later: implement an async function running in the background to constantly check on the time and send out a notification when it's time to take a medication.
Another solution may be to implement like, a callback function. Writing this here just to keep it in writing.
Stopping for now.
I need to make the "Add Medication" button require more fields, such as brand, dosage, supply, etc. This will be done soon. I'm also going to remove some of the placeholder code we had for testing and add the actual invoke()
code.
A good chunk of things have been implemented, and the page is mostly functional. At this point, I'm just focusing on styling and refactoring (specifically, naming).
More things should be implemented in future releases, and issues will be created for them soon.
Alright, I think it's ready.
A few issues:
These issues will be implemented later on. At least for now, we have functional medication logging.
ID: FUNC3 TITLE: Medication Logging DESCRIPTION: The system must be able to record and log user inputs of various medication data. It must additionally include various fields and provide reminders of the medication. It may, at first internet-connected launch, display medications from the openFDA NDC Directory database. PRIORITY: High
FRONTEND TODO:
BACKEND TODO:
Carlos' edit: Removed "Next refill" as a requirement.