{% extends "base.html" %} {% load static %} {% block title %}Patient Profiles{% endblock %} {% block content %}

Patient Profiles

{{ total_patients|default:0 }}
Total Patients
{{ active_patients|default:0 }}
Active Patients
{{ new_today|default:0 }}
Registered Today
{{ incomplete_profiles|default:0 }}
Incomplete Profiles

Patient Profiles {% if object_list %} {{ object_list|length }} {% endif %}

{% if object_list %}
{% for patient in object_list %} {% endfor %}
Patient MRN Age/Gender Contact Primary Care Registration Status Actions
{% if patient.date_of_birth %}
DOB: {{ patient.date_of_birth|date:"M d, Y" }}
{% endif %}
{{ patient.medical_record_number }} {% if patient.ssn %}
SSN: ***-**-{{ patient.ssn|slice:"-4:" }}
{% endif %}
{{ patient.age }} years
{{ patient.get_gender_display }}
{% if patient.phone_number %}
{{ patient.phone_number }}
{% endif %} {% if patient.email %}
{{ patient.email|truncatechars:25 }}
{% endif %} {% if not patient.phone_number and not patient.email %} No contact info {% endif %}
{% if patient.primary_care_physician %}
{{ patient.primary_care_physician.get_full_name }}
{{ patient.primary_care_physician.department|default:"General" }}
{% else %} Not assigned {% endif %}
{{ patient.created_at|date:"M d, Y" }}
{{ patient.created_at|date:"g:i A" }}
{% if patient.is_active %}Active{% else %}Inactive{% endif %} {% if patient.blood_type %}
{{ patient.blood_type }}
{% endif %}
{% if is_paginated %} {% endif %} {% else %}
No Patients Found

No patients match your current filters.

Register First Patient
{% endif %}
{% endblock %}