Terminal diagnosis