<div class="row chat-header-row">
{% if oPacienteVc is defined %}
{% if oPacienteVc is not null %}
<div
class="col-lg-10 header-patient-container">
{# {% set foto = (oPacienteVc is not null) ? oPacienteVc.foto : asset('assets/img/user.png') %} #}
{% for paciente in oPacienteVc%}
{% if paciente.foto is defined %}
<div class="header-single-patient">
{% set foto = asset('assets/img/user.png') %}
{% if paciente is not null %}
{% if ('phpPerfil' in paciente.foto) or ('phppaciente' in paciente.foto) %}
{% set foto = paciente.foto %}
{% endif %}
{% endif %}
<a href="javascript:void(0);" data-toggle="modal" data-target="#view_info">
<img src="{{ foto }}" alt="avatar">
</a>
<div class="chat-about">
<h6>
{{ (oPacienteVc is not null) ? paciente.nombre~" "~paciente.apellidos : numTelefono }}
</h6>
<span class="status">
{{ aTelefonosPaciente[loop.index-1] }}
</span>
</div>
</div>
{% else %}
<div class="header-single-patient">
{% set foto = asset('assets/img/user.png') %}
<a href="javascript:void(0);" data-toggle="modal" data-target="#view_info">
<img src="{{ foto }}" alt="avatar">
</a>
<div class="chat-about">
<h6>
{{ (oPacienteVc is not null) ? paciente.numerotelefonodesconocido : '' }}
</h6>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class="col-lg-6 hidden-sm text-right">{# <a href="javascript:void(0);" class="btn btn-outline-primary"><i
class="fa fa-image"></i></a> #}
{# <a data-centroid="{{ oPacienteVc.centroId }}" data-pacienteid="{{ oPacienteVc.idVc }}" style="cursor: pointer" class="btn btn-outline-warning btnDetailPaciente">
<i class="fa fa-question"></i>
</a> #}
</div>
{% endif %}
{% endif %}
</div>