|
@@ -0,0 +1,81 @@
|
|
|
|
|
+package cn.tr.module.phototherapy.common.dto;
|
|
|
|
|
+
|
|
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
+import java.time.LocalDateTime;
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 患者治疗详情DTO
|
|
|
|
|
+ * 用于封装患者治疗详情页面所需的所有数据
|
|
|
|
|
+ *
|
|
|
|
|
+ * @author Generated
|
|
|
|
|
+ * @date 2026-01-19
|
|
|
|
|
+ */
|
|
|
|
|
+@Data
|
|
|
|
|
+@Schema(description = "患者治疗详情DTO")
|
|
|
|
|
+public class PatientTherapyDetailDTO {
|
|
|
|
|
+
|
|
|
|
|
+ // 患者信息(来自bus_clinic表)
|
|
|
|
|
+ @Schema(description = "患者姓名")
|
|
|
|
|
+ private String patientName;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "患者年龄")
|
|
|
|
|
+ private Integer patientAge;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "患者性别(0女 1男 2未知)")
|
|
|
|
|
+ private Integer patientGender;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "患者编号")
|
|
|
|
|
+ private String patientUniqueId;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "联系电话")
|
|
|
|
|
+ private String patientPhone;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "详细地址")
|
|
|
|
|
+ private String patientAddress;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "上次治疗时间")
|
|
|
|
|
+ private LocalDateTime lastTreatmentTime;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "所属分组")
|
|
|
|
|
+ private Integer groupType;
|
|
|
|
|
+
|
|
|
|
|
+ // 治疗信息(来自bus_therapy_record表统计)
|
|
|
|
|
+ @Schema(description = "今日治疗状态")
|
|
|
|
|
+ private String therapyStatus;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "治疗次数")
|
|
|
|
|
+ private Integer therapyCount;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "依从性")
|
|
|
|
|
+ private Integer compliance;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "治疗记录列表")
|
|
|
|
|
+ private List<TherapyRecordDetailDTO> therapyRecordList;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ // 光疗方案(来自therapy_plan表)
|
|
|
|
|
+ @Schema(description = "方案开始时间")
|
|
|
|
|
+ private LocalDateTime createTime;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "干预期")
|
|
|
|
|
+ private String phaseType;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "治疗方案")
|
|
|
|
|
+ private String therapyPlan;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "创建医生")
|
|
|
|
|
+ private String planDoctor;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ // 设备信息(来自设备表)
|
|
|
|
|
+ @Schema(description = "设备编号")
|
|
|
|
|
+ private String deviceId;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "设备绑定时间")
|
|
|
|
|
+ private LocalDateTime bindStartTime;
|
|
|
|
|
+
|
|
|
|
|
+/* @Schema(description = "设备解绑时间")
|
|
|
|
|
+ private LocalDateTime bindEndTime;*/
|
|
|
|
|
+}
|