# Diseases: {{ query }}

{% if count == 0 -%}
No diseases found matching '{{ query }}'.

Try a broader search or check spelling.
{% if discover_hint %}

{{ discover_hint }}
{% endif %}
{% elif fallback_used -%}
No direct MONDO/DOID matches. Resolved via discover + crosswalk:

| ID | Name | Resolved via | Source ID |
|---|---|---|---|
{% for d in results -%}
| {{ d.id }} | {{ d.name }} | {{ d.resolved_via or "-" }} | {{ d.source_id or "-" }} |
{% endfor %}

Use `get disease <id_or_name>` for details.
Filters: -q <query>, --source <mondo|doid|mesh>
{% if pagination_footer %}

{{ pagination_footer }}
{% endif %}
{% else -%}
Found {{ count }} disease{% if count != 1 %}s{% endif %}

| ID | Name | Synonyms |
|---|---|---|
{% for d in results -%}
| {{ d.id }} | {{ d.name }} | {{ d.synonyms_preview or "-" }} |
{% endfor %}

Use `get disease <id_or_name>` for details.
Filters: -q <query>, --source <mondo|doid|mesh>
{% if pagination_footer %}

{{ pagination_footer }}
{% endif %}
{% endif %}
