Project

General

Profile

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

calebasse / calebasse / dossiers / templates / dossiers / patientrecord_list.html @ 3087a41c

1
{% extends "calebasse/base.html" %}
2
<!DOCTYPE html>
3
<html lang="fr">
4
  <head>
5
    <meta charset="utf-8"/>
6
    <title>APS42 — Dossiers</title>
7
    <link rel="stylesheet" type="text/css" media="all" href="css/style.css"/>
8
    <link rel="stylesheet" type="text/css" media="all" href="css/smoothness/jquery-ui-1.8.21.custom.css"/>
9

    
10
    <script src="js/jquery-1.7.2.min.js"></script>
11
    <script src="js/jquery-ui-1.8.21.custom.min.js"></script>
12
    <script src="development-bundle/ui/i18n/jquery.ui.datepicker-fr.js"></script>
13
    <script>
14
	$(function() {
15
		$('table#dossiers tr').click(function() {
16
			window.location = 'un-dossier.html';
17
		});
18
		$('#filtre input').click(function () {
19
			var states = new Array();
20
			$('#filtre input:checked').each(function() {
21
				states.push($(this).attr('class'));
22
			});
23
			$('table#dossiers tbody tr').each(function() {
24
				$(this).find(':nth-child(6)').each(function() {
25
					state = $(this).attr('class');
26
					if ($.inArray(state, states) != -1) {
27
						$(this).parent().show();
28
					} else {
29
						$(this).parent().hide();
30
					}
31
				});
32
			});
33
		});
34
		$('#new-dossier').click(function() {
35
			$('#homonyms').hide();
36
			$('#dossier-dlg').dialog({title: 'Nouveau dossier',
37
				  width: '500px',
38
				  buttons: [ { text: "Fermer",
39
					       click: function() { $(this).dialog("close"); } },
40
					     { text: "Ajouter",
41
					       click: function() {
42
						if ($('#homonyms').is(':visible')) {
43
					       	  $(this).dialog("close");
44
						} else {
45
						  $('#homonyms').show();
46
						}
47
					} }]}
48
			);
49
			});
50
		var tempScrollTop, currentScrollTop = 0;
51
		$(window).scroll(function() {
52
			/* load more rows when we reach the bottom of the table */
53
			currentScrollTop = $(window).scrollTop();
54
			if (tempScrollTop < currentScrollTop ) {
55
				if ($('#dossiers').offset().top + $('#dossiers').height() - $(window).scrollTop() - $(window).height() < 20) {
56
					$('#dossiers tbody').append($('#dossiers tbody tr').slice(0, 10).clone());
57
				}
58
			}
59
			tempScrollTop = currentScrollTop;
60
		});
61

    
62
		$('table#dossiers tbody tr').hide();
63
		$('#search-results').hide();
64
		$('#search').click(function () {
65
			$('.big-msg-info').hide();
66
			$('#search-results').show();
67
			$('table#dossiers tbody tr').show();
68
		});
69
	});
70
	</script>
71
  </head>
72
  <body>
73
  <div id="wrap-large">
74
    <div id="header">
75
      <h1><a href="accueil.html">APS 42</a></h1>
76
      <span>Dossiers - CMPP</span>
77
    </div>
78
    <div id="splash" class="cmpp">
79
      <div id="user-links">
80
        <a href="connexion.html">Déconnexion</a>
81
      </div>
82
    </div>
83
    <div id="content">
84

    
85
    <div id="appbar">
86
    <h2>Dossiers</h2>
87
    <a href="accueil.html">Retourner à l'accueil</a>
88

    
89

    
90
    <button id="new-dossier">Nouveau dossier</button>
91
    &nbsp; &nbsp; &nbsp;
92
    <span>Dossiers: <span class="num">1032</span> - En accueil: <span class="num">28</span> - Fin d'accueil: <span class="num">8</span> -
93
    <span>En diagnostic: <span class="num">322</span> - En traitement: <span class="num">485</span> - Clos: <span class="num">193</span></span>
94
    <br/>
95
    <br/>&nbsp;
96
    </div>
97

    
98

    
99
    <div id="sidebar">
100
     <div>
101
      <h3>Rechercher dans les dossiers</h3>
102
       <!--
103
      <ul>
104
       <span title="ces boutons radio sont-ils vraiment nécessaires ? les filtres au-dessus se cochent / décochent facilement">XXX</span>
105
       <li><label><input name="scope" type="radio"/>Tenir compte des états
