package com.xinelu.manage.domain.patientvisitinhospital;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.common.annotation.Excel;
import com.xinelu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 患者就诊入院记录信息对象 patient_visit_in_hospital
 *
 * @author haown
 * @date 2024-02-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "患者就诊入院记录信息对象", description = "patient_visit_in_hospital")
public class PatientVisitInHospital extends BaseEntity {
    private static final long serialVersionUID=1L;

    /** 主键id */
    private Long id;

    /** 患者就诊记录表id */
    @ApiModelProperty(value = "患者就诊记录表id")
    @Excel(name = "患者就诊记录表id")
    private Long patientVisitRecordId;

    /** 主诉 */
    @ApiModelProperty(value = "主诉")
    @Excel(name = "主诉")
    private String chiefComplaint;

    /** 现病史 */
    @ApiModelProperty(value = "现病史")
    @Excel(name = "现病史")
    private String presentIllnessHistory;

    /** 既往史 */
    @ApiModelProperty(value = "既往史")
    @Excel(name = "既往史")
    private String pastHistory;

    /** 个人史 */
    @ApiModelProperty(value = "个人史")
    @Excel(name = "个人史")
    private String personalHistory;

    /** 婚姻史 */
    @ApiModelProperty(value = "婚姻史")
    @Excel(name = "婚姻史")
    private String maritalHistory;

    /** 月经生育史 */
    @ApiModelProperty(value = "月经生育史")
    @Excel(name = "月经生育史")
    private String menstrualFertilityHistory;

    /** 家族史 */
    @ApiModelProperty(value = "家族史")
    @Excel(name = "家族史")
    private String familyHistory;

    /** 患方签字，图片路径或者签名名称 */
    @ApiModelProperty(value = "患方签字，图片路径或者签名名称")
    @Excel(name = "患方签字，图片路径或者签名名称")
    private String patientsSignature;

    /** 患者/家属确认签字，图片路径或者签名名称 */
    @ApiModelProperty(value = "患者/家属确认签字，图片路径或者签名名称")
    @Excel(name = "患者/家属确认签字，图片路径或者签名名称")
    private String confirmedSignature;

    /** 签名日期，格式：yyyy-MM-dd HH:mm:ss */
    @ApiModelProperty(value = "签名日期，格式：yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签名日期，格式：yyyy-MM-dd HH:mm:ss", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime signatureDate;

    /** 体格检查 */
    @ApiModelProperty(value = "体格检查")
    @Excel(name = "体格检查")
    private String physicalExamination;

    /** 专科检查 */
    @ApiModelProperty(value = "专科检查")
    @Excel(name = "专科检查")
    private String specialityExamination;

    /** 辅助检查 */
    @ApiModelProperty(value = "辅助检查")
    @Excel(name = "辅助检查")
    private String assistantExamination;

    /** 初步诊断 */
    @ApiModelProperty(value = "初步诊断")
    @Excel(name = "初步诊断")
    private String primaryDiagnosis;

    /** 医师签名，图片路径或者签名名称 */
    @ApiModelProperty(value = "医师签名，图片路径或者签名名称")
    @Excel(name = "医师签名，图片路径或者签名名称")
    private String physicianSignature;

}
