Project

General

Profile

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

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

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><label>Lieux de vie :</label>
15
        {% if object.addresses.all %}
16
        <ul>
17
          {% for address in object.addresses.all %}
18
          {% if address.place_of_life %}<li>{{ address.display_name }}</li>{% endif %}
19
          {% endfor %}
20
        </ul>
21
        {% else %}Aucun{% endif %}
22
    </li>
23
    <li><label>Date de contact :</label> {{ initial_state.date_selected|date:"d/m/Y" }}</li>
24
    <li><label>Date de création :</label> {{ object.created|date:"d/m/Y" }}</li>
25
    <li><label>Lieu de socialisation :</label> {{ object.school|default_if_none:"Non renseigné" }}</li>
26
    <li><label>Coordinateurs :</label>
27
        {% if object.coordinators.all %}
28
        <ul>
29
          {% for coordinator in object.coordinators.all %}
30
          <li>{{ coordinator.first_name }} <span class="lastname">{{ coordinator.last_name }}</span></li>
31
          {% endfor %}
32
        </ul>
33
        {% else %}Aucun{% endif %}
34
    </li>
35
      <li><label>Commentaire </label> <button class="save enable-on-change" id="btn-maj"></button><br/>
36
      {{ forms.general.comment }}
37
      </li>
38
    </ul>
39
  </div>
40
  <div class="right">
41
    <ul>
42
      <li><label>Dernier acte :</label>
43
      {% if last_rdv %}
44
      {% if last_rdv.is_absent %}<span style="font-weight: bold;">{% endif %}
45
        {{ last_rdv.start_datetime|date:"d/m/Y" }} -
46
        {% for participant in last_rdv.participants %}
47
        <span class="lastname">{{ participant.last_name }}</span> -
48
        {% endfor %}
49
        {{ last_rdv.act_type }}
50
        {% else %}
51
        Aucun
52
        {% endif %}
53
        {% if last_rdv.is_absent %} ({{ last_rdv.act_state }})</span>{% endif %}
54
      </li>
55
      <li><label>Prochain rendez-vous :</label>
56
      {% if next_rdv %}
57
      {% if next_rdv.is_absent %}<span style="font-weight: bold;">{% endif %}
58
        {{ next_rdv.start_datetime|date:"d/m/Y" }} -
59
        {% for participant in next_rdv.participants.all %}
60
        <span class="lastname">{{ participant.last_name }}</span> -
61
        {% endfor %}
62
        {{ next_rdv.act_type }}
63
        {% else %}
64
        Aucun
65
        {% endif %}
66
        {% if next_rdv.is_absent %} ({{ next_rdv.act.get_state }})</span>{% endif %}
67
      </li>
68
    </ul>
69
    <div class="etat">
70
      <h4>État courant du dossier :  {{ current_state.status.name.lower }}</h4>
71
      <p>depuis le : {{ current_state.date_selected|date:"d/m/Y" }}</p>
72
      {% if current_state.comment %}<p><label>Commentaire :</label> {{ current_state.comment }}</p>{% endif %}
73
      {% for state in status %}
74
      <button type="button" id="{{ state.0 }}">{{ state.1 }}</button>
75
      {% endfor %}
76
      <button type="button" id="patientrecord-history">Historique</button><br/>
77
      <hr/>
78
      <p id="confidential-msg" style="display: none; font-size: 10px;">Confidentialité mise à jour</p>
79
      {{ forms.general.confidential.label_tag }} : {{ forms.general.confidential }}
80
      <p id="pause-msg" style="display: none; font-size: 10px;">Pause facturation mise à jour</p>
81
      {{ forms.general.pause.label_tag }} : {{ forms.general.pause }}
82

    
83
    </div>
84
  </form>
85

    
86
    {% if object.service.name == "CMPP" %}
87
    <div class="notifs">
88
    <h4>Information sur la prise en charge</h4>
89
    <ul>
90
    <li><span{% if hc_status.1 %} id="highlight"{% endif %}>{{ hc_status.0 }}</span></li>
91
    {% if object.pause %}<li><span id="highlight">Le dossier est en pause facturation.</span></li>{% endif %}
92
    {% if missing_policy %}<li><span id="highlight">Informations d'assuré sociale manquantes.</span></li>{% endif %}
93
    </div>
94
    {% endif %}
95

    
96

    
97
    <form method="post" id="create-directory-form" action="create-directory">{% csrf_token %}
98
      <button>Créer répertoire patient</button>
99
    </form>
100
</div>
101
<br style="clear:both"/>
(14-14/20)