{# # patient-select.html.twig # @package openemr # @link http://www.open-emr.org # @author Stephen Nielson # @copyright Copyright (c) 2021 Stephen Nielson # @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 #} {% extends "oauth2/oauth2-base.html.twig" %} {% block title %}{{ "OpenEMR Authorization"|xlt }}{% endblock %} {% block content %}

{{ "Patient Selection"|xlt }}

{% if patients|length < 1 %}
{% if errorMessage is not empty %}

{{ errorMessage|text }}

{% endif %}

{{ "No patients to select"|xlt }}

{% else %}
{% if hasMore %}

{{ "Too many search results found. Displaying a limited set of patients. Narrow your search results through the filters above."|xlt }}

{% endif %}

{% for patient in patients %} {% endfor %}
{{ "Name"|xlt }} {{ "DOB"|xlt }} {{ "Sex"|xlt }} {{ "Email"|xlt }}
{{ patient.fname|text }}{% if patient.mname %} {{ patient.mname|text }}{% endif%} {{ patient.lname|text }} {{ patient.DOB|text }} {{ patient.sex|text }} {{ patient.email|text }}

{% endif %}
{% endblock %}