106
       sélectionnés</label></li>
107
       <li><label><input name="scope" type="radio"/>Rechercher dans tous les
108
       dossiers</label></li>
109
      </ul>
110
      -->
111
       <label>Nom <input type="text"/></label>
112
       <label>Prénom <input type="text"/></label>
113
       <label>Numéro de dossier <input type="text"/></label>
114
       <label>Numéro d'assuré social <input type="text"/></label>
115
       <button id="search">Rechercher</button>
116
       <p id="search-results">
117
        (123 dossiers trouvés)
118
       </p>
119
     </div>
120
     <div id="filtre">
121
      <h3>Filtres sur l'état</h3>
122
      <ul>
123
        <li><label><input checked="checked"  class="en-accueil" type="checkbox"/>En accueil</label></li>
124
        <li><label><input checked="checked"  class="fin-accueil" type="checkbox"/>Fin d'accueil</label></li>
125
        <li><label><input checked="checked"  class="diag" type="checkbox"/>En diagnostic</label></li>
126
        <li><label><input checked="checked"  class="traite" type="checkbox"/>En traitement</label></li>
127
        <li><label><input checked="checked"  class="clos" type="checkbox"/>Clos</label></li>
128
        <li><button>Tous</button> <button>Aucun</button></li>
129
      </ul>
130
      <h3>Afficher les dossiers</h3>
131
     <ul>
132
       <li><button>En pause facturation</button></li>
133
       <li><button>Une prolongation est nécessaire</button></li>
134
       <li><button>Prise en charge arrivant à expiration</button></li>
135
       <li><button>Prise en charge manquante ou expirée</button></li>
136
       <li><button>Eligibles pour un rediagnostic</button></li>
137
     </ul>
138
    </div>
139
   </div>
140

    
141
   <div class="content">
142
   <table id="dossiers" class="main">
143
    <thead>
144
     <tr>
145
     <th colspan="2">N° dossier
146
     <th rowspan="2">Nom</th>
147
     <th rowspan="2">Prénom</th>
148
     <th rowspan="2">Date de naissance</th>
149
     <th rowspan="2">État du dossier</th>
150
     <th rowspan="2"><span title="Information à propos de la prise en charge">I</span> / <span title="Dossier en pause facturation">F</span></th>
151
     <th rowspan="2">Dernier acte</th>
152
     <th rowspan="2">Prochain rendez-vous</th>
153
     </tr>
154
     <tr>
155
     <th>papier</th>
156
     <th>inform.</th>
157
     </tr>
158
    </thead>
159
    <tbody>
160

    
161
     <tr>
162
      <td>12346</td>
163
      <td>67891</td>
164
      <td>Bouclier</td>
165
      <td>Guillaume</td>
166
      <td>12/03/1965</td>
167
      <td class="traite">En traitement</td>
168
      <td></td>
169
      <td>28/06/2012<br/>T - absence excusée</td>
170
      <td>18/08/2012 14:00<br/>Roudon - mini synthèse</td>
171
     </tr>
172

    
173
     <tr>
174
      <td>12347</td>
175
      <td>67892</td>
176
      <td>Hendrickx</td>
177
      <td>André</td>
178
      <td>12/03/1965</td>
179
      <td class="en-accueil">En accueil</td>
180
      <td></td>
181
      <td>28/06/2012<br/>D - absence non excusable</td>
182
      <td>18/08/2012 15:00<br/>Roudon - accueil</td>
183
     </tr>
184

    
185
     <tr>
186
      <td>12348</td>
187
      <td>67893</td>
188
      <td>Manglos</td>
189
      <td>Thérèse</td>
190
      <td>12/03/1965</td>
191
      <td class="en-accueil">En accueil</td>
192
      <td></td>
193
      <td>28/06/2012<br/>T - non facturable</td>
194
      <td>18/08/2012 16:00<br/>Roudon - accueil</td>
195
     </tr>
196

    
197
     <tr>
198
      <td>12349</td>
199
      <td>67894</td>
200
      <td>Caswell</td>
201
      <td>Augustin</td>
202
      <td>12/03/1965</td>
203
      <td class="traite">En traitement</td>
204
      <td></td>
205
      <td>28/06/2012<br/>T - absence non excusable</td>
206
      <td>18/08/2012 14:00<br/>Roudon - mini synthèse</td>
207
     </tr>
208

    
209
     <tr>
210
      <td>12350</td>
211
      <td>67895</td>
212
      <td>Zehkat</td>
