{# GENERATED by FlaskForge Core 0.36.0 from resolved page pg_02bb8e2f — do not edit. Each .row below corresponds 1:1 to a layout row in the resolved IR. Injection point: custom/patient_form_extra.html (before buttons). #} {% extends "base.html" %} {% block title %}{{ "Edit Patient" if obj else "New Patient" }}{% endblock %} {% block content %}

{{ "Edit Patient" if obj else "New Patient" }}

{{ form.hidden_tag() }} {% for e in form.form_errors %}
{{ e }}
{% endfor %}
{{ form.first_name(class="form-control" + (" is-invalid" if form.first_name.errors else "")) }} {% for e in form.first_name.errors %}
{{ e }}
{% endfor %}
{{ form.last_name(class="form-control" + (" is-invalid" if form.last_name.errors else "")) }} {% for e in form.last_name.errors %}
{{ e }}
{% endfor %}
{{ form.date_of_birth(class="form-control" + (" is-invalid" if form.date_of_birth.errors else "")) }} {% for e in form.date_of_birth.errors %}
{{ e }}
{% endfor %}
{{ form.phone(class="form-control" + (" is-invalid" if form.phone.errors else "")) }} {% for e in form.phone.errors %}
{{ e }}
{% endfor %}
{{ form.active(class="form-check-input") }}
{{ form.clinician_id(class="form-select ff-rel-select") }}
Primary clinician responsible for this patient.
{{ form.care_team(class="form-select ff-rel-select") }}
{% include "custom/patient_form_extra.html" ignore missing %}
Cancel
{% endblock %}