|
@@ -1,8 +1,11 @@
|
|
|
package cn.tr.module.phototherapy.common.vo;
|
|
package cn.tr.module.phototherapy.common.vo;
|
|
|
|
|
|
|
|
|
|
+import cn.tr.module.phototherapy.common.enums.*;
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -24,7 +27,7 @@ public class PatientTherapyDetailVO {
|
|
|
private Integer patientAge;
|
|
private Integer patientAge;
|
|
|
|
|
|
|
|
@Schema(description = "患者性别")
|
|
@Schema(description = "患者性别")
|
|
|
- private Integer patientGender;
|
|
|
|
|
|
|
+ private PatientGenderEnum patientGender;
|
|
|
|
|
|
|
|
@Schema(description = "患者唯一标识")
|
|
@Schema(description = "患者唯一标识")
|
|
|
private String patientUniqueId;
|
|
private String patientUniqueId;
|
|
@@ -36,35 +39,50 @@ public class PatientTherapyDetailVO {
|
|
|
private String patientAddress;
|
|
private String patientAddress;
|
|
|
|
|
|
|
|
@Schema(description = "最后治疗时间")
|
|
@Schema(description = "最后治疗时间")
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date lastTreatmentTime;
|
|
private Date lastTreatmentTime;
|
|
|
|
|
|
|
|
- @Schema(description = "分组类型")
|
|
|
|
|
- private Integer groupType;
|
|
|
|
|
|
|
+ @Schema(description = "所属分组")
|
|
|
|
|
+ private GroupTypeEnum groupType;
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
+ // 治疗信息(来自bus_therapy_record表统计)
|
|
|
@Schema(description = "治疗次数")
|
|
@Schema(description = "治疗次数")
|
|
|
private Integer therapyCount;
|
|
private Integer therapyCount;
|
|
|
|
|
|
|
|
@Schema(description = "治疗状态")
|
|
@Schema(description = "治疗状态")
|
|
|
- private Integer therapyStatus;
|
|
|
|
|
|
|
+ private TherapyStatusEnum therapyStatus;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "治疗方案状态")
|
|
|
|
|
+ private TherapyPlanStatusEnum therapyPlanStatus;
|
|
|
|
|
|
|
|
|
|
+ @Schema(description = "报警类型")
|
|
|
|
|
+ private DeviceAlarmEnum deviceAlarm;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ // 光疗方案(来自therapy_plan表)
|
|
|
@Schema(description = "开始时间")
|
|
@Schema(description = "开始时间")
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date startTime;
|
|
private Date startTime;
|
|
|
|
|
|
|
|
- @Schema(description = "干预期")
|
|
|
|
|
|
|
+ @Schema(description = "治疗阶段")
|
|
|
private String phaseType;
|
|
private String phaseType;
|
|
|
|
|
|
|
|
- @Schema(description = "阶段频率")
|
|
|
|
|
- private String phaseFreq;
|
|
|
|
|
|
|
+ @Schema(description = "治疗频率")
|
|
|
|
|
+ private Integer phaseFreq;
|
|
|
|
|
|
|
|
- @Schema(description = "阶段持续时间(分钟)")
|
|
|
|
|
- private Integer phaseDurationMin;
|
|
|
|
|
|
|
+ @Schema(description = "治疗方案")
|
|
|
|
|
+ private String therapyPlanDesc;
|
|
|
|
|
|
|
|
@Schema(description = "方案医生")
|
|
@Schema(description = "方案医生")
|
|
|
private String planDoctor;
|
|
private String planDoctor;
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ // 设备信息(来自设备表)
|
|
|
@Schema(description = "设备ID")
|
|
@Schema(description = "设备ID")
|
|
|
private String deviceId;
|
|
private String deviceId;
|
|
|
|
|
|
|
|
@Schema(description = "绑定开始时间")
|
|
@Schema(description = "绑定开始时间")
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date bindStartTime;
|
|
private Date bindStartTime;
|
|
|
}
|
|
}
|