{{ data.patient.name }}Sair
{% with msgs=get_flashed_messages(with_categories=true) %}{% for cat,msg in msgs %}
{{ msg }}
{% endfor %}{% endwith %}
Minha área

Olá, {{ data.patient.name.split(' ')[0] }}

Aqui aparecem somente informações vinculadas ao seu cadastro.

{% if portal.allow_appointments %}{% endif %}
event
Consultas marcadas
{{ data.appointment_counts.Agendado }}
event_available
Confirmadas
{{ data.appointment_counts.Confirmado }}
event_busy
Canceladas
{{ data.appointment_counts.Cancelado }}
account_balance_wallet
Pendência
R$ {{ '%.2f'|format(data.financial_pending) }}
{% if data.notifications %}

Avisos da clínica

Confirmações, cancelamentos, lembretes e avisos financeiros.

{% if data.unread_notifications %}{{ data.unread_notifications }} novo(s){% endif %}
{% for n in data.notifications[:8] %}
{{ 'event' if 'appointment' in n.event else 'payments' if 'payment' in n.event else 'notifications' }}
{{ n.title }}

{{ n.body }}

{{ n.created_at }}
{% if not n.read %}
{% endif %}
{% endfor %}
{% endif %} {% if portal.allow_appointments %}

Meus agendamentos

{% for a in data.appointments %}{% else %}{% endfor %}
DataHorárioProfissionalStatusAção
{{ a.date }}{{ a.time or '—' }}{{ a.professional_name or 'A definir' }}{{ a.status }}{% if a.status in ['Solicitado','Agendado'] %}
{% elif a.status=='Confirmado' %}
{% else %}—{% endif %}
Nenhum agendamento.
{% endif %} {% if data.records %}

Informações liberadas pela clínica

{% for r in data.records %}
{{ r.date }} · {{ r.title or 'Registro' }}{% if r.score %}Score {{ r.score }}{% endif %}

{{ r.text }}

{% endfor %}
{% endif %} {% if portal.allow_documents %}

Documentos liberados

Somente documentos que a clínica marcou como visíveis para você.

{{ data.documents|length }}
{% for d in data.documents %}
{{ d.title or d.name or 'Documento' }}{{ d.date or d.created_at or '' }}
{% if d.description %}

{{ d.description }}

{% endif %}{% if d.url %}Abrir documento{% endif %}
{% else %}
Nenhum documento liberado.
{% endfor %}
{% endif %} {% if portal.allow_finance %}

Meu financeiro

Cobranças, valores já pagos e saldo restante.

{% for x in data.charges %}{% else %}{% endfor %}
DataServiçoTotalPagoSaldoStatus
{{ x.date }}{{ x.service_name or 'Atendimento' }}R$ {{ x.total_amount }}R$ {{ x.paid_amount }}R$ {{ x.balance_amount }}{{ x.status }}
Nenhuma cobrança disponível.
{% endif %}
{% if portal.allow_appointments %}

Solicitar agendamento

A solicitação ficará como Solicitado até a clínica confirmar.
{% endif %}