1 |
da64143d
|
Benjamin Dauvergne
|
from django.conf.urls import patterns, url
|
2 |
de9427e2
|
Benjamin Dauvergne
|
|
3 |
|
|
from calebasse.cbv import ListView, CreateView, DeleteView, UpdateView
|
4 |
da64143d
|
Benjamin Dauvergne
|
|
5 |
e3c5afd2
|
Jérôme Schneider
|
from models import PatientRecord
|
6 |
f3407c83
|
Jérôme Schneider
|
from forms import EditPatientRecordForm
|
7 |
da64143d
|
Benjamin Dauvergne
|
|
8 |
aa31cdc8
|
Jérôme Schneider
|
urlpatterns = patterns('calebasse.dossiers.views',
|
9 |
|
|
url(r'^$', 'patientrecord_home'),
|
10 |
|
|
url(r'^quotations$', 'patientrecord_quotations'),
|
11 |
|
|
url(r'^waiting-queue$', 'patientrecord_waiting_queue'),
|
12 |
|
|
url(r'^new$', 'new_patient_record'),
|
13 |
|
|
url(r'^(?P<pk>\d+)/view$', 'patient_record'),
|
14 |
3b4bba4a
|
Serghei MIHAI
|
url(r'^(?P<pk>\d+)/print$', 'patient_record_print', name='patientrecord_print'),
|
15 |
aa31cdc8
|
Jérôme Schneider
|
url(r'^(?P<pk>\d+)/tab1$', 'tab1_general'),
|
16 |
|
|
url(r'^(?P<pk>\d+)/tab2$', 'tab2_fiche_adm'),
|
17 |
|
|
url(r'^(?P<pk>\d+)/tab3$', 'tab3_addresses'),
|
18 |
|
|
url(r'^(?P<pk>\d+)/tab4$', 'tab4_notifs'),
|
19 |
|
|
url(r'^(?P<pk>\d+)/tab5$', 'tab5_old_acts'),
|
20 |
|
|
url(r'^(?P<pk>\d+)/tab6$', 'tab6_next_rdv'),
|
21 |
|
|
url(r'^(?P<pk>\d+)/tab7$', 'tab7_socialisation'),
|
22 |
|
|
url(r'^(?P<pk>\d+)/tab8$', 'tab8_medical'),
|
23 |
|
|
url(r'^(?P<pk>\d+)/delete$', 'patientrecord_delete'),
|
24 |
|
|
url(r'^(?P<pk>\d+)/update/paper_id$', 'update_paper_id'),
|
25 |
|
|
url(r'^(?P<patientrecord_id>\d+)/update-state$', 'state_form'),
|
26 |
|
|
url(r'^(?P<patientrecord_id>\d+)/address/new$', 'new_patient_address'),
|
27 |
|
|
url(r'^(?P<patientrecord_id>\d+)/address/(?P<pk>\d+)/update$', 'update_patient_address'),
|
28 |
|
|
url(r'^(?P<patientrecord_id>\d+)/address/(?P<pk>\d+)/del$', 'delete_patient_address'),
|
29 |
|
|
url(r'^(?P<patientrecord_id>\d+)/contact/new$', 'new_patient_contact'),
|
30 |
|
|
url(r'^(?P<patientrecord_id>\d+)/contact/(?P<pk>\d+)/update$', 'update_patient_contact'),
|
31 |
|
|
url(r'^(?P<patientrecord_id>\d+)/contact/(?P<pk>\d+)/del$', 'delete_patient_contact'),
|
32 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/new$', 'new_healthcare_treatment'),
|
33 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/(?P<pk>\d+)/update$', 'update_healthcare_treatment'),
|
34 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_treatment/(?P<pk>\d+)/del$', 'delete_healthcare_treatment'),
|
35 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/new$', 'new_healthcare_diagnostic'),
|
36 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/(?P<pk>\d+)/update$', 'update_healthcare_diagnostic'),
|
37 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_diagnostic/(?P<pk>\d+)/del$', 'delete_healthcare_diagnostic'),
|
38 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/new$', 'new_healthcare_notification'),
|
39 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/(?P<pk>\d+)/update$', 'update_healthcare_notification'),
|
40 |
|
|
url(r'^(?P<patientrecord_id>\d+)/healthcare_notification/(?P<pk>\d+)/del$', 'delete_healthcare_notification'),
|
41 |
|
|
url(r'^(?P<patientrecord_id>\d+)/socialisation/new$', 'new_socialisation_duration'),
|
42 |
|
|
url(r'^(?P<patientrecord_id>\d+)/socialisation/(?P<pk>\d+)/update$', 'update_socialisation_duration'),
|
43 |
|
|
url(r'^(?P<patientrecord_id>\d+)/socialisation/(?P<pk>\d+)/del$', 'delete_socialisation_duration'),
|
44 |
|
|
url(r'^(?P<patientrecord_id>\d+)/state/(?P<pk>\d+)/update$', 'update_patient_state'),
|
45 |
|
|
url(r'^(?P<patientrecord_id>\d+)/state/(?P<pk>\d+)/del$', 'delete_patient_state'),
|
46 |
|
|
url(r'^(?P<patientrecord_id>\d+)/mdph_request/new$', 'new_mdph_request'),
|
47 |
|
|
url(r'^(?P<patientrecord_id>\d+)/mdph_request/(?P<pk>\d+)/update$', 'update_mdph_request'),
|
48 |
|
|
url(r'^(?P<patientrecord_id>\d+)/mdph_request/(?P<pk>\d+)/del$', 'delete_mdph_request'),
|
49 |
|
|
url(r'^(?P<patientrecord_id>\d+)/mdph_response/new$', 'new_mdph_response'),
|
50 |
|
|
url(r'^(?P<patientrecord_id>\d+)/mdph_response/(?P<pk>\d+)/update$', 'update_mdph_response'),
|
51 |
|
|
url(r'^(?P<patientrecord_id>\d+)/mdph_response/(?P<pk>\d+)/del$', 'delete_mdph_response'),
|
52 |
|
|
url(r'^(?P<patientrecord_id>\d+)/generate$', 'generate_rtf_form'),
|
53 |
8391a7e9
|
Serghei MIHAI
|
url(r'^(?P<patientrecord_id>\d+)/create-directory$', 'create_directory', name="create_directory"),
|
54 |
aa31cdc8
|
Jérôme Schneider
|
url(r'^(?P<patientrecord_id>\d+)/prescription-transport$', 'prescription_transport'),
|
55 |
|
|
url(r'^(?P<patientrecord_id>\d+)/protection/new$', 'new_protection'),
|
56 |
|
|
url(r'^(?P<patientrecord_id>\d+)/protection/(?P<pk>\d+)/update$', 'update_protection'),
|
57 |
|
|
url(r'^(?P<patientrecord_id>\d+)/protection/(?P<pk>\d+)/del$', 'delete_protection'),)
|