package com.xinelu.manage.vo.patientquestionsubmitresult;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * @description: 问卷统计列表返回视图类
 * @author: haown
 * @create: 2024-10-16 15:06
 **/
@Data
public class PatientQuestionSubmitListVo {

	/**
	 * 患者主键
	 */
	@ApiModelProperty(value = "患者主键")
	private Long patientId;

	/** 身份证号 */
	@ApiModelProperty(value = "身份证号")
	private String cardNo;

	/** 姓名 */
	@ApiModelProperty(value = "姓名")
	private String patientName;

	/** 就诊类型，门诊：OUTPATIENT_SERVICE，住院：BE_IN_HOSPITAL */
	@ApiModelProperty(value = "就诊类型，门诊：OUTPATIENT_SERVICE，住院：BE_IN_HOSPITAL")
	private String visitMethod;

	/** 所属医院id */
	@ApiModelProperty(value = "所属医院id")
	private Long hospitalAgencyId;

	/** 所属医院名称 */
	@ApiModelProperty(value = "所属医院名称")
	private String hospitalAgencyName;

	/** 所属科室id */
	@ApiModelProperty(value = "所属科室id")
	private Long departmentId;

	/** 所属科室名称 */
	@ApiModelProperty(value = "所属科室名称")
	private String departmentName;

	/** 入院时间 */
	@ApiModelProperty(value = "入院时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private LocalDateTime admissionTime;

	/** 出院时间 */
	@ApiModelProperty(value = "出院时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private LocalDateTime dischargeTime;

	/** 门诊/住院号 */
	@ApiModelProperty(value = "门诊/住院号")
	private String inHospitalNumber;

	/**
	 * 患者问卷提交结果表id
	 */
	@ApiModelProperty(value = "患者问卷提交结果表id")
	private Long patientQuestionSubmitResultId;

	/**
	 * 问卷表id
	 */
	@ApiModelProperty(value = "问卷表id")
	private Long questionInfoId;

	/**
	 * 问卷标题
	 */
	@ApiModelProperty(value = "问卷标题")
	private String questionnaireName;

	/**
	 * 问卷总得分，根据患者提交问卷得出的分值
	 */
	@ApiModelProperty(value = "问卷总得分，根据患者提交问卷得出的分值")
	private BigDecimal totalScore;

	/**
	 * 问卷时间
	 */
	@ApiModelProperty(value = "问卷时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

}
