{% extends "base.html" %} {% load static %} {% block title %} {% if object %}Edit Emergency Contact{% else %}Add Emergency Contact{% endif %} - {{ patient.get_full_name }} - {{ block.super }} {% endblock %} {% block content %}

{% if object %}Edit Emergency Contact{% else %}Add Emergency Contact{% endif %}

Patient Information
{% if patient.photo %} Patient Photo {% else %}
{% endif %}
{{ patient.get_full_name }}
MRN: {{ patient.mrn }} | DOB: {{ patient.date_of_birth|date:"M d, Y" }}
Contact Information
{% csrf_token %}
{{ form.first_name }} {% if form.first_name.errors %}
{{ form.first_name.errors.0 }}
{% endif %}
{{ form.last_name }} {% if form.last_name.errors %}
{{ form.last_name.errors.0 }}
{% endif %}
{{ form.relationship }} {% if form.relationship.errors %}
{{ form.relationship.errors.0 }}
{% endif %}
{{ form.priority }} {% if form.priority.errors %}
{{ form.priority.errors.0 }}
{% endif %}
1 = Highest priority, 2 = Second priority, etc.
Contact Details
{{ form.phone_number }} {% if form.phone_number.errors %}
{{ form.phone_number.errors.0 }}
{% endif %}
{{ form.mobile_number }} {% if form.mobile_number.errors %}
{{ form.mobile_number.errors.0 }}
{% endif %}
{{ form.email }} {% if form.email.errors %}
{{ form.email.errors.0 }}
{% endif %}
Address Information
{{ form.address_line_1 }} {% if form.address_line_1.errors %}
{{ form.address_line_1.errors.0 }}
{% endif %}
{{ form.address_line_2 }} {% if form.address_line_2.errors %}
{{ form.address_line_2.errors.0 }}
{% endif %}
{{ form.city }} {% if form.city.errors %}
{{ form.city.errors.0 }}
{% endif %}
{{ form.state }} {% if form.state.errors %}
{{ form.state.errors.0 }}
{% endif %}
{{ form.zip_code }} {% if form.zip_code.errors %}
{{ form.zip_code.errors.0 }}
{% endif %}
Authorization Settings
{{ form.is_authorized_for_medical_decisions }}
{{ form.is_authorized_for_financial_decisions }}
{{ form.is_authorized_for_information }}
{{ form.notes }} {% if form.notes.errors %}
{{ form.notes.errors.0 }}
{% endif %}
Any additional information about this emergency contact
{{ form.is_active }}

{% endblock %}