213
      <td>Marie</td>
214
      <td>12/03/1965</td>
215
      <td class="traite">En traitement</td>
216
      <td><span title="Information à propos de la prise en charge">I</span></td>
217
      <td>28/06/2012<br/>T - absence non excusable</td>
218
      <td>18/08/2012 14:00<br/>Roudon - mini synthèse</td>
219
     </tr>
220

    
221
     <tr>
222
      <td>12351</td>
223
      <td>67896</td>
224
      <td>Verstraete</td>
225
      <td>Barbara</td>
226
      <td>12/03/1965</td>
227
      <td class="diag">En diagnostic</td>
228
      <td></td>
229
      <td>28/06/2012<br/>T - absence non excusable</td>
230
      <td>18/08/2012 14:00<br/>Roudon - entretien</td>
231
     </tr>
232

    
233
     <tr>
234
      <td>12352</td>
235
      <td>67897</td>
236
      <td>Jover</td>
237
      <td>Henri</td>
238
      <td>12/03/1965</td>
239
      <td class="diag">En diagnostic</td>
240
      <td></td>
241
      <td>28/06/2012<br/>T - absence non excusable</td>
242
      <td>18/08/2012 14:00<br/>Roudon - entretien</td>
243
     </tr>
244

    
245
     <tr>
246
      <td>12361</td>
247
      <td>67898</td>
248
      <td>Masson</td>
249
      <td>Valentine</td>
250
      <td>12/03/1965</td>
251
      <td class="traite">En traitement</td>
252
      <td></td>
253
      <td>28/06/2012<br/>T - absence non excusable</td>
254
      <td>18/08/2012 (...)</td>
255
     </tr>
256

    
257
     <tr>
258
      <td>12353</td>
259
      <td>67899</td>
260
      <td>Sinclair</td>
261
      <td>Juliette</td>
262
      <td>12/03/1965</td>
263
      <td class="diag">En diagnostic</td>
264
      <td></td>
265
      <td>28/06/2012<br/>T - absence non excusable</td>
266
      <td>18/08/2012 (...)</td>
267
     </tr>
268

    
269
     <tr>
270
      <td>12354</td>
271
      <td>67904</td>
272
      <td>Paige</td>
273
      <td>Emmanuelle</td>
274
      <td>12/03/1965</td>
275
      <td class="diag">En diagnostic</td>
276
      <td><span title="Dossier en pause facturation">F</span></td>
277
      <td>28/06/2012<br/>T - absence non excusable</td>
278
      <td>18/08/2012 (...)</td>
279
     </tr>
280

    
281
     <tr>
282
      <td>12355</td>
283
      <td>67900</td>
284
      <td>Kosumovic</td>
285
      <td>Timothée</td>
286
      <td>12/03/1965</td>
287
      <td class="fin-accueil">Fin d'accueil</td>
288
      <td></td>
289
      <td>28/06/2012<br/>T - absence non excusable</td>
290
      <td>18/08/2012 (...)</td>
291
     </tr>
292

    
293
     <tr class="clos">
294
      <td>12346</td>
295
      <td>67891</td>
296
      <td>Bouclier</td>
297
      <td>Guillaume</td>
298
      <td>12/03/1965</td>
299
      <td class="clos">Clos<br/>23/07/2012</td>
300
      <td></td>
301
      <td>28/06/2012<br/>T - absence non excusable</td>
302
      <td>18/08/2012 (...)</td>
303
     </tr>
304

    
305
     <tr>
306
      <td>12347</td>
307
      <td>67892</td>
308
      <td>Hendrickx</td>
309
      <td>André</td>
310
      <td>12/03/1965</td>
311
      <td class="diag">En diagnostic</td>
312
      <td></td>
313
      <td>28/06/2012<br/>T - absence non excusable</td>
314
      <td>18/08/2012 (...)</td>
315
     </tr>
316

    
317
     <tr>
318
      <td>12348</td>
319
      <td>67893</td>
320
      <td>Manglos</td>
321
      <td>Thérèse</td>
322
      <td>12/03/1965</td>
323
      <td class="diag">En diagnostic</td>
324
      <td><span title="Information à propos de la prise en charge">I</span> / <span title="Dossier en pause facturation">F</span></td>
325
      <td>28/06/2012<br/>T - absence non excusable</td>
326
      <td>18/08/2012 (...)</td>
327
     </tr>
328

    
329
     <tr>
330
      <td>12349</td>
331
      <td>67894</td>
332
      <td>Caswell</td>
