package org.diagbot.graph.Diagnose;

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

/**
 * 处理诊断的入口类
 */
public class DiagnoseMain {
    public static void main(String[] args) throws Exception {
        List<String> quezhenDiagno = new ArrayList<>();
//        Map<String, String> diagnose = new DiagnoseProcess().getDiagnose(
//                "咽痛","鼻塞","乏力","淋巴结肿大","扁桃体肿大","上腹痛","墨菲斯征阳性","白细胞增多","不洁饮食","胆囊内有强回声团","近端指间关节炎","足关节炎","对称性关节肿胀",
//                "晨僵≥30分钟","类风湿因子阳性","抗CCP抗体阳性","胸腔积液","呼吸音减弱","发热","胸痛","呼吸困难","咳嗽","听力下降","传导性耳聋","白细胞计数(WBC)升高","鼓膜穿孔",
//                "耳鸣","视力下降","EB病毒早期抗原(EA-IgA)升高","咽部充血");
//        Map<String, String> diagnose = new DiagnoseProcess().getDiagnose(
//                  "耳鸣","视力下降","EB病毒早期抗原(EA-IgA)升高","咽部充血","暴饮暴食","右上腹痛","胸痛", "放射", "左肩", "胸闷", "第二心音","逆分裂","高血压");
        Map<String, String> diagnose = new DiagnoseProcess().getDiagnose(
                "恶心","二便正常","右上腹","放射","背部","畏寒","呕吐","腹痛","绞痛","Murphy征阳性","阵发性","发热","肌紧张","上腹痛","暴饮暴食"
        ,"反跳痛","右上腹压痛 ","突发");
        for (Map.Entry<String,String> disease:diagnose.entrySet()) {
            System.out.println(disease.getKey()+"\t"+disease.getValue());
        }
    }
}
