fix(health): 对接今日体征摘要新端点 /health/vital-signs/today
This commit is contained in:
@@ -9,14 +9,14 @@ export interface VitalSignInput {
|
||||
}
|
||||
|
||||
export interface TodaySummary {
|
||||
blood_pressure?: { systolic: number; diastolic: number; status: string };
|
||||
heart_rate?: { value: number; status: string };
|
||||
blood_sugar?: { value: number; status: string };
|
||||
weight?: { value: number; status: string };
|
||||
blood_pressure?: { systolic: number; diastolic: number; status: string; reference_range?: string };
|
||||
heart_rate?: { value: number; status: string; reference_range?: string };
|
||||
blood_sugar?: { value: number; status: string; reference_range?: string };
|
||||
weight?: { value: number; status: string; reference_range?: string };
|
||||
}
|
||||
|
||||
export async function getTodaySummary() {
|
||||
return api.get<TodaySummary>('/health/vital-signs?date=today');
|
||||
return api.get<TodaySummary>('/health/vital-signs/today');
|
||||
}
|
||||
|
||||
export async function inputVitalSign(patientId: string, data: VitalSignInput) {
|
||||
|
||||
Reference in New Issue
Block a user