package com.openhis.yb.dto;

import javax.validation.constraints.NotBlank;

import org.hibernate.validator.constraints.Length;

import com.alibaba.fastjson2.annotation.JSONField;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 【4101A】住院诊断信息（节点标识：diseinfo）
 *
 * @author Thanking
 */
@Data
@Accessors(chain = true)
public class Yb4101AInputDiseinfo {

    /**
     * 诊断类别
     */
    @NotBlank
    @Length(max = 3)
    @JSONField(name = "diag_type")
    private String diagType;

    /**
     * 诊断代码
     */
    @NotBlank
    @Length(max = 20)
    @JSONField(name = "diag_code")
    private String diagCode;

    /**
     * 诊断名称
     */
    @NotBlank
    @Length(max = 100)
    @JSONField(name = "diag_name")
    private String diagName;

    /**
     * 入院病情类型
     */
    @NotBlank
    @Length(max = 3)
    @JSONField(name = "adm_cond_type")
    private String admCondType;

    /**
     * 主诊断标志
     */
    @NotBlank
    @Length(max = 3)
    @JSONField(name = "maindiag_flag")
    private String maindiagFlag;

}
