{% extends "base.html" %} {% load static %} {% block title %}Patient Profiles{% endblock %} {% block content %}
| 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 %}
|