{% extends "dossiers/base.html" %} {% load url from future %} {% block appbar %}

Dossiers

Retourner à l'accueil {% for name, nb in stats %} {{ name }}: {{ nb }} {% if not forloop.last %} - {% endif %} {% endfor %}

  {% endblock %} {% block content %}
{% for patient_record in patient_records %} {% endfor %}
N° dossier Nom Prénom Date de naissance État du dossier Dernier acte Prochain rendez-vous
papier inform.
{{ patient_record.object.paper_id|default_if_none:"" }} {{ patient_record.object.id }} {% if patient_record.object.confidential %}{% endif %}{{ patient_record.object.last_name }} {{ patient_record.object.first_name }} {{ patient_record.object.birthdate|date:"d/m/Y" }} {{ patient_record.state }} {% if patient_record.last_rdv %} {% if patient_record.last_rdv.is_absent %}{% endif %} {{ patient_record.last_rdv.start_datetime|date:"d/m/Y H:i" }}
{% for participant in patient_record.last_rdv.participants %} {{ participant.last_name }} - {% endfor %} {{ patient_record.last_rdv.act_type }} {% if patient_record.last_rdv.is_absent %} ({{ patient_record.last_rdv.act_state }})
{% endif %} {% endif %}
{% if patient_record.next_rdv %} {% if patient_record.next_rdv.is_absent %}{% endif %} {{ patient_record.next_rdv.start_datetime|date:"d/m/Y H:i" }}
{% for participant in patient_record.next_rdv.participants.all %} {{ participant.last_name }} - {% endfor %} {{ patient_record.next_rdv.act_type }} {% if patient_record.next_rdv.is_absent %} ({{ patient_record.next_rdv.act.get_state }})
{% endif %} {% endif %}
{% if request.GET %} {% endif %} {% if not request.GET %}
Utilisez le formulaire de recherche sur la gauche de l'écran pour afficher les dossiers correspondants.
{% elif not patient_records %}
Pas de résultat pour votre recherche
{% endif %}
{% endblock %} {% block dialogs %} {% endblock %}