Project

General

Profile

Download (3.42 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / dossiers / templates / dossiers / patientrecord_tab1.html @ 9c070aa1

1
<div class="left">
2
  <ul>
3
    <li>
4
    <label>N° dossier papier :</label> {{ object.paper_id|default_if_none:"Non renseigné" }}
5
    <button id="update-paper-id-btn" class="icon-edit" title="Modifier"></button>
6
    </li>
7
    <li><label>N° dossier informatique :</label> {{ object.id }}</li>
8
    <li><label>Nom :</label> <span class="lastname">{{ object.last_name }}</span></li>
9
    <li><label>Prénom :</label> {{ object.first_name }}</li>
10
    <li><label>Genre :</label> {{ object.get_gender_display|default_if_none:"Non renseigné" }}</li>
11
    <li><label>Date de naissance :</label> {% if object.birthdate %}{{ object.birthdate|date:"d/m/Y" }}{% else %}Non renseignée{% endif %}</li>
12
    <li><label>Lieux de vie :</label>
13
        {% if object.addresses.all %}
14
        <ul>
15
          {% for address in object.addresses.all %}
16
          {% if address.place_of_life %}<li>{{ address.display_name }}</li>{% endif %}
17
          {% endfor %}
18
        </ul>
19
        {% else %}Aucun{% endif %}
20
    </li>
21
    <li><label>Date de contact :</label> {{ initial_state.date_selected|date:"d/m/Y" }}</li>
22
    <li><label>Date de création :</label> {{ object.created|date:"d/m/Y" }}</li>
23
    <li><label>Lieu de socialisation :</label> {{ object.school|default_if_none:"Non renseigné" }}</li>
24
    <li><label>Coordinateurs :</label>
25
        {% if object.coordinators.all %}
26
        <ul>
27
          {% for coordinator in object.coordinators.all %}
28
          <li>{{ coordinator.first_name }} <span class="lastname">{{ coordinator.last_name }}</span></li>
29
          {% endfor %}
30
        </ul>
31
        {% else %}Aucun{% endif %}
32
    </li>
33
    <form method="post" id="general-form" class="patientrecordform">{% csrf_token %}
34
      <li><label>Commentaire :</label><br/>
35
      {{ forms.general.comment }}
36
      <button id="btn-maj">Mettre à jour</button></li>
37
    </ul>
38
  </div>
39
  <div class="right">
40
    <ul>
41
      <li><label>Dernier acte :</label>
42
      {% if last_rdv %}
43
      {{ last_rdv.start_datetime|date:"d/m/Y" }} -
44
      {% for participant in last_rdv.participants %}
45
      <span class="lastname">{{ participant.last_name }}</span> -
46
      {% endfor %}
47
      {{ last_rdv.act_type }}
48
      {% else %}
49
      Aucun
50
      {% endif %}
51
      </li>
52
      <li><label>Prochain rendez-vous :</label>
53
      {% if next_rdv %}
54
      {{ next_rdv.start_datetime|date:"d/m/Y" }} -
55
      {% for participant in next_rdv.participants %}
56
      <span class="lastname">{{ participant.last_name }}</span> -
57
      {% endfor %}
58
      {{ next_rdv.act_type }}
59
      {% else %}
60
      Aucun
61
      {% endif %}
62
      </li>
63
    </ul>
64
    <div class="etat">
65
      <h4>État courant du dossier :  {{ current_state.status.name.lower }}</h4>
66
      <p>depuis le : {{ current_state.date_selected|date:"d/m/Y" }}</p>
67
      {% if current_state.comment %}<p><label>Commentaire :</label> {{ current_state.comment }}</p>{% endif %}
68
      {% for state in status %}
69
      <button type="button" id="{{ state.0 }}">{{ state.1 }}</button>
70
      {% endfor %}
71
      <button type="button" id="patientrecord-history">Historique</button><br/>
72
      <hr/>
73
      <p id="pause-msg" style="display: none; font-size: 10px;">Pause facturation mise à jour</p>
74
      {{ forms.general.pause.label_tag }} : {{ forms.general.pause }}
75
      <!-- 3/6 diagnostics -->
76
    </div>
77
  </form>
78

    
79
  <!-- <div class="notifs">
80
    <h4>Notifications</h4>
81
    <ul>
82
      <li>Dossier en pause facturation <button>Sortir</button></li>
83
    </ul>
84
  </div> -->
85

    
86
</div>
87
<br style="clear:both"/>
(12-12/17)