{% extends "layouts/base.html" %} {% load i18n %} {% load static %} {% block title %}{% trans "Review Imported Patients" %} - PX360{% endblock %} {% block content %}

{% trans "Review Imported Patients" %}

{{ hospital.name }} | {% trans "Total Records:" %} {{ total_count }}

{% if errors %}

{% trans "Import Errors" %} ({{ errors|length }})

{% for error in errors %}

{{ error }}

{% endfor %}
{% endif %}
{% csrf_token %}

{% trans "Patient Records" %}

{% for patient in patients %} {% empty %} {% endfor %}
{% trans "File Number" %} {% trans "Patient Name" %} {% trans "Mobile" %} {% trans "Visit Type" %} {% trans "Admit Date" %} {% trans "Discharge Date" %} {% trans "Status" %}
{{ patient.file_number }}
{{ patient.patient_name }}
{{ patient.gender|default:"-" }} {{ patient.nationality|default:"-" }}
{{ patient.mobile_no|default:"-" }} {% if patient.visit_type == 'EMERGENCY' %} {{ patient.visit_type|default:"-" }} {% elif patient.visit_type == 'INPATIENT' %} {{ patient.visit_type|default:"-" }} {% elif patient.visit_type %} {{ patient.visit_type }} {% else %} - {% endif %} {{ patient.admit_date|default:"-" }} {{ patient.discharge_date|default:"-" }} {% if patient.exists %} {% trans "Exists" %} {% else %} {% trans "New" %} {% endif %}

{% trans "No patients found in import data." %}

0 {% trans "patients selected" %}

{% endblock %}