You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
166 lines
3.0 KiB
Java
166 lines
3.0 KiB
Java
package com.supervision.model;
|
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
|
|
import java.io.Serializable;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* 病历表
|
|
*
|
|
* @TableName vp_medical_rec
|
|
*/
|
|
@TableName(value = "vp_medical_rec", autoResultMap = true)
|
|
@Data
|
|
public class MedicalRec extends Model<MedicalRec> implements Serializable {
|
|
/**
|
|
* 主键
|
|
*/
|
|
@TableId
|
|
private String id;
|
|
|
|
/**
|
|
* 病例编号
|
|
*/
|
|
private String no;
|
|
|
|
/**
|
|
* 病人头像
|
|
*/
|
|
private String patientHeadPic;
|
|
|
|
/**
|
|
* 数字人类型 0:离线数字人 1:在线数字人
|
|
*/
|
|
private int digitalHumanType;
|
|
|
|
/**
|
|
* 姓名
|
|
*/
|
|
private String patientName;
|
|
|
|
/**
|
|
* 性别 女 / 男
|
|
*/
|
|
private String patientGender;
|
|
|
|
/**
|
|
* 年龄
|
|
*/
|
|
private Integer patientAge;
|
|
|
|
/**
|
|
* 婚姻状况 0:未婚 1:已婚
|
|
*/
|
|
private String patientMarriage;
|
|
|
|
/**
|
|
* 职业
|
|
*/
|
|
private String patientProfession;
|
|
|
|
/**
|
|
* 电话
|
|
*/
|
|
private String patientPhone;
|
|
|
|
/**
|
|
* 籍贯
|
|
*/
|
|
private String nativePlace;
|
|
|
|
/**
|
|
* 民族
|
|
*/
|
|
private String patientNation;
|
|
|
|
/**
|
|
* 邮编
|
|
*/
|
|
private String patientPostcode;
|
|
|
|
/**
|
|
* 出生地
|
|
*/
|
|
private String patientBirthplace;
|
|
|
|
/**
|
|
* 现居住地址
|
|
*/
|
|
private String patientHabitation;
|
|
|
|
|
|
/**
|
|
* ai形象id
|
|
*/
|
|
private String aiImageId;
|
|
|
|
/**
|
|
* 病人ID
|
|
*/
|
|
@Deprecated
|
|
private String patientId;
|
|
|
|
/**
|
|
* 疾病id
|
|
*/
|
|
private String diseaseId;
|
|
|
|
/**
|
|
* 患者主诉
|
|
*/
|
|
private String patientSelfDesc;
|
|
|
|
/**
|
|
* 症状
|
|
*/
|
|
private String symptoms;
|
|
|
|
@Schema(description = "初步诊断依据")
|
|
private String primarilyDiagnosisCriteria;
|
|
|
|
@Schema(description = "证实诊断依据")
|
|
private String confirmDiagnosisCriteria;
|
|
|
|
@Schema(description = "鉴别诊断依据")
|
|
private String differentialDiagnosisCriteria;
|
|
|
|
@Schema(description = "全面检查")
|
|
private String fullCheck;
|
|
|
|
@Schema(description = "提交给大模型的病历")
|
|
private String medicalRecordAi;
|
|
|
|
/**
|
|
* 创建人ID
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT)
|
|
private String createUserId;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT)
|
|
private LocalDateTime createTime;
|
|
|
|
/**
|
|
* 更新人
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
|
private String updateUserId;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
|
private LocalDateTime updateTime;
|
|
|
|
@TableField(exist = false)
|
|
private static final long serialVersionUID = 1L;
|
|
} |