333
      <td>Augustin</td>
334
      <td>12/03/1965</td>
335
      <td class="diag">En diagnostic</td>
336
      <td></td>
337
      <td>28/06/2012<br/>T - absence non excusable</td>
338
      <td>18/08/2012 (...)</td>
339
     </tr>
340

    
341
     <tr>
342
      <td>12350</td>
343
      <td>67895</td>
344
      <td>Zehkat</td>
345
      <td>Marie</td>
346
      <td>12/03/1965</td>
347
      <td class="traite">En traitement</td>
348
      <td></td>
349
      <td>28/06/2012<br/>T - absence non excusable</td>
350
      <td>18/08/2012 (...)</td>
351
     </tr>
352

    
353
     <tr>
354
      <td>12351</td>
355
      <td>67896</td>
356
      <td>Verstraete</td>
357
      <td>Barbara</td>
358
      <td>12/03/1965</td>
359
      <td class="traite">En traitement</td>
360
      <td></td>
361
      <td>28/06/2012<br/>T - absence non excusable</td>
362
      <td>18/08/2012 (...)</td>
363
     </tr>
364

    
365
     <tr>
366
      <td>12352</td>
367
      <td>67897</td>
368
      <td>Jover</td>
369
      <td>Henri</td>
370
      <td>12/03/1965</td>
371
      <td class="traite">En traitement</td>
372
      <td></td>
373
      <td>28/06/2012<br/>T - absence non excusable</td>
374
      <td>18/08/2012 (...)</td>
375
     </tr>
376

    
377
     <tr>
378
      <td>12361</td>
379
      <td>67898</td>
380
      <td>Masson</td>
381
      <td>Valentine</td>
382
      <td>12/03/1965</td>
383
      <td class="traite">En traitement</td>
384
      <td></td>
385
      <td>28/06/2012<br/>T - absence non excusable</td>
386
      <td>18/08/2012 (...)</td>
387
     </tr>
388

    
389
     <tr>
390
      <td>12353</td>
391
      <td>67899</td>
392
      <td>Sinclair</td>
393
      <td>Juliette</td>
394
      <td>12/03/1965</td>
395
      <td class="diag">En diagnostic</td>
396
      <td></td>
397
      <td>28/06/2012<br/>T - absence non excusable</td>
398
      <td>18/08/2012 (...)</td>
399
     </tr>
400

    
401
     <tr>
402
      <td>12354</td>
403
      <td>67904</td>
404
      <td>Paige</td>
405
      <td>Emmanuelle</td>
406
      <td>12/03/1965</td>
407
      <td class="traite">En traitement</td>
408
      <td></td>
409
      <td>28/06/2012<br/>T - absence non excusable</td>
410
      <td>18/08/2012 (...)</td>
411
     </tr>
412

    
413
     <tr>
414
      <td>12355</td>
415
      <td>67900</td>
416
      <td>Kosumovic</td>
417
      <td>Timothée</td>
418
      <td>12/03/1965</td>
419
      <td class="diag">En diagnostic</td>
420
      <td></td>
421
      <td>28/06/2012<br/>T - absence non excusable</td>
422
      <td>18/08/2012 (...)</td>
423
     </tr>
424

    
425
    </tbody>
426
   </table>
427

    
428
   <div class="big-msg-info">
429
     Utilisez le formulaire de recherche sur la gauche de l'écran pour afficher
430
     les dossiers correspondants.
431
   </div>
432

    
433
   </div>
434

    
435
    </div>
436

    
437
    <div id="footer">
438
439
    </div>
440
  </div>
441

    
442
  <div id="dossier-dlg" style="display: none;">
443
   <form>
444
   <p>
445
    <label for="id_nom">Nom :</label>
446
    <input id="id_nom" type="text" name="nom"/>
447
   </p>
448
   <p>
449
    <label for="id_prenom">Prénom :</label>
450
    <input id="id_prenom" type="text" name="prenom"/>
451
   </p>
452
   </form>
453

    
454
  <div id="homonyms" style="display: none;">
455
   <p>Attention, il existe des homonymes; cliquez sur le bouton pour consulter
456
      le dossier correspondant. Si vous voulez confirmer la création d'un nouveau
457
      dossier, cliquez sur le bouton 'Ajouter'.</p>
458
   <button>Doe James</button><br/>
459
   <button>Doe Dolassaumure</button>
460
  </div>
461
  </div>
462

    
463
  </body>
464
</html>
(3-3/4)