package org.dromara.web.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.web.domain.ConsultPatient;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 会诊患者视图对象 consult_patient
 *
 * @author Huanyi
 * @date 2025-08-12
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ConsultPatient.class)
public class ConsultPatientVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 看诊类型
     */
    @ExcelProperty(value = "看诊类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "treatment_user_type")
    private String visitType;

    /**
     * 就诊卡号
     */
    @ExcelProperty(value = "就诊卡号")
    private String consultNum;

    /**
     * 门诊号
     */
    @ExcelProperty(value = "门诊号")
    private String outpatientNo;

    /**
     * 科室
     */
    @ExcelProperty(value = "科室")
    private Long doorId;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String consultName;

    /**
     * 出生日期
     */
    @ExcelProperty(value = "出生日期")
    private String birthday;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String phoneNum;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private String sex;

    /**
     * 身份证号
     */
    @ExcelProperty(value = "身份证号")
    private String idCard;

    /**
     * 年龄
     */
    @ExcelProperty(value = "年龄")
    private String age;

    /**
     * 体重
     */
    @ExcelProperty(value = "体重")
    private String height;

    /**
     * 过敏食物
     */
    @ExcelProperty(value = "过敏食物")
    private String allergyFood;

    /**
     * 过敏药物
     */
    @ExcelProperty(value = "过敏药物")
    private String allergyDrug;

    /**
     * 删除标记
     */
    @ExcelProperty(value = "删除标记")
    private String activity;

    /**
     * 床号
     */
    @ExcelProperty(value = "床号")
    private String bedNo;

    /**
     * 病区
     */
    @ExcelProperty(value = "病区")
    private Long wardId;

    /**
     * 入院时间
     */
    @ExcelProperty(value = "入院时间")
    private Date admissionDate;

    /**
     * 诊断类型 0未诊 1诊中
     */
    @ExcelProperty(value = "诊断类型 0未诊 1诊中")
    private String medicalType;

    /**
     * 患者状态
     */
    @ExcelProperty(value = "患者状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "treatment_user_status")
    private String consultPatientStatus;

    /**
     * 评估状态
     */
    @ExcelProperty(value = "评估状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "evaluation_status")
    private String evaluationStatus;

    /**
     * 病区名称
     */
    @ExcelProperty(value = "病区名称")
    private String wardName;

    /**
     * bmi
     */
    @ExcelProperty(value = "bmi")
    private Long bmi;

    /**
     *
     */
    @ExcelProperty(value = "会诊目的")
    private String purpose;

    @ExcelProperty(value = "会诊要求")
    private String requirements;

    private String result;

    private BigDecimal score;

    private Integer status;

}
