package cn.iocoder.yudao.module.system.api.bpm.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author: jinyd
 * @CreateTime: 2024/8/7  14:13
 * @Description:
 * @Version: 4.0
 */

@Data
public class ElderlyInfoReqVO {

    // 长者信息
    private Long id;
    private String elderImage;
    /**
     * 封面图
     */
    private String elderCover;
    private String elderName;
    private Integer elderSex;
    private Integer elderAge;
    private BigDecimal elderHeight;
    private BigDecimal elderWeight;
    private String elderBlood;
    private String region;
    private String address;
    private Long salesUserId;
    private Long channelId;
    private String userSign;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private String jgUserId;
    private String contractNumber;
    private String censusRegister;
    private String idCard;
    private String bloodType;
    private String nationId;
    private String political;
    private Date birthday;
    private String telPhone;
    private String economySource;
    private String religiousBelief;
    private String homeTel;
    private String mediaChannels;
    private String businessType;
    private String medicalInsurance;
    private Integer degreeEducation;
    private Integer maritalStatus;
    private Integer elderType;
    private Integer formSupply;
    private String retirementUnit;
    private Integer paymentMethod;
    private String refereeName;
    private Long refereeId;
    private Long refereePay;
    private String allergicDrug;
    private String elderTags;
    /**
     * 能力评估
     */
    private String ocac;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date checkInTime;
    private LocalDateTime settleDate;
    /**
     * 入住状态：0未住,1已入住,2预订，3待审核，4待缴费
     */
    private Integer inStatus = 0;
    private Long nurseLevelId;
    private String nurseLevelName;
    private Long nurseGroupId;
    private String nurseGroupName;
    private Long buildId;

    private String buildName;
    private Long floorId;

    private String floorName;
    private Long roomId;
    private String roomName;
    private Long bedId;
    private String bedName;
    /**
     * 残疾情况
     */
    private String disability;
    /**
     * 过敏药物
     */
    private String drugAllergy;
    private Long orgId;
    private BigDecimal inDeposit;
    /**
     * 可进入设备
     */
    private String machineIds;

    /**
     * 档案号
     */
    private String fileNumber;
    /**
     * 所属类型,1.机构 2.家庭 3.旅居等等
     */
    private Integer sourceType;
    /**
     * 入住类别 1.入住  2.试住 3.短住
     */
    private Integer inStatusType;

    /**
     * 身份证类型
     */
    private String papersType;

    private String papersAddress;

    private String language;

    /**
     * 社会保障卡号
     */
    private String socialSecurityCardNumber;

    /**
     * 参保地
     */
    private String insuredPlace;

    /**
     * 是否残疾
     */
    private Integer whetherDisabled;

    /**
     * 退休金
     */
    private BigDecimal pension;

    /**
     * 退休时间
     */
    private Date retirementTime;

    /**
     * 长者文件
     */
    private String elderFiles;

    /**
     * 托养人文件
     */
    private String custodianFiles;

    /**
     * 其他文件
     */
    private String otherFiles;


    private String registeredResidenceAddress;



    private int isOpen;

    private String qrCodeData;

    private Long doctorId;

    private String doctorName;
    /**
     * 老人码（临时字段）
     */

    private String patientCode;
    /**
     * 老人生日（临时字段）
     */

    private String birthdayStr;


    private List<RelativesDO> relativesList;

    /**
     * 信息完整度百分比
     */

    private Integer infoPercentage;


    private Integer infoFieldCount;


    private Integer totalInfoFieldCount;

    /**
     * 高压mmHg
     */

    private Integer mmHg1 = 0;
    /**
     * 低压mmHg
     */

    private Integer mmHg2 = 0;

    /**
     * 血糖
     */

    private Double bloodGlucose = 0d;

    /**
     * 心率
     */

    private Integer heartRate = 0;

    /**
     * 步数
     */

    private Integer realityStep = 0;

    /**
     * 是否在家，0：离家，1:：在家
     */

    private Integer residentialStatus = 1;

    /**
     * 报警开关，0：未设置，1:：已设置
     */

    private Integer alarmSwitch = 1;


    private String familiarIllness;

    private String nnd;


    private Integer saleStatus;

    private String deviceMac;

    private Long tenantId;

    private Integer orgType;

}
