package thyyxxk.webserver.entity.mzmedical;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
/**
 * (MzMedicalMain)表实体类
 *
 * @author lihong
 * @since 2025-04-14 10:19:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MzMedicalMain  {

    private String hospitalName;
    //统一社会信用代码
    private String socialCreditCode;
    private String patientId;
    private Integer times;
    private String name;
    //性别  1 男 2女
    private Integer sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date birthDay;
       //婚姻状态
    private String marryCode;
    //国籍
    private String country;
    //民族
    private String nation;
    //证件类型
    private String certificateType;
    //证件号
    private String socialNo;
    //现住址
    private String adress;
     //电话
    private String phoneNo;
    //过敏史 1 无 2有
    private String gms;
     //过敏药物
    private String allergenName;
     //其他过敏  1 无 2有
    private String qtgms;
    //其他过敏药物
    private String qtgmy;
    //挂号日期     yyyy-MM-dd HH:mm
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date ghDate;
    //报到日期 yyyy-MM-dd HH:mm
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date bdDate;
     //就诊日期    yyyy-MM-dd HH:mm
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
     @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date visitDate;
     //就诊科室
    private String deptCode;
    //接诊医师
    private String doctorName;
    //接诊医师职称
    private String doctorZc;
    //就诊类型
    /**1	急诊
     2	普通门诊
     3	特需门诊
     4	互联网诊疗
     5	MDT门诊
     9	其他*/
    private String visitType;
    //是否复诊 1 是 2 否
    private String firstOrNot;
    //是否 输液
    private String syOrNot;
    //是否为门诊慢特病患者
    private String mzMtb;
    //急诊患者分级 Ⅰ级	急危患者，需要立即得到救治
    //Ⅱ级	急重患者，需要评估与救治同时进行
    //Ⅲ级	急症患者，需要在短时间内得到救治
    //Ⅳ级	亚急症或非急症患者
    private String mzHzFj;
    //急诊患者去向 1	医嘱离院
    //2	医嘱转院
    //3	医嘱转社区卫生服务机构/乡镇卫生院
    //4	非医嘱离院
    //5	死亡
    //6	急诊留观
    //7	急诊转入院
    //9	其他
    private String jzHzQx;
     // 住院证开具时间
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
     @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date zyzDate;
    //患者主诉
    private String emrChiefComplaint;
    //诊断名称
    private String icdName;
     //诊断编码
    private String icdCode;
          
    private String icdName1;
          
    private String icdCode1;
          
    private String icdName2;
          
    private String icdCode2;
          
    private String icdName3;
          
    private String icdCode3;
          
    private String icdName4;
          
    private String icdCode4;
          
    private String icdName5;
          
    private String icdCode5;
          
    private String icdName6;
          
    private String icdCode6;
          
    private String icdName7;
          
    private String icdCode7;
          
    private String icdName8;
          
    private String icdCode8;
          
    private String icdName9;
          
    private String icdCode9;
          
    private String icdName10;
          
    private String icdCode10;
    //手术操作日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date oprDate1;
    //手术操作名称
    private String oprName1;
    //手术操作编码
    private String oprCode1;
    //手术操作医生
    private String oprDoctor1;
     //麻醉方式
    private String mzfs1;
    //麻醉医生
    private String mzDoctor1;
     //手术级别 1	一级手术:指风险较低、过程简单、技术难度低的普通手术
     //2	二级手术:指有一定风险、过程复杂程度一般、有一定技术难度的手术
     //3	三级手术:指风险较高、过程较复杂、难度较大的手术
     //4	四级手术:指风险高、过程复杂、难度大的重大手术
    private String oprScale1;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date oprDate2;
          
    private String oprName2;
          
    private String oprCode2;
          
    private String oprDoctor2;
          
    private String mzfs2;
          
    private String mzDoctor2;
          
    private Integer oprScale2;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date oprDate3;
          
    private String oprName3;
          
    private String oprCode3;
          
    private String oprDoctor3;
          
    private String mzfs3;
          
    private String mzDoctor3;
          
    private Integer oprScale3;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date oprDate4;
          
    private String oprName4;
          
    private String oprCode4;
          
    private String oprDoctor4;
          
    private String mzfs4;
          
    private String mzDoctor4;
          
    private Integer oprScale4;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date oprDate5;
          
    private String oprName5;
          
    private String oprCode5;
          
    private String oprDoctor5;
          
    private String mzfs5;
          
    private String mzDoctor5;
          
    private Integer oprScale5;
          
    private BigDecimal totalFee;
          
    private BigDecimal zfFee;
          
    private BigDecimal fee1;
          
    private BigDecimal fee2;
          
    private BigDecimal fee3;
          
    private BigDecimal fee4;
          
    private BigDecimal fee5;
          
    private BigDecimal fee6;
          
    private BigDecimal fee7;
          
    private BigDecimal fee8;
          
    private BigDecimal fee901;
          
    private BigDecimal fee902;
          
    private BigDecimal fee1001;
          
    private BigDecimal fee1002;
          
    private BigDecimal fee1003;
          
    private BigDecimal fee11;
          
    private BigDecimal fee12;
          
    private BigDecimal fee13;
          
    private BigDecimal fee14;
          
    private BigDecimal fee15;
          
    private BigDecimal fee16;
          
    private BigDecimal fee17;
          
    private BigDecimal fee18;
          
    private BigDecimal fee19;
          
    private BigDecimal fee20;
          
    private BigDecimal fee21;
          
    private BigDecimal fee22;
          
    private BigDecimal fee23;
          
    private BigDecimal fee24;
          
    private BigDecimal fee25;
    private Integer delFlag;
    //诊断
    private String icdCodeNew;
    private String icdTextNew;

    }

