{% extends 'base.html.twig' %} {% block title %}{{ title }}{% endblock %} {% block content %}

{% if is_granted('ROLE_RECEP') %} {{ title }} for {{ 'now'|date('d/m/Y') }} {% else %} {{ title }} {% endif %}

   {#   #} New Case {% if is_granted('ROLE_DOC') or is_granted('ROLE_DENT') %} Missed Schedules of Ward {% endif %}
{% include 'parts/flash.html.twig' %} {% if app.request.attributes.get('_route') in ['case_index', 'case_summary'] %}
Reset
{% endif %}
{% for case in cases %} {% else %} {% endfor %}
Sr. No. MRD ID No. UHID No. Patient ABHA Number Age M/F Address Contact Doctor Type/Design Status of Patient Date Of Registration Date of Admission Date of Discharge Bed No. and Ward Ward Bill Payment Received Total Expenditure Balance Actions
{{ loop.index }} {% if case.isWard %} W {% endif %} {{ case.mrdId }}     {{ case.patient }} {{ case.patient.healthIdNumber ? case.patient.healthIdNumber : '—' }}   {{ case.patient.address }} {{ case.patient.mobile }} {{ case.patientCategory }} {{ case.doctor }} {% if case.isReferral %} {% if case.hasOpinion %} {% if app.user.id == case.doctor.id %} Referred Out {% else %} Referred In {% endif %} {% else %} {% if app.user.id == case.doctor.id %} Transferred Out {% else %} Transferred In {% endif %} {% endif %} {% else %} Regular {% endif %} {{ case.isClosed ? 'Closed' : 'Follow-up' }} {{ case.createdAt|date('d/m/Y g:i a') }}            
No records found
{{ include('parts/pagination.html.twig', {'lastPage': last_page}) }}
{% endblock %} {% block scripts %} {{ parent() }} {% if app.request.attributes.get('_route') in ['case_index', 'case_summary'] %} {% endif %} {% endblock %}