feat(ai): Agent 分析 Tool — AnalyzeLabReport + AnalyzeHealthTrends

- AnalyzeLabReportTool: 获取化验报告详细指标(异常标记+参考范围)
- AnalyzeHealthTrendsTool: 趋势分析(回归方向/日变化/异常检测)
- 沙箱: MedicalStaff 专属分析 Tool,Patient 不可用
This commit is contained in:
iven
2026-05-19 10:45:32 +08:00
parent 7edf1ed1d3
commit 6f088347ce
5 changed files with 313 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
// Agent Tool 实现
pub mod analyze_health_trends;
pub mod analyze_lab_report;
pub mod query_appointments;
pub mod query_lab_reports;
pub mod query_medications;
@@ -7,6 +9,8 @@ pub mod query_patient_profile;
pub mod query_vitals;
pub mod search_medical_knowledge;
pub use analyze_health_trends::AnalyzeHealthTrendsTool;
pub use analyze_lab_report::AnalyzeLabReportTool;
pub use query_appointments::QueryAppointmentsTool;
pub use query_lab_reports::QueryLabReportsTool;
pub use query_medications::QueryMedicationsTool;