{% extends "base.html" %} {% load static %} {% block title %}{{ object.consent_form.title }} - Patient Consent{% endblock %} {% block content %}
| Name: | {{ object.patient.get_full_name }} |
| Patient ID: | {{ object.patient.patient_id }} |
| Date of Birth: | {{ object.patient.date_of_birth|date:"M d, Y" }} |
| Age: | {{ object.patient.age }} years |
| Gender: | {{ object.patient.get_gender_display }} |
| Contact: |
{{ object.patient.phone_number }}
{{ object.patient.email }}
|
| Form Title: | {{ object.consent_form.title }} |
| Category: | |
| Version: | v{{ object.consent_form.version }} |
| Required: | {% if object.consent_form.is_required %} Required {% else %} Optional {% endif %} |
| Description: | {{ object.consent_form.description }} |
| Status: | {{ object.get_status_display }} {% if object.is_urgent %} Urgent {% endif %} |
| Requested: | {{ object.requested_at|date:"M d, Y H:i" }} |
| Requested By: | {{ object.requested_by.get_full_name|default:"System" }} |
| Due Date: | {% if object.due_date %} {{ object.due_date|date:"M d, Y" }} {% if object.is_overdue %} Overdue {% endif %} {% else %} No due date {% endif %} |
| Notes: | {{ object.notes|default:"No notes" }} |
| Signed: | {% if object.signed_at %} {{ object.signed_at|date:"M d, Y H:i" }} {% else %} Not signed {% endif %} |
| Signed By: |
{% if object.signed_by %}
{{ object.signed_by.get_full_name }}
{{ object.signed_by.relationship|default:"Patient" }}
{% else %}
Not signed
{% endif %}
|
| Witness: |
{% if object.witness %}
{{ object.witness.get_full_name }}
{{ object.witness.title|default:"Witness" }}
{% else %}
No witness
{% endif %}
|
| Expires: | {% if object.expires_at %} {{ object.expires_at|date:"M d, Y" }} {% if object.is_expired %} Expired {% elif object.is_expiring_soon %} Expiring Soon {% endif %} {% else %} No expiration {% endif %} |
| IP Address: | {{ object.ip_address|default:"Not recorded" }} |
Consent form "{{ object.consent_form.title }}" was requested for {{ object.patient.get_full_name }}.
Patient was notified about the consent request.
Reminder notification was sent to the patient.
Consent form was digitally signed.
Consent was revoked.
This consent is waiting for patient signature.
{% if object.due_date %}Due: {{ object.due_date|date:"M d, Y" }} {% if object.is_overdue %} (Overdue) {% endif %}
{% endif %}This consent has been digitally signed.
{% if object.expires_at %}Expires: {{ object.expires_at|date:"M d, Y" }} {% if object.is_expiring_soon %} (Expiring Soon) {% endif %}
{% endif %}This consent has expired and needs to be renewed.
This consent has been revoked.