{% if paginated is defined and paginated %}
    {% include 'admin/patients/_pagination.twig' with {
        patients: patients,
        paginationElements: paginationElements
    } %}
{% endif %}

{% include 'admin/patients/_table.twig'   with { patients: patients } %}
{% include 'admin/patients/_per_page.twig' with { perPage: perPage } %}<br/>
{% if paginated is defined and paginated %}
    {% include 'admin/patients/_pagination.twig' with {
        patients: patients,
        paginationElements: paginationElements
    } %}
{% endif %}