{% extends 'base.html.twig' %} {% block title %}Patients{% endblock %} {% block styles %} {{ parent() }} {% endblock %} {% block content %}

Patients

{% if is_granted('ROLE_HOSP_ADMIN') or is_granted('ROLE_DOC') or is_granted('ROLE_CHO') or is_granted('ROLE_DENT') or is_granted('ROLE_RECEP') %} {% endif %}
{% include 'parts/flash.html.twig' %} {% for patient in patients %} {% endfor %}
Sr. No. UH ID Full Name HealthId Number Health Address Mobile Number Gender Date of Birth Status Date Created
{{ loop.index }} {{ patient.uhId }} {{ patient.name }} {{ patient.healthIdNumber }} {{ patient.healthAddress }} {{ patient.mobile }} {{ patient.gender }} {{ patient.dob|date('d/m/Y') }} {{ patient.isActive == '1' ? 'Active' : 'Blocked' }} {{ patient.createdAt|date('d/m/Y') }}
{% endblock %} {% block scripts %} {{ parent() }} {% endblock %}