Project

General

Profile

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

calebasse / calebasse / dossiers / templates / dossiers / patientrecord_tab1.html @ a9215ad7

1

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

    
92
    </div>
93
  </form>
94

    
95
    {% if object.service.name == "CMPP" %}
96
    <div class="notifs">
97
    <h4>Information sur la prise en charge</h4>
98
    <ul>
99
    <li><span{% if hc_status.1 %} id="highlight"{% endif %}>{{ hc_status.0 }}</span></li>
100
    {% if object.pause %}<li><span id="highlight">Le dossier est en pause facturation.</span></li>{% endif %}
101
    {% if missing_policy %}<li><span id="highlight">Informations d'assuré social manquantes.</span></li>{% endif %}
102
    {% if missing_birthdate %}<li><span id="highlight">Date de naissance manquante.</span></li>{% endif %}
103
    {% if object.policyholder.ame %}<li><span id="highlight">Le contact assuré est AME.</span></li>{% endif %}
104
    </div>
105
    {% endif %}
106

    
107

    
108
    <form method="post" id="create-directory-form" action="create-directory">{% csrf_token %}
109
      <button>Créer répertoire patient</button>
110
    </form>
111
</div>
112
<br style="clear:both"/>
(14-14/23)