package com.fs.hisStore.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.List;

@Data
@ApiModel(description = "红杉-医院问诊信息")
@Accessors(chain = true)
public class MedicalRecord {

    @ApiModelProperty(value = "医院名")
    @JsonProperty("hospital_name")
    private String hospitalName;

    @ApiModelProperty(value = "科室名")
    @JsonProperty("branch_title")
    private String branchTitle;

    @ApiModelProperty(value = "院内问诊标识")
    @JsonProperty("book_no")
    private String bookNo;

    @ApiModelProperty(value = "患者姓名")
    @JsonProperty("real_name")
    private String realName;

    @ApiModelProperty(value = "患者性别 1=男 2=女 0=未知")
    @JsonProperty("sex")
    private Integer sex;

    @ApiModelProperty(value = "患者年龄")
    @JsonProperty("age")
    private Integer age;

    @ApiModelProperty(value = "年龄单位 1-岁；2-月；3-天")
    @JsonProperty("age_unit")
    private Integer ageUnit;

    @ApiModelProperty(value = "主诉")
    @JsonProperty("recount")
    private String recount;

    @ApiModelProperty(value = "肝肾健康信息")
    @JsonProperty("liver_kidney_normal")
    private String liverKidneyNormal;

    @ApiModelProperty(value = "妊娠哺乳信息")
    @JsonProperty("pregnancy")
    private String pregnancy;

    @ApiModelProperty(value = "过敏史信息")
    @JsonProperty("allergyhistory")
    private String allergyhistory;

    @ApiModelProperty(value = "家族病史信息")
    @JsonProperty("family_history")
    private String familyHistory;

    @ApiModelProperty(value = "疾病史信息")
    @JsonProperty("nowmedical")
    private String nowmedical;

    @ApiModelProperty(value = "诊断描述")
    @JsonProperty("diagnose")
    private List<String> diagnose;

    @ApiModelProperty(value = "医保诊断编码信息")
    @JsonProperty("diagnose_with_med_code")
    private List<String> diagnoseWithMedCode;

    @ApiModelProperty(value = "购药信息")
    @JsonProperty("drug")
    private List<String> drug;
}

