package com.openhis.web.doctorstation.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

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

/**
 * 保存诊断 子参数类
 *
 * @author system
 * @date 2025-02-20
 */
@Data
@Accessors(chain = true)
public class SaveDiagnosisChildParam {

    /**
     * 诊断ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long conditionId;

    /**
     * 就诊诊断ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long encounterDiagnosisId;

    /**
     * 诊断定义id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long definitionId;

    /**
     * 医保编码
     */
    private String ybNo;

    /**
     * 验证状态
     */
    private Integer verificationStatusEnum;

    /**
     * 主诊断标记 (1:是,0:否)
     */
    private Integer maindiseFlag;

    /** 诊断排序（医保文档要求数值型字符长度为2） */
    private Integer diagSrtNo;

    /** 医疗类型 */
    private String medTypeCode;

    /**
     * 中医证候组号
     */
    private String syndromeGroupNo;

    /**
     * 诊断描述
     */
    private String diagnosisDesc;

    /** 患者疾病诊断类型代码 */
    private Integer iptDiseTypeCode;

}
