1 |
54318d2c
|
Serghei MIHAI
|
{% extends 'dossiers/patientrecord_tab.html' %}
|
2 |
|
|
{% block content %}
|
3 |
aa31cdc8
|
Jérôme Schneider
|
<div id="tabs-4">
|
4 |
|
|
{% if object.service.slug == "cmpp" %}
|
5 |
|
|
<div class="notifs">
|
6 |
|
|
<h4>Information sur la prise en charge</h4>
|
7 |
|
|
<ul>
|
8 |
636dcdba
|
Jérôme Schneider
|
<li><span{% if hc_status.1 %} class="highlight"{% endif %}>{{ hc_status.0 }}</span></li>
|
9 |
|
|
{% if object.pause %}<li><span class="highlight">Le dossier est en pause facturation.</span></li>{% endif %}
|
10 |
|
|
{% if missing_policy %}<li><span class="highlight">Informations d'assuré sociale manquantes.</span></li>{% endif %}
|
11 |
|
|
{% if missing_birthdate %}<li><span class="highlight">Date de naissance manquante.</span></li>{% endif %}
|
12 |
|
|
{% if object.policyholder.ame %}<li><span class="highlight">Le contact assuré est AME.</span></li>{% endif %}
|
13 |
88d84c73
|
Jérôme Schneider
|
</div>
|
14 |
aa31cdc8
|
Jérôme Schneider
|
<p>
|
15 |
|
|
<button id="new-hcdiag-btn">Nouvelle PC diagnostic</button>
|
16 |
|
|
<button id="new-hctrait-btn">Nouvelle PC traitement</button>
|
17 |
|
|
</p>
|
18 |
|
|
{% if acts_losts %}
|
19 |
|
|
<p><strong>{{ acts_losts|length }}</strong> actes facturables qui ne peuvent pas être facturés :
|
20 |
|
|
<table class="basic">
|
21 |
|
|
<thead>
|
22 |
|
|
<tr> <th>Date</th> <th>Heure</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th> <th>Refacturation</th></tr>
|
23 |
|
|
</thead>
|
24 |
|
|
<tbody>
|
25 |
|
|
{% for act in acts_losts %}
|
26 |
|
|
<tr>
|
27 |
|
|
<td>{{ act.date|date:"SHORT_DATE_FORMAT" }}</td>
|
28 |
|
|
<td>{{ act.time }}</td>
|
29 |
|
|
<td>{{ act.act_type }}</td>
|
30 |
|
|
<td>{% for participant in act.doctors.all %}
|
31 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
32 |
|
|
{% endfor %}</td>
|
33 |
|
|
<td>{{ act.comment|default_if_none:"" }}</td>
|
34 |
|
|
<td>{% for i in act.invoice_set.all %}{{ i.number }}{% if not forloop.last %} - {% endif %}{% endfor %}</td>
|
35 |
|
|
</tr>
|
36 |
|
|
{% endfor %}
|
37 |
|
|
</tbody>
|
38 |
|
|
</table>
|
39 |
|
|
</p>
|
40 |
|
|
{% endif %}
|
41 |
|
|
{% if acts_pause %}
|
42 |
|
|
<p><strong>{{ acts_pause|length }}</strong> actes qui sont en pause :
|
43 |
|
|
<table class="basic">
|
44 |
|
|
<thead>
|
45 |
|
|
<tr> <th>Date</th> <th>Heure</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th> <th>Refacturation</th></tr>
|
46 |
|
|
</thead>
|
47 |
|
|
<tbody>
|
48 |
|
|
{% for act in acts_pause %}
|
49 |
|
|
<tr>
|
50 |
|
|
<td>{{ act.date|date:"SHORT_DATE_FORMAT" }}</td>
|
51 |
|
|
<td>{{ act.time }}</td>
|
52 |
|
|
<td>{{ act.act_type }}</td>
|
53 |
|
|
<td>{% for participant in act.doctors.all %}
|
54 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
55 |
|
|
{% endfor %}</td>
|
56 |
|
|
<td>{{ act.comment|default_if_none:"" }}</td>
|
57 |
|
|
<td>{% for i in act.invoice_set.all %}{{ i.number }}{% if not forloop.last %} - {% endif %}{% endfor %}</td>
|
58 |
|
|
</tr>
|
59 |
|
|
{% endfor %}
|
60 |
|
|
</tbody>
|
61 |
|
|
</table>
|
62 |
|
|
</p>
|
63 |
|
|
{% endif %}
|
64 |
|
|
{% if hcs %}
|
65 |
|
|
{% for hc, acts, acts_cared in hcs %}
|
66 |
|
|
{% if hc.cmpphealthcarediagnostic %}
|
67 |
|
|
<div id="patient-diag">
|
68 |
|
|
<div class="frame">
|
69 |
|
|
<div class="buttons">
|
70 |
|
|
<button type="button" data-id="{{ hc.id }}" class="del-hcdiag icon-minus" title="Supprimer"></button>
|
71 |
|
|
<button type="button" data-id="{{ hc.id }}" class="update-hcdiag-btn icon-edit" title="Modifier"></button>
|
72 |
|
|
</div>
|
73 |
|
|
<h3>Prise en charge de diagnostic, débutée le {{ hc.start_date|date:"d/m/Y" }}{% if hc.cmpphealthcarediagnostic.end_date %}, se terminant le {{ hc.cmpphealthcarediagnostic.end_date|date:"d/m/Y" }}{% endif %}</h3>
|
74 |
|
|
<ul>
|
75 |
|
|
{% if hc.cmpphealthcarediagnostic.end_date %}<li><label>Date de fin</label> : {{ hc.cmpphealthcarediagnostic.end_date|date:"d/m/Y" }}</li>{% endif %}
|
76 |
|
|
{% if hc.request_date %}<li><label>Date de demande</label> : {{ hc.request_date|date:"d/m/Y" }}</li>{% endif %}
|
77 |
|
|
{% if hc.comment %}<li><label>Commentaire</label> : {{ hc.comment }}</li>{% endif %}
|
78 |
|
|
<li><label>Nombres d'actes de la prise en charge</label> : <strong>{{ hc.cmpphealthcarediagnostic.get_act_number }}</strong></li>
|
79 |
|
|
{% if acts %}<li><strong>{{ acts|length }}</strong> actes pouvant être pris en charge lors de la prochaine facturation :</li>
|
80 |
|
|
<table class="basic">
|
81 |
|
|
<thead>
|
82 |
|
|
<tr> <th>Date</th> <th>Heure</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th> <th>Refacturation</th></tr>
|
83 |
|
|
</thead>
|
84 |
|
|
<tbody>
|
85 |
|
|
{% for act in acts %}
|
86 |
|
|
<tr>
|
87 |
|
|
<td>{{ act.date|date:"SHORT_DATE_FORMAT" }}</td>
|
88 |
|
|
<td>{{ act.time }}</td>
|
89 |
|
|
<td>{{ act.act_type }}</td>
|
90 |
|
|
<td>{% for participant in act.doctors.all %}
|
91 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
92 |
|
|
{% endfor %}</td>
|
93 |
|
|
<td>{{ act.comment|default_if_none:"" }}</td>
|
94 |
|
|
<td>{% for i in act.invoice_set.all %}{{ i.number }}{% if not forloop.last %} - {% endif %}{% endfor %}</td>
|
95 |
|
|
</tr>
|
96 |
|
|
{% endfor %}
|
97 |
|
|
</tbody>
|
98 |
|
|
</table>
|
99 |
|
|
{% endif %}
|
100 |
|
|
{% if hc.get_nb_acts_cared %}
|
101 |
|
|
<li><strong>{{ hc.get_nb_acts_cared }}</strong> actes déja facturés :</li>
|
102 |
|
|
<table class="basic">
|
103 |
|
|
<thead>
|
104 |
|
|
<tr> <th>Date</th> <th>Heure</th> <th>N° facture</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th></tr>
|
105 |
|
|
</thead>
|
106 |
|
|
<tbody>
|
107 |
|
|
{% for act in acts_cared %}
|
108 |
|
|
<tr>
|
109 |
|
|
<td>{{ act.date|date:"SHORT_DATE_FORMAT" }}</td>
|
110 |
|
|
<td>{{ act.time }}</td>
|
111 |
|
|
<td>{{ act.get_invoice_number|default_if_none:"Ancienne facturation" }}</td>
|
112 |
|
|
<td>{{ act.act_type }}</td>
|
113 |
|
|
<td>{% for participant in act.doctors.all %}
|
114 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
115 |
|
|
{% endfor %}</td>
|
116 |
|
|
<td>{{ act.comment|default_if_none:"" }}</td>
|
117 |
|
|
</tr>
|
118 |
|
|
{% endfor %}
|
119 |
|
|
</tbody>
|
120 |
|
|
</table>
|
121 |
|
|
{% else %}<li>Aucun acte facturé.</li>
|
122 |
|
|
{% endif %}
|
123 |
|
|
</ul>
|
124 |
88d84c73
|
Jérôme Schneider
|
</div>
|
125 |
aa31cdc8
|
Jérôme Schneider
|
</div>
|
126 |
|
|
{% else %}
|
127 |
|
|
<div id="patient-traitement">
|
128 |
|
|
<div class="frame">
|
129 |
|
|
<div class="buttons">
|
130 |
|
|
<button type="button" data-id="{{ hc.id }}" class="del-hctrait icon-minus" title="Supprimer"></button>
|
131 |
|
|
<button type="button" data-id="{{ hc.id }}" class="update-hctrait-btn icon-edit" title="Modifier"></button>
|
132 |
|
|
</div>
|
133 |
|
|
<h3>Prise en charge de traitement, débutée le {{ hc.start_date|date:"d/m/Y" }}{% if hc.cmpphealthcaretreatment.end_date %}, se terminant le {{ hc.cmpphealthcaretreatment.end_date|date:"d/m/Y" }}{% endif %}</h3>
|
134 |
|
|
<ul>
|
135 |
|
|
{% if hc.cmpphealthcaretreatment.end_date %}<li><label>Date de fin</label> : {{ hc.cmpphealthcaretreatment.end_date|date:"d/m/Y" }}</li>{% endif %}
|
136 |
|
|
{% if hc.request_date %}<li><label>Date de demande</label> : {{ hc.request_date|date:"d/m/Y" }}</li>{% endif %}
|
137 |
|
|
{% if hc.comment %}<li><label>Commentaire</label> : {{ hc.comment }}</li>{% endif %}
|
138 |
|
|
<li><label>Nombres d'actes de la prise en charge</label> : <strong>{{ hc.cmpphealthcaretreatment.get_act_number }}</strong></li>
|
139 |
|
|
{% if acts %}<li><strong>{{ acts|length }}</strong> actes pouvant être pris en charge lors de la prochaine facturation :</li>
|
140 |
|
|
<table class="basic">
|
141 |
|
|
<thead>
|
142 |
|
|
<tr> <th>Date</th> <th>Heure</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th> <th>Refacturation</th></tr>
|
143 |
|
|
</thead>
|
144 |
|
|
<tbody>
|
145 |
|
|
{% for act in acts %}
|
146 |
|
|
<tr>
|
147 |
|
|
<td>{{ act.date|date:"SHORT_DATE_FORMAT" }}</td>
|
148 |
|
|
<td>{{ act.time }}</td>
|
149 |
|
|
<td>{{ act.act_type }}</td>
|
150 |
|
|
<td>{% for participant in act.doctors.all %}
|
151 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
152 |
|
|
{% endfor %}</td>
|
153 |
|
|
<td>{{ act.comment|default_if_none:"" }}</td>
|
154 |
|
|
<td>{% for i in act.invoice_set.all %}{{ i.number }}{% if not forloop.last %} - {% endif %}{% endfor %}</td>
|
155 |
|
|
</tr>
|
156 |
|
|
{% endfor %}
|
157 |
|
|
</tbody>
|
158 |
|
|
</table>
|
159 |
88d84c73
|
Jérôme Schneider
|
|
160 |
aa31cdc8
|
Jérôme Schneider
|
{% endif %}
|
161 |
|
|
{% if hc.get_nb_acts_cared %}
|
162 |
|
|
<li><strong>{{ hc.get_nb_acts_cared }}</strong> actes déja facturés :</li>
|
163 |
|
|
<table class="basic">
|
164 |
|
|
<thead>
|
165 |
|
|
<tr> <th>Date</th> <th>Heure</th> <th>N° facture</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th></tr>
|
166 |
|
|
</thead>
|
167 |
|
|
<tbody>
|
168 |
|
|
{% for act in acts_cared %}
|
169 |
|
|
<tr>
|
170 |
|
|
<td>{{ act.date|date:"SHORT_DATE_FORMAT" }}</td>
|
171 |
|
|
<td>{{ act.time }}</td>
|
172 |
|
|
<td>{{ act.get_invoice_number|default_if_none:"Ancienne facturation" }}</td>
|
173 |
|
|
<td>{{ act.act_type }}</td>
|
174 |
|
|
<td>{% for participant in act.doctors.all %}
|
175 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
176 |
|
|
{% endfor %}</td>
|
177 |
|
|
<td>{{ act.comment|default_if_none:"" }}</td>
|
178 |
|
|
</tr>
|
179 |
|
|
{% endfor %}
|
180 |
|
|
</tbody>
|
181 |
|
|
</table>
|
182 |
|
|
{% else %}<li>Aucun acte facturé.</li>
|
183 |
|
|
{% endif %}
|
184 |
|
|
</ul>
|
185 |
|
|
</div>
|
186 |
88d84c73
|
Jérôme Schneider
|
</div>
|
187 |
aa31cdc8
|
Jérôme Schneider
|
{% endif %}
|
188 |
|
|
{% endfor %}
|
189 |
|
|
{% endif %}
|
190 |
|
|
{% endif %}
|
191 |
|
|
{% if object.service.slug == "sessad-ted" or object.service.slug == "sessad-dys" %}
|
192 |
|
|
<p>
|
193 |
|
|
<button id="new-notification-btn">Nouvelle notification</button>
|
194 |
|
|
</p>
|
195 |
|
|
{% if hcs %}
|
196 |
|
|
{% for hc in hcs %}
|
197 |
|
|
{% if hc.sessadhealthcarenotification %}
|
198 |
|
|
<div id="patient-diag">
|
199 |
|
|
<div class="frame">
|
200 |
|
|
<div class="buttons">
|
201 |
|
|
<button type="button" data-id="{{ hc.sessadhealthcarenotification.id }}" class="del-notification icon-minus" title="Supprimer"></button>
|
202 |
|
|
<button type="button" data-id="{{ hc.sessadhealthcarenotification.id }}" class="update-notification-btn icon-edit" title="Modifier"></button>
|
203 |
|
|
</div>
|
204 |
|
|
<h3>Notification</h3>
|
205 |
|
|
<ul>
|
206 |
|
|
{% if hc.start_date %}<li><label>Date de début</label> : {{ hc.start_date|date:"d/m/Y" }}</li>{% endif %}
|
207 |
|
|
{% if hc.sessadhealthcarenotification.end_date %}<li><label>Date de fin</label> : {{ hc.sessadhealthcarenotification.end_date|date:"d/m/Y" }}</li>{% endif %}
|
208 |
|
|
{% if hc.request_date %}<li><label>Date de demande</label> : {{ hc.request_date|date:"d/m/Y" }}</li>{% endif %}
|
209 |
|
|
{% if hc.agree_date %}<li><label>Date d'accord</label> : {{ hc.agree_date|date:"d/m/Y" }}</li>{% endif %}
|
210 |
|
|
{% if hc.insist_date %}<li><label>Date de relance</label> : {{ hc.insist_date|date:"d/m/Y" }}</li>{% endif %}
|
211 |
|
|
{% if hc.comment %}<li><label>Commentaire</label> : {{ hc.comment }}</li>{% endif %}
|
212 |
|
|
</ul>
|
213 |
88d84c73
|
Jérôme Schneider
|
</div>
|
214 |
|
|
</div>
|
215 |
aa31cdc8
|
Jérôme Schneider
|
{% endif %}
|
216 |
|
|
{% endfor %}
|
217 |
|
|
{% endif %}
|
218 |
|
|
{% endif %}
|
219 |
88d84c73
|
Jérôme Schneider
|
</div>
|
220 |
54318d2c
|
Serghei MIHAI
|
{% endblock %}
|