/** * Check that the diagnosis is correct //TODO: Make this general for randomly ordered diags * * @param key the key to the diagnosis * @return */ public boolean checkDiag(String key) { if (key.equals("0")) { hist.addAnswer(key, true); hist.save(); return true; } else { hist.addAnswer(key, false); return false; } }