feat(用药管理): 集成AI智能分析功能,提供用药依从性深度洞察和专业健康建议
This commit is contained in:
@@ -95,6 +95,28 @@ export interface MedicationDisplayItem {
|
||||
medicationId: string; // 药物ID
|
||||
}
|
||||
|
||||
/**
|
||||
* AI 用药总结 - 药物层级统计
|
||||
*/
|
||||
export interface MedicationAiSummaryItem {
|
||||
id: string;
|
||||
name: string;
|
||||
startDate: string;
|
||||
plannedDays: number;
|
||||
timesPerDay: number;
|
||||
plannedDoses: number;
|
||||
takenDoses: number;
|
||||
completionRate: number; // 0-1
|
||||
}
|
||||
|
||||
/**
|
||||
* AI 用药总结响应
|
||||
*/
|
||||
export interface MedicationAiSummary {
|
||||
medicationAnalysis: MedicationAiSummaryItem[];
|
||||
keyInsights: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 药品 AI 分析 V2 结构化数据
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user