package cn.hnthyy.thmz.vo;

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

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 门诊药房发药
 */
@Data
public class MzSendMedicineVo implements Serializable {
    //病人ID码
    private String patientId;
    //病人名称
    private String name;
    //性别  1-男 2-女 0 未知 GenderEnum
    private Integer sex;
    //出生日期
    private Date birthDay;
    //年龄
    private Integer age;
    //处方天数
    private Integer orderDays;
    //分类 2,7是门诊发药时需要打印的注射液
    private String classCode;
    //嘱托说明
    private String instructionText;
    //药房窗口号
    private String windowsNoYf;
    //频率内容
    private String comm;
    //药品组：输液用
    private Integer groupOrder;
    //次数
    private Integer times;
    //结帐次数
    private Integer receiptNo;
    //处方号
    private Integer orderNo;
    //项目数
    private Integer itemNo;
    //药品编码
    private String chargeItemCode;
    //退药数量
    private Double decAmount;
    //单价
    private BigDecimal unitPrice;
    //药品序号
    private String serial;
    //序列号
    private Integer serialNo;
    //发药药房
    private String groupNo;
    //发药时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date chargeDate;
    //发药人
    private String confirmId;
    //标识:1确认发药 医技确认 2.打印药品清单 3.配药确认 5.
    private Integer confirmFlag;
    //流水号
    private Integer realNo;
    //货位号
    private String location;
    //品名
    private String drugname;
    //规格
    private String specification;
    //数量
    private String quantity;
    //药品单位
    private String ypUnitName;
    //药品单位编码
    private String ypUnit;
    //生产厂家
    private String abbrName;
    //一次剂量
    private Double drugQuan;
    //剂量单位
    private String drugUnitName;
    //剂量单位编码
    private String drugUnit;
    //药品最小单位编号
    private String miniUnit;
    //药品最小单位名称
    private String miniUnitName;
    //重量
    private BigDecimal weight;
    //体积
    private BigDecimal volum;
    //给药方式
    private String printName;
    //当前库存
    private Integer stockAmount;
    //申请医生编码
    private String doctorCode;
    //申请医生
    private String employeeName;
    //申请科室编码
    private String warnDept;
    //申请科室
    private String warnDeptName;
    //诊断
    private String icdText;
    //给药方式编码
    private String supplyCode;
    //频率
    private String frequency;
    //毒麻标志:1:毒;2:麻;3:精神1;4:精神2
    private String drugFlag;
    //划价时间
    private Date priceTime;
}
