{% extends "base.html" %} {% load static %} {% block title %}Emergency Contact Details - Patients{% endblock %} {% block content %}
| Full Name: | {{ object.name }} |
| Relationship: | {{ object.get_relationship_display }} |
| Priority: | {% if object.is_primary %} Primary Contact {% else %} Secondary Contact {% endif %} |
| Phone Number: | {% if object.phone_number %} {{ object.phone_number }} {% else %} Not provided {% endif %} |
| Email: | {% if object.email %} {{ object.email }} {% else %} Not provided {% endif %} |
| Address: | {% if object.address %} {{ object.address|linebreaks }} {% else %} Not provided {% endif %} |
| Patient: | {{ object.patient.get_full_name }} |
| Patient ID: | {{ object.patient.patient_id }} |
| Can Make Decisions: | {% if object.can_make_medical_decisions %} Yes {% else %} No {% endif %} |
| Emergency Only: | {% if object.emergency_only %} Emergency Only {% else %} General Contact {% endif %} |
| Created: | {{ object.created_at|date:"M d, Y H:i" }} |
| Last Updated: | {{ object.updated_at|date:"M d, Y H:i" }} |
Emergency contact was added to patient record
{{ object.created_at|date:"M d, Y H:i" }}Contact information was modified
{{ object.updated_at|date:"M d, Y H:i" }}| DOB: | {{ object.patient.date_of_birth|date:"M d, Y" }} |
| Age: | {{ object.patient.age }} years |
| Gender: | {{ object.patient.get_gender_display }} |
| Phone: | {% if object.patient.phone_number %} {{ object.patient.phone_number }} {% else %} Not provided {% endif %} |
No other emergency contacts
{% endfor %}