|
@@ -0,0 +1,84 @@
|
|
|
+// 营养诊断类型定义
|
|
|
+export interface DiagnosisRecord {
|
|
|
+ createBy: number;
|
|
|
+ createByUser: string;
|
|
|
+ createTime: string;
|
|
|
+ diagnosisLabelStr: string;
|
|
|
+ diagnosisLabelId: string;
|
|
|
+ id: string;
|
|
|
+ patientId: string;
|
|
|
+ treatmentUserId: string;
|
|
|
+ updateBy?: number;
|
|
|
+ updateByUser?: string;
|
|
|
+ updateTime?: string;
|
|
|
+}
|
|
|
+
|
|
|
+// 日常膳食类型
|
|
|
+export interface recordDailyMealPlanVoList {
|
|
|
+ createBy: number;
|
|
|
+ createByUser: string;
|
|
|
+ createTime: string;
|
|
|
+ id: string;
|
|
|
+ recipeMap: any;
|
|
|
+ recommendEndDate: string;
|
|
|
+ recommendStartDate: string;
|
|
|
+ totalCalorie: number | null;
|
|
|
+}
|
|
|
+
|
|
|
+// 院内膳食类型
|
|
|
+export interface recordHospitalMealPlanVoList extends recordDailyMealPlanVoList {}
|
|
|
+
|
|
|
+// 营养筛查类型定义
|
|
|
+export interface recordScreeningVoList {
|
|
|
+ configId: string;
|
|
|
+ configName: string;
|
|
|
+ createBy: number;
|
|
|
+ createByUser: string;
|
|
|
+ createTime: string;
|
|
|
+ id: string;
|
|
|
+ screeningConclusion: string | null;
|
|
|
+ screeningScore: string;
|
|
|
+}
|
|
|
+
|
|
|
+// 营养评估类型定义
|
|
|
+export interface recordEvaluationVoList {
|
|
|
+ configId: string;
|
|
|
+ configName: string;
|
|
|
+ content: string;
|
|
|
+ createBy: number;
|
|
|
+ createByUser: string;
|
|
|
+ createTime: string;
|
|
|
+ id: string;
|
|
|
+}
|
|
|
+
|
|
|
+// 营养处方产品信息类型
|
|
|
+export interface EnteralProduct {
|
|
|
+ fid: string;
|
|
|
+ settlementId: string;
|
|
|
+ prescriptionDate: string;
|
|
|
+ groupNo: string;
|
|
|
+ nutritionProduct: string;
|
|
|
+ [key: string]: any; // 其他可能的属性
|
|
|
+}
|
|
|
+
|
|
|
+// 营养处方类型定义
|
|
|
+export interface recordSettlementVoList {
|
|
|
+ createBy: number | null;
|
|
|
+ createByUser: string | null;
|
|
|
+ createTime: string | null;
|
|
|
+ enteralMap: {
|
|
|
+ [key: string]: EnteralProduct[]; // 键为时间(如:"09:44:11"),值为产品数组
|
|
|
+ };
|
|
|
+ id: string;
|
|
|
+ orderTime: string;
|
|
|
+}
|
|
|
+
|
|
|
+// API 响应数据类型
|
|
|
+export interface HistoryRecordResponse {
|
|
|
+ recordDiagnosisVoList: DiagnosisRecord[];
|
|
|
+ recordDailyMealPlanVoList: recordDailyMealPlanVoList[];
|
|
|
+ recordHospitalMealPlanVoList: recordHospitalMealPlanVoList[];
|
|
|
+ recordScreeningVoList: recordScreeningVoList[];
|
|
|
+ recordEvaluationVoList: recordEvaluationVoList[];
|
|
|
+ recordSettlementVoList: recordSettlementVoList[];
|
|
|
+}
|