AOSSIE-Org / AOSSIE-Org/BabyNest
[Feature Request]: Smart Medical Alerts & Anomaly Detection for BP and Medication Tracking
- 主要语言
- JavaScript
- 星标
- 56
- 派生
- 123
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。