Refactor report generation to focus solely on medical data. Introduce MedicalReport interface, streamlining report content by removing unnecessary technical details. Consolidate endpoints to return only JSON format for reports, enhancing clarity and usability. Update report generation logic to align with new structure, ensuring compatibility with existing ComprehensiveReport interface for backward compatibility.
Add integration guide for Report Generation API, detailing endpoints for generating full, markdown, and JSON reports. Update agent executor and triage routes to track tool executions and guidelines count for report generation, enhancing logging for better traceability. Ensure all tool executions are logged for report generation success.
Add Triage Report Implementation Plan with AI Decision-Making features. Introduce new API endpoint for generating complete triage reports, modify agent executor for report generation, and enhance frontend components for user-triggered report generation. Update type definitions to support new report structure and integrate location services for nearby medical facilities. Include detailed verification plan and implementation timeline.
Implement intent classification for casual greetings in the IntentClassifierService and update MedagenAgent to route user queries based on classified intent. Enhance response handling in triage routes to utilize markdown messages when available. Extend TriageResult type to include a message field for markdown responses from the LLM.