{% for patient in patients %} {% empty %} {% endfor %}
Patient Demographics Contact Insurance Status Last Visit Actions
{% if patient.photo %} {{ patient.get_display_name }} {% else %}
{{ patient.first_name|first|upper }}{{ patient.last_name|first|upper }}
{% endif %}
{{ patient.get_display_name }}
MRN: {{ patient.mrn }} {% if patient.is_vip %}
VIP {% endif %} {% if patient.confidential_patient %} Confidential {% endif %}
{{ patient.age }} years old
{{ patient.get_gender_display }}
DOB: {{ patient.date_of_birth|date:"M d, Y" }}
{% if patient.race %} {{ patient.get_race_display }} {% endif %}
{% if patient.email %}
{{ patient.email }}
{% endif %} {% if patient.phone_number %}
{{ patient.phone_number }}
{% endif %} {% if patient.full_address %}
{{ patient.city }}, {{ patient.state }}
{% endif %}
{% with patient.insurance_info.first as primary_insurance %} {% if primary_insurance %}
{{ primary_insurance.insurance_company }}
{{ primary_insurance.plan_name }} {% if primary_insurance.is_verified %}
Verified {% else %}
Unverified {% endif %} {% else %} No insurance {% endif %} {% endwith %}
{% if patient.is_deceased %} Deceased {% elif patient.is_active %} Active {% else %} Inactive {% endif %}
{% if patient.allergies %}
Allergies
{% endif %} {% if patient.medical_alerts %}
Alerts
{% endif %}
{% if patient.last_visit_date %} {{ patient.last_visit_date|timesince }} ago {% else %} No visits {% endif %}

No patients found.