{% extends 'base.html' %} {% load static %} {% block title %}Patient Search{% endblock %} {% block content %}

Patient Search

Search and locate patient records across the system

Search Criteria

to

Search Results {% if patients %} {{ patients|length }} found {% endif %}

{% if patients %} {% endif %}
{% if patients %}
{% for patient in patients %} {% endfor %}
Patient ID Name Date of Birth Gender Phone Email Status Last Visit Actions
{{ patient.patient_id }}
{{ patient.first_name }} {{ patient.last_name }} {% if patient.middle_name %} ({{ patient.middle_name }}) {% endif %}
{% if patient.preferred_name %} Preferred: {{ patient.preferred_name }} {% endif %}
{{ patient.date_of_birth|date:"M d, Y" }}
Age: {{ patient.age }}
{{ patient.get_gender_display }} {% if patient.phone_primary %} {{ patient.phone_primary }} {% if patient.phone_secondary %}
{{ patient.phone_secondary }} {% endif %} {% else %} Not provided {% endif %}
{% if patient.email %} {{ patient.email }} {% else %} Not provided {% endif %} {{ patient.get_status_display }} {% if patient.last_visit_date %} {{ patient.last_visit_date|date:"M d, Y" }} {% else %} No visits {% endif %}
{% if is_paginated %} {% endif %} {% else %}
{% if request.GET %}
No patients found

Try adjusting your search criteria or clearing the search to see all patients.

{% else %}
Search for Patients

Use the search form above to find patients in the system.

{% endif %}
{% endif %}
{% endblock %} {% block js %} {% endblock %}