{% 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' %}
{% for case in cases %} {% else %} {% endfor %}
Sr. No. MRD ID No. UHID No. Patient ABHA Number Age M/F Address Contact Category Doctor Type/Design Status of Patient Date Of Registration Date of Admission Date of Discharge Bed No. and Ward OPD Expenditure Ward Bill Laboratory Bill Radiology Bill Blood Bank Bill OT Bill ICU Bill Ambulance Bill Pharmacy 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 %}