{# GENERATED by FlaskForge Core 0.36.0 from DERIVED page pg_drv_patient_detail — do not edit. Injection point: custom/patient_detail_extra.html. #} {% extends "base.html" %} {% block title %}{{ obj.display }}{% endblock %} {% block content %}

{{ obj.display }}

Edit
First Name
{{ obj.first_name or "" }}
Last Name
{{ obj.last_name or "" }}
Date of Birth
{{ obj.date_of_birth or "" }}
Phone
{{ obj.phone or "" }}
Active
{{ "Yes" if obj.active else "No" }}
Created
{{ obj.created_at.strftime("%Y-%m-%d") if obj.created_at else "" }}
Clinician
{% if obj.clinician %}{{ obj.clinician }}{% else %}—{% endif %}
Episodes
{% for r in obj.episodes %}{{ r }}{{ ", " if not loop.last }}{% else %}—{% endfor %}
CareTeam
{% for r in obj.care_team %}{{ r }}{{ ", " if not loop.last }}{% else %}—{% endfor %}
{% include "custom/patient_detail_extra.html" ignore missing %} {% endblock %}