package org.diagbot.vo.domain;

import lombok.Getter;
import lombok.Setter;
import org.diagbot.vo.LisDetail;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Getter
@Setter
public class SearchData {
    protected int length = 10;
    protected int age_start = 0;
    protected int age_end = 200;
    protected int age = 0;
    protected String sex;
    // 搜索结果的贝叶斯阈值
    protected String threshold = "0";
    //特征类别
    protected String featureType;
    //诊断类别
    protected Integer disType; //0:复诊,1:急诊
    //特征类别对","进行分割后数据
    protected String[] featureTypes;
    //门诊 住院分类
    protected String resourceType;
    //外部系统编码 用于返回映射数据，如果sysCode为空或null，则返回kl_standard_info标准名称
    protected String sysCode;
    private List<LisDetail> lisArr = new ArrayList<>();
    protected String symptom = "";
    protected String vital = "";
    protected String lis = "";
    protected String pacs = "";
    protected String diag = "";
    protected String past = "";
    protected String other = "";
    //大数据推送诊断结果信息
    protected List<FeatureRate> pushDiags = new ArrayList<>();

    //量表
    protected String scaleName = "";

    //指标结果
    protected String indications="";

    //模型
    protected String algorithmClassifyValue;
    //推送条件
    private Map<String, Map<String, String>> inputs = new HashMap<>(10, 0.8f);
    //阴性 页面录入数据需要对结果过滤的集合
    private Map<String, Map<String, String>> filters = new HashMap<>(10, 0.8f);
    //知识图谱推送条件
    private Map<String, Map<String, String>> graphInputs = new HashMap<>(10, 0.8f);
}
