1
|
{% extends 'dossiers/patientrecord_tab.html' %}
|
2
|
|
3
|
{% block content %}
|
4
|
<br class="clear" />
|
5
|
<div id="tabs-7">
|
6
|
<div class="frame">
|
7
|
<h3>Périodes de socialisation</h3>
|
8
|
<p><button id="new-socialisation-duration-btn">Nouvelle période de socialisation</button></p>
|
9
|
{% for duration in object.socialisation_durations.all %}
|
10
|
<div class="subframe">
|
11
|
Arrivée le <strong>{{ duration.start_date }}</strong> dans {% if duration.school %}l'établissement <strong>{{ duration.school }}</strong>{% else %}un établissement non renseigné{% endif %}{% if duration.level %} (en {{ duration.level }}){% endif %}
|
12
|
<ul>
|
13
|
{% if duration.school.address %}
|
14
|
<li><label>Adresse établissement : </label>{{ duration.school.address }}, {{ duration.school.zip_code }} {{ duration.school.city }}</span></li>
|
15
|
{% endif %}
|
16
|
{% if duration.school.phone %}
|
17
|
<li><span class="icon-phone">{{ duration.school.phone }}</span></li>
|
18
|
{% endif %}
|
19
|
</ul>
|
20
|
<div class="buttons">
|
21
|
<button type="button" data-id="{{ duration.id }}" class="del-duration icon-minus" title="Supprimer"></button>
|
22
|
<button type="button" data-id="{{ duration.id }}" class="update-duration-btn icon-edit" title="Modifier"></button>
|
23
|
</div>
|
24
|
<div>
|
25
|
<ul>
|
26
|
{% if duration.end_date %}<li><label>Date de départ</label> : {{ duration.end_date }}</li>{% endif %}
|
27
|
{% if duration.comment %}<li><label>Commentaire</label> : {{ duration.comment }}</li>{% endif %}
|
28
|
</ul>
|
29
|
</div>
|
30
|
</div>
|
31
|
{% endfor %}
|
32
|
</div>
|
33
|
|
34
|
<div class="frame">
|
35
|
<h3>Demandes MDPH</h3>
|
36
|
<p><button id="new-mdph-request-btn">Nouvelle demande MDPH</button></p>
|
37
|
{% for request in object.mdph_requests.all %}
|
38
|
<div class="subframe">
|
39
|
Demande le <strong>{{ request.start_date }}</strong> à la MDPH <strong>{{ request.mdph }}</strong>
|
40
|
<div class="buttons">
|
41
|
<button type="button" data-id="{{ request.id }}" class="del-mdph-request icon-minus" title="Supprimer"></button>
|
42
|
<button type="button" data-id="{{ request.id }}" class="update-mdph-request-btn icon-edit" title="Modifier"></button>
|
43
|
</div>
|
44
|
<div>
|
45
|
<ul>
|
46
|
{% if request.comment %}<li><label>Commentaire</label> : {{ request.comment }}</li>{% endif %}
|
47
|
</ul>
|
48
|
</div>
|
49
|
</div>
|
50
|
{% endfor %}
|
51
|
</div>
|
52
|
|
53
|
<div class="frame">
|
54
|
<h3>Réponses MDPH</h3>
|
55
|
<p><button id="new-mdph-response-btn">Nouvelle réponse MDPH</button></p>
|
56
|
{% for response in object.mdph_responses.all %}
|
57
|
<div class="subframe">
|
58
|
Du <strong>{{ response.start_date }}</strong> au <strong>{{ response.end_date }}</strong> à la MDPH <strong>{{ response.mdph }}</strong>
|
59
|
<div class="buttons">
|
60
|
<button type="button" data-id="{{ response.id }}" class="del-mdph-response icon-minus" title="Supprimer"></button>
|
61
|
<button type="button" data-id="{{ response.id }}" class="update-mdph-response-btn icon-edit" title="Modifier"></button>
|
62
|
</div>
|
63
|
<div>
|
64
|
<ul>
|
65
|
{% if response.comment %}<li><label>Commentaire</label> : {{ response.comment }}</li>{% endif %}
|
66
|
{% if response.type_aide %}<li><label>Type d'aide</label> : {{ response.type_aide }}</li>{% endif %}
|
67
|
{% if response.name %}<li><label>Nom</label> : {{ response.name }}</li>{% endif %}
|
68
|
{% if response.rate %}<li><label>Taux</label> : {{ response.rate }}</li>{% endif %}
|
69
|
</ul>
|
70
|
</div>
|
71
|
</div>
|
72
|
{% endfor %}
|
73
|
</div>
|
74
|
</div>
|
75
|
{% endblock %}
|