{% 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 %}

{% if enable_ward_cases_excel_export %} {% endif %} New Case {% if is_granted('ROLE_DOC') %} Missed Schedules of Ward {% endif %}
{{ include('parts/flash.html.twig') }} {{ include('cases/_filter.html.twig') }}
{% for case in cases %} {% set canDiagnosePatient = is_granted('ROLE_DOC') %} {% set canReopenCase = canDiagnosePatient or is_granted('ROLE_RECEP') %} {% set isClosedButReopenable = case.isClosed and not case.isReopened and case.patient.isAlive %} {% else %} {% endfor %}
Sr. No. Doctor / ward & bed MRD UHID & patient City · pincode & contact Category / status Created / admission Actions
{{ loop.index }}
Dr. {{ case.doctor }}
{{ case.wardBed.ward }} ({{ case.wardBed.bed }})
{{ case.mrdId }}
{% if case.patient.photo %} {{ case.patient.name }} {% else %} {% endif %}
UHID {{ case.patient.uhId }}
{{ case.patient }}
{{ case.patient.age }} ({{ case.patient.gender }})
{% if case.patient.healthAddress %}
ABHA {{ case.patient.healthAddress }}
{% endif %}
Full address: {{ case.patient.addressDetailTooltip }}
{{ case.patient.mobile ?: '—' }}
{{ case.patientCategory }}
{{ case.wardBed.status }}
Date created {{ case.createdAt|date('d/m/Y g:i a') }}
Date of admission {{ case.wardBed.createdAt|date('d/m/Y g:i a') }}
No records found
{{ include('parts/pagination.html.twig', { lastPage: last_page }) }}
{% endblock %} {% block scripts %} {{ parent() }} {% endblock %}