1
|
<form method="post" id="id-form">
|
2
|
{% csrf_token %}
|
3
|
<div class="frame inline">
|
4
|
<h3>État civil</h3>
|
5
|
<button class="save enable-on-change">✔</button>
|
6
|
<p>
|
7
|
{% for field in forms.id %}
|
8
|
{{ field.errors }}
|
9
|
{% endfor %}
|
10
|
</p>
|
11
|
<p>
|
12
|
{{ forms.id.last_name.label_tag }} : <span class="lastname">{{ forms.id.last_name }}</span>
|
13
|
{{ forms.id.first_name.label_tag }} : {{ forms.id.first_name }}
|
14
|
{{ forms.id.birthplace.label_tag }} : {{ forms.id.birthplace }}
|
15
|
</p>
|
16
|
<p>
|
17
|
{{ forms.id.birthdate.label_tag }} : {{ forms.id.birthdate }}
|
18
|
{{ forms.id.gender.label_tag }} : {{ forms.id.gender }}
|
19
|
{{ forms.id.nationality.label_tag }} : {{ forms.id.nationality }}
|
20
|
</p>
|
21
|
<input type="hidden" name="tab" value="1">
|
22
|
</div>
|
23
|
</form>
|
24
|
|
25
|
<form method="post" id="inscription-form" class="patientrecordform">
|
26
|
{% csrf_token %}
|
27
|
<div class="frame inline">
|
28
|
<h3>Inscription</h3>
|
29
|
<button class="save enable-on-change">✔</button>
|
30
|
<p>
|
31
|
{% for field in forms.inscription %}
|
32
|
{{ field.label_tag }} : {{ field }}
|
33
|
<button type="button"
|
34
|
class="dialog-button"
|
35
|
data-url="../../ressources/{{ field.name }}/new/ #form-content"
|
36
|
data-default-button="Ajouter"
|
37
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
38
|
data-add-select="#id_inscription-{{ field.name }}"
|
39
|
title="Ajouter un {{ field.label.lower }}"
|
40
|
type="button">+</button>
|
41
|
{% endfor %}
|
42
|
</p>
|
43
|
<input type="hidden" name="tab" value="1">
|
44
|
</div>
|
45
|
</form>
|
46
|
|
47
|
<form method="post" id="out-form" class="patientrecordform">
|
48
|
{% csrf_token %}
|
49
|
<div class="frame inline">
|
50
|
<h3>Sortie</h3>
|
51
|
<button class="save enable-on-change">✔</button>
|
52
|
<p>
|
53
|
{% for field in forms.out %}
|
54
|
{{ field.label_tag }} : {{ field }}
|
55
|
<button type="button"
|
56
|
class="dialog-button"
|
57
|
data-url="../../ressources/{{ field.name }}/new/ #form-content"
|
58
|
data-default-button="Ajouter"
|
59
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
60
|
data-add-select="#id_out-{{ field.name }}"
|
61
|
title="Ajouter un {{ field.label.lower }}"
|
62
|
type="button">+</button>
|
63
|
{% endfor %}
|
64
|
</p>
|
65
|
<input type="hidden" name="tab" value="1">
|
66
|
</div>
|
67
|
</form>
|
68
|
|
69
|
<form method="post" id="family-form" class="patientrecordform">
|
70
|
{% csrf_token %}
|
71
|
<div class="frame inline">
|
72
|
<h3>Famille</h3>
|
73
|
<button class="save enable-on-change">✔</button>
|
74
|
<p>
|
75
|
{% for field in forms.family %}
|
76
|
{{ field.errors }}
|
77
|
{% endfor %}
|
78
|
</p>
|
79
|
<p>
|
80
|
{{ forms.family.sibship_place.label_tag }} : {{ forms.family.sibship_place }}
|
81
|
{{ forms.family.nb_children_family.label_tag }} : {{ forms.family.nb_children_family }}
|
82
|
<label>Rang (gémellité) : </label> {{ object.twinning_rank|default_if_none:"Aucun" }}
|
83
|
</p>
|
84
|
<p>
|
85
|
{{ forms.family.parental_authority.label_tag }} : {{ forms.family.parental_authority }}
|
86
|
<button type="button"
|
87
|
class="dialog-button"
|
88
|
data-url="../../ressources/parentalauthoritytype/new/ #form-content"
|
89
|
data-default-button="Ajouter"
|
90
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
91
|
data-add-select="#id_family-parental_authority"
|
92
|
title="Ajouter un type d'autorité parentale">+</button>
|
93
|
{{ forms.family.family_situation.label_tag }} : {{ forms.family.family_situation }}
|
94
|
<button type="button"
|
95
|
class="dialog-button"
|
96
|
data-url="../../ressources/familysituationtype/new/ #form-content"
|
97
|
data-default-button="Ajouter"
|
98
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
99
|
data-add-select="#id_family-family_situation"
|
100
|
title="Ajouter un type de situation familiale">+</button>
|
101
|
{{ forms.family.child_custody.label_tag }} : {{ forms.family.child_custody }}
|
102
|
<button type="button"
|
103
|
class="dialog-button"
|
104
|
data-url="../../ressources/parentalcustodytype/new/ #form-content"
|
105
|
data-default-button="Ajouter"
|
106
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
107
|
data-add-select="#id_family-child_custody"
|
108
|
title="Ajouter un type de garde parentale">+</button>
|
109
|
{{ forms.family.job_mother.label_tag }} : {{ forms.family.job_mother }}
|
110
|
<button type="button"
|
111
|
class="dialog-button"
|
112
|
data-url="../../ressources/job/new/ #form-content"
|
113
|
data-default-button="Ajouter"
|
114
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
115
|
data-add-select="#id_family-job_mother"
|
116
|
title="Ajouter un type de profession">+</button>
|
117
|
{{ forms.family.job_father.label_tag }} : {{ forms.family.job_father }}
|
118
|
<button type="button"
|
119
|
class="dialog-button"
|
120
|
data-url="../../ressources/job/new/ #form-content"
|
121
|
data-default-button="Ajouter"
|
122
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
123
|
data-add-select="#id_family-job_father"
|
124
|
title="Ajouter un type de profession">+</button>
|
125
|
{{ forms.family.rm_mother.label_tag }} : {{ forms.family.rm_mother }}
|
126
|
<button type="button"
|
127
|
class="dialog-button"
|
128
|
data-url="../../ressources/maritalstatustype/new/ #form-content"
|
129
|
data-default-button="Ajouter"
|
130
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
131
|
data-add-select="#id_family-rm_mother"
|
132
|
title="Ajouter un type de régime">+</button>
|
133
|
{{ forms.family.rm_father.label_tag }} : {{ forms.family.rm_father }}
|
134
|
<button type="button"
|
135
|
class="dialog-button"
|
136
|
data-url="../../ressources/maritalstatustype/new/ #form-content"
|
137
|
data-default-button="Ajouter"
|
138
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
139
|
data-add-select="#id_family-rm_father"
|
140
|
title="Ajouter un type de régime">+</button>
|
141
|
</p>
|
142
|
<p>
|
143
|
{{ forms.family.family_comment.label_tag }} : {{ forms.family.family_comment }}
|
144
|
</p>
|
145
|
<input type="hidden" name="tab" value="1">
|
146
|
</div>
|
147
|
</form>
|
148
|
|
149
|
<form method="post" id="transport-form" class="patientrecordform">
|
150
|
{% csrf_token %}
|
151
|
<div class="frame inline">
|
152
|
<h3>Transport</h3>
|
153
|
<button class="save enable-on-change">✔</button>
|
154
|
<p>
|
155
|
{% for field in forms.transport %}
|
156
|
{{ field.label_tag }} : {{ field }}
|
157
|
<button type="button"
|
158
|
class="dialog-button"
|
159
|
data-url="../../ressources/{{ field.name }}/new/ #form-content"
|
160
|
data-default-button="Ajouter"
|
161
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
162
|
data-add-select="#id_transport-{{ field.name }}"
|
163
|
title="Ajouter {% if field.label.lower == "type de transport" %}un{% else %}une{% endif %} {{ field.label.lower }}">+</button>
|
164
|
{% endfor %}
|
165
|
</p>
|
166
|
<!-- <table>-->
|
167
|
<!-- <tr><td><button type="button">Attestation</button></td> <td><button type="button">Prescription</td></tr>-->
|
168
|
<!-- <tr><td>Dernière attestation le 25/07/2012 <button>Historique</button></td>-->
|
169
|
<!-- <td>Dernière prescription le 25/07/2012 <button>Historique</button></td></tr>-->
|
170
|
<!-- </table>-->
|
171
|
<!-- <input type="hidden" name="tab" value="1">-->
|
172
|
<p class="align-center"><br/><button id="prescription-transport-btn">Prescription de transport</button></p>
|
173
|
</div>
|
174
|
</form>
|
175
|
|
176
|
<form method="post" id="followup-form" class="patientrecordform">{% csrf_token %}
|
177
|
<div class="frame inline">
|
178
|
<h3>Suivi du patient</h3>
|
179
|
<button class="save enable-on-change">✔</button>
|
180
|
<p>
|
181
|
{{ forms.followup.coordinators.label_tag }} : {{ forms.followup.coordinators }}
|
182
|
</p>
|
183
|
<p>
|
184
|
{{ forms.followup.externaldoctor.label_tag }} : {{ forms.followup.externaldoctor }}
|
185
|
<button type="button"
|
186
|
class="dialog-button"
|
187
|
data-url="../../personnes/externaltherapist/new/ #form-content"
|
188
|
data-default-button="Ajouter"
|
189
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
190
|
data-add-select="#id_followup-externaldoctor"
|
191
|
title="Ajouter un médecin extérieur">+</button>
|
192
|
{{ forms.followup.externalintervener.label_tag }} : {{ forms.followup.externalintervener }}
|
193
|
<button type="button"
|
194
|
class="dialog-button"
|
195
|
data-url="../../personnes/externalworker/new/ #form-content"
|
196
|
data-default-button="Ajouter"
|
197
|
data-next-url="{{ request.get_full_path }}#tab=1"
|
198
|
data-add-select="#id_followup-externalintervener"
|
199
|
title="Ajouter un intervenant extérieur">+</button>
|
200
|
</div>
|
201
|
</p>
|
202
|
<input type="hidden" name="tab" value="1">
|
203
|
</form>
|