-
-
Notifications
You must be signed in to change notification settings - Fork 122
Description
Is your feature request related to a problem? Currently, BabyNest acts as a passive logger. When a user inputs data like Blood Pressure (BP) or medicine intake, the system stores it but doesn't interpret if the values are dangerous. In pregnancy, a high BP reading (Hypertension) or missing critical meds (like Iron/Folic Acid) needs immediate attention.
Describe the solution you'd like: I propose adding an Automated Alert & Analysis Layer within the existing Python handlers:
1.BP Threshold Alerts: Implement logic in blood_pressure.py to detect hypertensive readings (e.g., Systolic ≥ 140 or Diastolic ≥ 90) and return an immediate high-priority warning instead of a standard "Logged" message.
2.Medication Consistency Check: Add a check in medicine.py to verify if the user is logging their daily required supplements based on their pregnancy week context.
3.Proactive Guidance: The AI should provide specific medical advice (e.g., "Please rest and contact your doctor") when anomalies are detected, rather than just storing the number.
Describe alternatives you've considered: Hard-coding alerts in the Frontend, but keeping it in the Backend (handlers) ensures that the LLM agent can also use this "Alert Context" for future chat responses.
Additional context: This feature will remain 100% offline and private. It enhances user safety significantly by transforming BabyNest from a diary into a proactive health monitor.